diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-07 14:47:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-07 14:49:20 +0000 |
commit | 7435e8a2f9d3fa13f078808f04f00d67685395de (patch) | |
tree | b58f261c45ba5dda1ab1628e42efd80bcd6cfc43 /testing/util-vserver/alpine.patch | |
parent | 5ad962dfec7ed2b87a90ac3dd79714db73ab506b (diff) | |
download | aports-7435e8a2f9d3fa13f078808f04f00d67685395de.tar.bz2 aports-7435e8a2f9d3fa13f078808f04f00d67685395de.tar.xz |
testing/util-vserver: build with busybox only
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 00000000..a9914a4b --- /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 |