Skip to content
Commit dde5b683 authored by Mike Frysinger's avatar Mike Frysinger Committed by Peter Korsgaard
Browse files

initramfs: fix init symlink creation



The -e test will dereference the symlink, so if there is no /bin/init,
we will constantly try to create the symlink.  So rather than error on
subsequent runs when the link exists, use the force flag to ln.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent f80fdd2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment