diff options
Diffstat (limited to 'testing/util-vserver/alpine.patch')
-rw-r--r-- | testing/util-vserver/alpine.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/util-vserver/alpine.patch b/testing/util-vserver/alpine.patch new file mode 100644 index 000000000..a9914a4b8 --- /dev/null +++ b/testing/util-vserver/alpine.patch @@ -0,0 +1,21 @@ +diff -ru a/distrib/alpine/initpost b/distrib/alpine/initpost +--- a/distrib/alpine/initpost 2009-10-02 18:36:00.000000000 +0000 ++++ b/distrib/alpine/initpost 2009-10-02 18:42:35.000000000 +0000 +@@ -24,7 +24,7 @@ + cd "$vdir" + + echo ">>> Creating missing dirs..." +-$_CHROOT_SH mkdir proc sys dev home etc etc/rcL.d etc/rcK.d 2>/dev/null ++$_CHROOT_SH mkdir -p proc sys dev home etc 2>/dev/null + + # remove mtab which is a link + if test -e "$vdir/etc/mtab"; then +@@ -37,7 +37,7 @@ + $_VSERVER "$vserver" stop &>/dev/null || true + $_VSERVER "$vserver" start --rescue --rescue-init /bin/busybox sh -c ' + /bin/busybox --install -s +- /sbin/rc_add -s 20 -k syslog ++ /sbin/rc-update add syslog boot + ' + + # set up hostname |