diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-25 13:47:20 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-25 07:53:23 -0800 |
| commit | 991a6a866cdaa24fbb87cc9db25ab042bac4436f (patch) | |
| tree | bbecb97302a10321731c95da44d4db3052be45b8 | |
| parent | 37e6936495345074e156b17b64293af70032e100 (diff) | |
| download | meta-openembedded-991a6a866cdaa24fbb87cc9db25ab042bac4436f.tar.gz | |
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>
| -rw-r--r-- | meta-initramfs/recipes-devtools/dracut/dracut/0001-feat-dracut.sh-try-STRIP-for-strip_cmd-first.patch | 33 | ||||
| -rw-r--r-- | meta-initramfs/recipes-devtools/dracut/dracut_109.bb (renamed from meta-initramfs/recipes-devtools/dracut/dracut_108.bb) | 6 |
2 files changed, 2 insertions, 37 deletions
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut/0001-feat-dracut.sh-try-STRIP-for-strip_cmd-first.patch b/meta-initramfs/recipes-devtools/dracut/dracut/0001-feat-dracut.sh-try-STRIP-for-strip_cmd-first.patch deleted file mode 100644 index 00d75ccff6..0000000000 --- a/meta-initramfs/recipes-devtools/dracut/dracut/0001-feat-dracut.sh-try-STRIP-for-strip_cmd-first.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From b8504fdbc6ac7b49aa0a9671267be8ac7affb2ee Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen.kooi@oss.qualcomm.com> | ||
| 3 | Date: Thu, 19 Jun 2025 16:06:14 +0200 | ||
| 4 | Subject: [PATCH 1/2] feat: dracut.sh: try $STRIP for $strip_cmd first | ||
| 5 | |||
| 6 | When using dracut in a cross enviroment, like OpenEmbedded, the host | ||
| 7 | provided strip (or eu-strip) won't work, so try using the $STRIP | ||
| 8 | variable from the shell environment first before falling back to path | ||
| 9 | based lookups. | ||
| 10 | |||
| 11 | Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com> | ||
| 12 | Upstream-Status: Submitted [https://github.com/dracut-ng/dracut-ng/pull/1639] | ||
| 13 | --- | ||
| 14 | dracut.sh | 3 ++- | ||
| 15 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/dracut.sh b/dracut.sh | ||
| 18 | index 45373efb..dbc5cd72 100755 | ||
| 19 | --- a/dracut.sh | ||
| 20 | +++ b/dracut.sh | ||
| 21 | @@ -2262,7 +2262,8 @@ done | ||
| 22 | if [[ $do_strip == yes ]]; then | ||
| 23 | # Prefer strip from elfutils for package size | ||
| 24 | declare strip_cmd | ||
| 25 | - strip_cmd=$(command -v eu-strip) | ||
| 26 | + strip_cmd="${STRIP}" | ||
| 27 | + [ -z "$strip_cmd" ] && strip_cmd=$(command -v eu-strip) | ||
| 28 | [ -z "$strip_cmd" ] && strip_cmd="strip" | ||
| 29 | |||
| 30 | for p in "$strip_cmd" xargs find; do | ||
| 31 | -- | ||
| 32 | 2.47.3 | ||
| 33 | |||
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_108.bb b/meta-initramfs/recipes-devtools/dracut/dracut_109.bb index 276f301daf..ee6dce4576 100644 --- a/meta-initramfs/recipes-devtools/dracut/dracut_108.bb +++ b/meta-initramfs/recipes-devtools/dracut/dracut_109.bb | |||
| @@ -7,10 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
| 7 | 7 | ||
| 8 | PE = "1" | 8 | PE = "1" |
| 9 | 9 | ||
| 10 | PV = "108" | 10 | SRCREV = "13c5e5feee9ba86b960d351f87aa0eb25f242ff0" |
| 11 | SRCREV = "97c5568ec42abd5e6035f0cfa9d319ae6ae4e50a" | 11 | SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main;tag=${PV} \ |
| 12 | SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main \ | ||
| 13 | file://0001-feat-dracut.sh-try-STRIP-for-strip_cmd-first.patch \ | ||
| 14 | file://0002-fix-broken-symlink-in-dracut-config-examples.patch \ | 12 | file://0002-fix-broken-symlink-in-dracut-config-examples.patch \ |
| 15 | " | 13 | " |
| 16 | 14 | ||
