diff options
author | P. 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) |
commit | b24f857d4dbae41f3ccd2099496b4573ff9a38c5 (patch) | |
tree | 4a34ef3a64a2437f23bed0b88d47cfa2775dc9e0 | |
parent | 06e5b7b37a8de9c1f41c5ca26ed729487e865985 (diff) |
Add /init symbolic link
This is needed when packing ProteanOS in an initramfs.
-rwxr-xr-x | build | 1 | ||||
-rw-r--r-- | busybox.pkg/files | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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; \ diff --git a/busybox.pkg/files b/busybox.pkg/files index b9362d2..5fe59b4 100644 --- a/busybox.pkg/files +++ b/busybox.pkg/files @@ -1,5 +1,6 @@ /bin /etc +/init /sbin /usr /var |