From b24f857d4dbae41f3ccd2099496b4573ff9a38c5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 24 Jan 2016 16:26:56 -0500 Subject: Add /init symbolic link This is needed when packing ProteanOS in an initramfs. --- 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; \ 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 -- cgit v0.9.1