diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-17 01:46:22 -0500 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-17 21:20:45 +0100 |
commit | dde5b6830c7d53591cf7f52f9c433eed65c89f84 (patch) | |
tree | c376de0e4e2e5452a06046a2681170ad6a08ceff /scripts | |
parent | f80fdd2a33aaeffb46bcbe41f8106eb0cb18c5b3 (diff) |
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: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions