]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix: deprecate gummiboot
authorJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 10 May 2021 16:45:40 +0000 (16:45 +0000)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 11 May 2021 15:13:09 +0000 (17:13 +0200)
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.

dracut.sh
man/dracut.8.asc
man/dracut.conf.5.asc

index ff622dde1692ef2020f57a21158ccf1c66708dce..4b762f180fd4a409bafb83c4ac66eac43a2b46c4 100755 (executable)
--- 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
index dcbfe5976eeec85aebf758a5aaf848ef4e47ab40..515e32db88f02a42f71e4f9f6f8cbc72c23e9e2d 100644 (file)
@@ -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-MACHINE-TYPE-NAME>.efi.stub_
-    or _$prefix/lib/gummiboot/linux<EFI-MACHINE-TYPE-NAME>.efi.stub_
 
 **--uefi-splash-image _<FILE>_**::
     Specifies the UEFI stub loader's splash image. Requires bitmap (**.bmp**) image
index f206f2f7b66841e15c7703fd1f13d5bed392c75e..96d892c84f8a04ebf889b8e8a38d9adc70a9509e 100644 (file)
@@ -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-MACHINE-TYPE-NAME>.efi.stub_
-    or _/usr/lib/gummiboot/linux<EFI-MACHINE-TYPE-NAME>.efi.stub_
 
 *uefi_splash_image=*"_<FILE>_"::
     Specifies the UEFI stub loader's splash image. Requires bitmap (**.bmp**) image format.