diff --git a/package/dracut/0001-fix-functions-prevent-find_binary-from-dropping-last.patch b/package/dracut/0001-fix-functions-prevent-find_binary-from-dropping-last.patch deleted file mode 100644 index ad312d0b85..0000000000 --- a/package/dracut/0001-fix-functions-prevent-find_binary-from-dropping-last.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 94c4274e32467235fb580a27ea182169f253ca5f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mat=C3=A9o=20Pourrier?= -Date: Tue, 28 Apr 2026 17:23:23 +0200 -Subject: [PATCH] fix(functions): prevent find_binary from dropping last PATH - element -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -When `read` encounters EOF before the delimiter, it returns a non-zero -exit status, causing the while loop to terminate immediately. As a result, -if the PATH string doesn't end with a colon, the very last directory in -PATH is ignored by find_binary(). - -This caused regressions on split-usr architectures where critical -binaries reside exclusively in /bin, and /bin happens to be -appended at the very end of the PATH by dracut.sh. - -Appending a virtual colon to the Here-String ensures the loop processes -all directories correctly. - -Fixes dracut-ng issue #1467 : https://github.com/dracut-ng/dracut-ng/issues/1467 - -Upstream: https://github.com/dracut-ng/dracut-ng/pull/2416 -Signed-off-by: Matéo Pourrier ---- - dracut-functions.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/dracut-functions.sh b/dracut-functions.sh -index f430a28e..5046f45e 100755 ---- a/dracut-functions.sh -+++ b/dracut-functions.sh -@@ -94,7 +94,7 @@ find_binary() { - printf "%s\n" "${_path}" - return 0 - fi -- done <<< "$PATH" -+ done <<< "${PATH}:" - - [[ -n ${dracutsysrootdir-} ]] && return 1 - type -P "${1##*/}" --- -2.34.1 - diff --git a/package/dracut/dracut.hash b/package/dracut/dracut.hash index 3288ed6ad4..1b5b3dce55 100644 --- a/package/dracut/dracut.hash +++ b/package/dracut/dracut.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 0d357853f8cf2371d89a8ebcbbb1fd2c1c85a79d8866925fd7385eaeb20a27dc dracut-110.tar.gz +sha256 ca949190692e91611ef16ea3642c0f764f63948860f3f742524310728c991493 dracut-111.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/dracut/dracut.mk b/package/dracut/dracut.mk index b40f618fe8..3a1c1567e8 100644 --- a/package/dracut/dracut.mk +++ b/package/dracut/dracut.mk @@ -4,7 +4,7 @@ # ################################################################################ -DRACUT_VERSION = 110 +DRACUT_VERSION = 111 DRACUT_SITE = $(call github,dracut-ng,dracut-ng,$(DRACUT_VERSION)) DRACUT_LICENSE = GPL-2.0 DRACUT_LICENSE_FILES = COPYING