aboutsummaryrefslogtreecommitdiffstats
path: root/testing/util-vserver/alpine.patch
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-10-08 20:02:19 +0000
committerMichael Mason <ms13sp@gmail.com>2009-10-08 20:02:19 +0000
commita3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b (patch)
tree4b83cccd2b7c1723f4571e2033ab33c13d638776 /testing/util-vserver/alpine.patch
parent87283e2153e3ffbbbd2375cc300674e9fc2ea424 (diff)
parent0e73bc9f5f2c536807b52ad12ff70cb03cd9e7bf (diff)
downloadaports-a3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b.tar.bz2
aports-a3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/util-vserver/alpine.patch')
-rw-r--r--testing/util-vserver/alpine.patch21
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 0000000000..a9914a4b84
--- /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