mirror of
git://git.openembedded.org/meta-openembedded
synced 2025-12-31 13:38:06 +00:00
dracut: upgrade 108 -> 109
Drop patch that is included in this release. Changelog: https://github.com/dracut-ng/dracut-ng/releases/tag/109 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
37e6936495
commit
991a6a866c
@ -1,33 +0,0 @@
|
|||||||
From b8504fdbc6ac7b49aa0a9671267be8ac7affb2ee Mon Sep 17 00:00:00 2001
|
|
||||||
From: Koen Kooi <koen.kooi@oss.qualcomm.com>
|
|
||||||
Date: Thu, 19 Jun 2025 16:06:14 +0200
|
|
||||||
Subject: [PATCH 1/2] feat: dracut.sh: try $STRIP for $strip_cmd first
|
|
||||||
|
|
||||||
When using dracut in a cross enviroment, like OpenEmbedded, the host
|
|
||||||
provided strip (or eu-strip) won't work, so try using the $STRIP
|
|
||||||
variable from the shell environment first before falling back to path
|
|
||||||
based lookups.
|
|
||||||
|
|
||||||
Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
|
|
||||||
Upstream-Status: Submitted [https://github.com/dracut-ng/dracut-ng/pull/1639]
|
|
||||||
---
|
|
||||||
dracut.sh | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/dracut.sh b/dracut.sh
|
|
||||||
index 45373efb..dbc5cd72 100755
|
|
||||||
--- a/dracut.sh
|
|
||||||
+++ b/dracut.sh
|
|
||||||
@@ -2262,7 +2262,8 @@ done
|
|
||||||
if [[ $do_strip == yes ]]; then
|
|
||||||
# Prefer strip from elfutils for package size
|
|
||||||
declare strip_cmd
|
|
||||||
- strip_cmd=$(command -v eu-strip)
|
|
||||||
+ strip_cmd="${STRIP}"
|
|
||||||
+ [ -z "$strip_cmd" ] && strip_cmd=$(command -v eu-strip)
|
|
||||||
[ -z "$strip_cmd" ] && strip_cmd="strip"
|
|
||||||
|
|
||||||
for p in "$strip_cmd" xargs find; do
|
|
||||||
--
|
|
||||||
2.47.3
|
|
||||||
|
|
||||||
@ -7,10 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
|
|
||||||
PV = "108"
|
SRCREV = "13c5e5feee9ba86b960d351f87aa0eb25f242ff0"
|
||||||
SRCREV = "97c5568ec42abd5e6035f0cfa9d319ae6ae4e50a"
|
SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main;tag=${PV} \
|
||||||
SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main \
|
|
||||||
file://0001-feat-dracut.sh-try-STRIP-for-strip_cmd-first.patch \
|
|
||||||
file://0002-fix-broken-symlink-in-dracut-config-examples.patch \
|
file://0002-fix-broken-symlink-in-dracut-config-examples.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user