[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Pvgrub with lz4 compressed kernels
On Thu, May 07, 2020 at 10:51:54PM +0000, Andy Smith wrote: > Do you know a way to detect only LZ4 kernel images? That way this > technique could be used for only LZ4, as every other compression > method works fine at the moment. You can of course just use the pattern from extract-vmlinux to check an image file: lz4match=$(printf '\002!L\030') grep -aq "$lz4match" /boot/vmlinuz-5.4.0-29-generic && echo "At least one LZ4 header found" Cheers, Andy
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |