summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-11 04:04:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-11 04:04:15 +0100
commit61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (patch)
treefd4966f3b19ef9b18ed5024d7e2f48ef73eb2fee /eclass
parent3aae425b3c39d02e2dc917db0fae8c225c158ca1 (diff)
gentoo auto-resync : 11:10:2024 - 04:04:14
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39050 -> 39052 bytes
-rw-r--r--eclass/kernel-install.eclass5
2 files changed, 4 insertions, 1 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index b548a1c221a9..de0c6f32e652 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
index c5f218a46b91..29abb9b419e6 100644
--- a/eclass/kernel-install.eclass
+++ b/eclass/kernel-install.eclass
@@ -650,7 +650,10 @@ kernel-install_extract_from_uki() {
local uki=${2}
local out=${3}
- $(tc-getOBJCOPY) "${uki}" --dump-section ".${extract_type}=${out}" ||
+ # objcopy overwrites input if there is no output, dump the output in T.
+ # We unfortunately cannot use /dev/null here
+ $(tc-getOBJCOPY) "${uki}" "${T}/dump.efi" \
+ --dump-section ".${extract_type}=${out}" ||
die "Failed to extract ${extract_type}"
chmod 644 "${out}" || die
}