Go to file
Javier Martinez Canillas 6cdfe45ece
grubby-bls: print the absolute kernel and initramfs images paths
The BLS file "linux" and "initrd" fields expect a relative paths from the
root of the partition that contains the kernel and initramfs. The grubby
tool was printing the value of thse fields and not their full path.

So if there is a partition and /boot is a mount point, he BLS would have:

linux /vmlinuz-4.18.0-38.el8.x86_64
initrd /initramfs-4.18.0-38.el8.x86_64.img

And grubby would print:

kernel="/vmlinuz-4.18.0-38.el8.x86_64"
initrd="/initramfs-4.18.0-38.el8.x86_64.img"

But the old tool used to print the full paths of the images, so should be:

kernel="/boot/vmlinuz-4.18.0-38.el8.x86_64"
initrd="/boot/initramfs-4.18.0-38.el8.x86_64.img"

Resolves: rhbz#1649778

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-11-21 10:45:26 +01:00
.gitignore Provide the correct installkenrel and grubby-bls packaging for blscfg 2018-10-23 14:29:29 +02:00
0001-remove-the-old-crufty-u-boot-support.patch Rename patches 2018-10-23 15:21:35 +02:00
0002-Change-return-type-in-getRootSpecifier.patch Rename patches 2018-10-23 15:21:35 +02:00
0003-Add-btrfs-subvolume-support-for-grub2.patch Rename patches 2018-10-23 15:21:35 +02:00
0004-Add-tests-for-btrfs-support.patch Rename patches 2018-10-23 15:21:35 +02:00
0005-Use-system-LDFLAGS.patch Rename patches 2018-10-23 15:21:35 +02:00
0006-Honor-sbindir.patch Rename patches 2018-10-23 15:21:35 +02:00
0007-Make-installkernel-to-use-kernel-install-scripts-on-.patch Rename patches 2018-10-23 15:21:35 +02:00
0008-Add-usr-libexec-rpm-sort.patch Make grubby-bls sort everything correctly, including spaces. 2018-10-23 15:49:19 +02:00
grubby-bls grubby-bls: print the absolute kernel and initramfs images paths 2018-11-21 10:45:26 +01:00
grubby.in Make this like the f28 package. 2018-07-18 13:54:22 -04:00
grubby.spec Switch to a BLS configuration on %%post 2018-11-13 00:39:31 +01:00
installkernel-bls installkernel-bls: remove unnecessary check for GRUB_ENABLE_BLSCFG=true 2018-11-21 10:43:48 +01:00
installkernel.in Make installkernel to use kernel-install scripts on BLS configuration 2018-08-11 21:33:16 +02:00
sources Cleanup deps for new grub2 packaging. 2017-09-12 09:21:37 -04:00