>From 4dec86757ac940a3b7daee9825114bb3a661803a Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Tue, 4 Dec 2012 11:27:43 +0200 Subject: [PATCH] 080-loop: fix overlooked unmigrated directory This would result in /init: 7: /init: /lib/success/*: not found after a58ff5edef55e3b4d6cd7e81fae853cdd8a57975 move; the difference between the older and new initrd is like: +/lib/initrd/success/mountfs +/lib/initrd/success/rootfs -/lib/success/rootfs Thanks evg@ for bringing this up again. --- data/lib/initrd/modules/080-loop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/lib/initrd/modules/080-loop b/data/lib/initrd/modules/080-loop index 02a310e..f9d62e9 100755 --- a/data/lib/initrd/modules/080-loop +++ b/data/lib/initrd/modules/080-loop @@ -3,7 +3,7 @@ msg='Processing kernel events...' check() { local f - for f in "/lib/$1"/*; do + for f in "/lib/initrd/$1"/*; do "$f" ${2-} || return 1 [ -n "${2-}" ] || verbose "Check '${f##*/}' success!" done -- 1.7.12.4