boot_newroot(): fix for absolute init symlink

Open
#3 · Created  · Last updated

Description

If the /sbin/init is absolute symlink (e.g. on Debian with systemd: /sbin/init -> /lib/systemd/systemd) then the check [ -x "/newroot/${init}" ] fails.

With this patch the absolute symlink is resolved.

0 attachments

0 comments

Loading commits...