From: Jóhann B. Guðmundsson Date: Mon, 10 May 2021 16:45:40 +0000 (+0000) Subject: fix: deprecate gummiboot X-Git-Tag: 054~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c94cf41e8937b6fbb72c96bc54c84fdf224c711;p=thirdparty%2Fdracut.git fix: deprecate gummiboot Gummiboot was merged into systemd and official became systemd-boot in 2015 ( 6 years ago ) and no longer was being maintained as Gummiboot from that point. It's safe to say distribution should have migrated to sd-boot by now so let's deprecate it. --- diff --git a/dracut.sh b/dracut.sh index ff622dde1..4b762f180 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1338,13 +1338,9 @@ if [[ ! $print_cmdline ]]; then esac if ! [[ -s $uefi_stub ]]; then - for uefi_stub in \ - "$dracutsysrootdir${systemdutildir}/boot/efi/linux${EFI_MACHINE_TYPE_NAME}.efi.stub" \ - "$dracutsysrootdir/usr/lib/gummiboot/linux${EFI_MACHINE_TYPE_NAME}.efi.stub"; do - [[ -s $uefi_stub ]] || continue - break - done + uefi_stub="$dracutsysrootdir${systemdutildir}/boot/efi/linux${EFI_MACHINE_TYPE_NAME}.efi.stub" fi + if ! [[ -s $uefi_stub ]]; then dfatal "Can't find a uefi stub '$uefi_stub' to create a UEFI executable" exit 1 diff --git a/man/dracut.8.asc b/man/dracut.8.asc index dcbfe5976..515e32db8 100644 --- a/man/dracut.8.asc +++ b/man/dracut.8.asc @@ -521,7 +521,6 @@ will not be able to boot. Specifies the UEFI stub loader, which will load the attached kernel, initramfs and kernel command line and boots the kernel. The default is _$prefix/lib/systemd/boot/efi/linux.efi.stub_ - or _$prefix/lib/gummiboot/linux.efi.stub_ **--uefi-splash-image __**:: Specifies the UEFI stub loader's splash image. Requires bitmap (**.bmp**) image diff --git a/man/dracut.conf.5.asc b/man/dracut.conf.5.asc index f206f2f7b..96d892c84 100644 --- a/man/dracut.conf.5.asc +++ b/man/dracut.conf.5.asc @@ -204,7 +204,6 @@ provide a valid _/etc/fstab_. Specifies the UEFI stub loader, which will load the attached kernel, initramfs and kernel command line and boots the kernel. The default is _/lib/systemd/boot/efi/linux.efi.stub_ - or _/usr/lib/gummiboot/linux.efi.stub_ *uefi_splash_image=*"__":: Specifies the UEFI stub loader's splash image. Requires bitmap (**.bmp**) image format.