Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 683770 Details for
Bug 765208
sys-kernel/dracut: Can't find a uefi stub '/lib/systemd/boot/efi/linuxx64.efi.stub' to create a UEFI executable
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix detection of UEFI stub on split-usr systems
0001-Fix-detection-of-UEFI-stub-on-split-usr-systems.patch (text/plain), 1.49 KB, created by
Mike Gilbert
on 2021-01-19 20:25:11 UTC
(
hide
)
Description:
Fix detection of UEFI stub on split-usr systems
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2021-01-19 20:25:11 UTC
Size:
1.49 KB
patch
obsolete
>From dbfdf41b5995d16322bba7392a61eb6304d3e66e Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Tue, 19 Jan 2021 15:17:55 -0500 >Subject: [PATCH] Fix detection of UEFI stub on split-usr systems > >systemd installs the stub in ${prefix}/lib/systemd/boot/efi. >systemdutildir is ${rootprefix}/lib/systemd. > >When prefix != rootprefix, the dracut code failed to find the stub. >This failure is apparent on split-usr systems where rootprefix is empty >and prefix=/usr. > >Bug: https://bugs.gentoo.org/765208 >Signed-off-by: Mike Gilbert <floppym@gentoo.org> >--- > dracut.sh | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/dracut.sh b/dracut.sh >index 0f464839..80619381 100755 >--- a/dracut.sh >+++ b/dracut.sh >@@ -1179,11 +1179,11 @@ 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 >+ for uefi_stub_path in /usr/lib/systemd/boot/efi /usr/lib/gummiboot; do >+ uefi_stub=$dracutsysrootdir$uefi_stub_path/linux${EFI_MACHINE_TYPE_NAME}.efi.stub >+ if [[ -s $uefi_stub ]]; then >+ break >+ fi > done > fi > if ! [[ -s $uefi_stub ]]; then >-- >2.30.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 765208
:
683770
|
862671