summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-24 16:26:56 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-24 16:26:56 (EST)
commitb24f857d4dbae41f3ccd2099496b4573ff9a38c5 (patch)
tree4a34ef3a64a2437f23bed0b88d47cfa2775dc9e0 /build
parent06e5b7b37a8de9c1f41c5ca26ed729487e865985 (diff)
Add /init symbolic link
This is needed when packing ProteanOS in an initramfs.
Diffstat (limited to 'build')
-rwxr-xr-xbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/build b/build
index 734a431..a41ce87 100755
--- a/build
+++ b/build
@@ -46,6 +46,7 @@ install: build
set -e; $(config_enabled); $(install_init_script); \
if config_enabled INIT; then \
exec 3>dest/usr/share/busybox/init-scripts; \
+ ln -sf /sbin/init dest/init; \
install -d -m 0755 dest/etc; \
install -p -m 0644 inittab dest/etc/inittab; \
install -d -m 0755 dest/etc/init.d dest/etc/rc.d; \