mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 09:51:29 +00:00
Merge pull request #423 from crobinso/initrd-nonroot
initrd-builder: Don't error if run as non-root
This commit is contained in:
commit
0312a60287
@ -70,8 +70,6 @@ OK "init is installed"
|
||||
use AGENT_BIN env variable to change the expected agent binary name"
|
||||
OK "Agent is installed"
|
||||
|
||||
[ "$(id -u)" -eq 0 ] || die "$0: must be run as root"
|
||||
|
||||
# initramfs expects /init
|
||||
ln -sf /sbin/init "${ROOTFS}/init"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user