mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
sys-kernel/dracut: disable opportunistic ukify
Closes: https://bugs.gentoo.org/961529 Closes: https://bugs.gentoo.org/961525 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
@@ -107,6 +107,8 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-108-respect-objcopy-and-objdump.patch
|
||||
# https://github.com/dracut-ng/dracut-ng/pull/1538
|
||||
"${FILESDIR}"/${PN}-108-elf-parsing-fixes.patch
|
||||
# https://github.com/dracut-ng/dracut-ng/pull/1122#issuecomment-3192110686
|
||||
"${FILESDIR}"/${PN}-108-disable-ukify-magic.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
13
sys-kernel/dracut/files/dracut-108-disable-ukify-magic.patch
Normal file
13
sys-kernel/dracut/files/dracut-108-disable-ukify-magic.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/dracut.sh b/dracut.sh
|
||||
index e6d2d9f25..792ab3d34 100755
|
||||
--- a/dracut.sh
|
||||
+++ b/dracut.sh
|
||||
@@ -2732,7 +2732,7 @@ if [[ $uefi == yes ]]; then
|
||||
cp "$uefi_stub" "$tmp_uefi_stub"
|
||||
"${OBJCOPY:-objcopy}" --remove-section .sbat "$tmp_uefi_stub" &> /dev/null
|
||||
|
||||
- if command -v ukify &> /dev/null; then
|
||||
+ if false; then
|
||||
dinfo "*** Using ukify to create UKI ***"
|
||||
if ukify build \
|
||||
--linux "$kernel_image" \
|
||||
Reference in New Issue
Block a user