package/dracut: bump version to 111

https://github.com/dracut-ng/dracut/blob/111/NEWS.md

Removed patch which is included in this release.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-07-08 21:53:57 +02:00
committed by Julien Olivain
parent 1d257e242c
commit c6fa81a18c
3 changed files with 2 additions and 47 deletions

View File

@@ -1,45 +0,0 @@
From 94c4274e32467235fb580a27ea182169f253ca5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C3=A9o=20Pourrier?= <mateo.pourrier@smile.fr>
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 <mateo.pourrier@smile.fr>
---
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

View File

@@ -1,3 +1,3 @@
# Locally computed # Locally computed
sha256 0d357853f8cf2371d89a8ebcbbb1fd2c1c85a79d8866925fd7385eaeb20a27dc dracut-110.tar.gz sha256 ca949190692e91611ef16ea3642c0f764f63948860f3f742524310728c991493 dracut-111.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING

View File

@@ -4,7 +4,7 @@
# #
################################################################################ ################################################################################
DRACUT_VERSION = 110 DRACUT_VERSION = 111
DRACUT_SITE = $(call github,dracut-ng,dracut-ng,$(DRACUT_VERSION)) DRACUT_SITE = $(call github,dracut-ng,dracut-ng,$(DRACUT_VERSION))
DRACUT_LICENSE = GPL-2.0 DRACUT_LICENSE = GPL-2.0
DRACUT_LICENSE_FILES = COPYING DRACUT_LICENSE_FILES = COPYING