From 7435e8a2f9d3fa13f078808f04f00d67685395de Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 7 Oct 2009 14:47:35 +0000 Subject: testing/util-vserver: build with busybox only --- testing/util-vserver/alpine.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testing/util-vserver/alpine.patch (limited to 'testing/util-vserver/alpine.patch') 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 -- cgit v1.2.3