Obviously we have to test if it's executable with the PATH to NEWROOT. --- modules.d/99base/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh index b8736ec..b20abc4 100755 --- a/modules.d/99base/init.sh +++ b/modules.d/99base/init.sh @@ -237,7 +237,7 @@ for i in "$(getarg real_init=)" "$(getarg init=)" $(getargs rd.distroinit=) /sbi [ -n "$i" ] || continue __p=$(readlink -f "${NEWROOT}/${i}") - if [ -x "$__p" ]; then + if [ -x "$__p" -o -x "${NEWROOT}/${__p}" ]; then INIT="$i" break fi -- 1.7.10.2 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html