From 3c6263f4719bf380156c4fdc0795a7ae975a2d6f Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 4 Oct 2006 16:35:26 +0000 Subject: [PATCH] We can't remove dev/* if we're not in the guest's root. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2350 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vserver-build.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vserver-build.template b/scripts/vserver-build.template index b56a3e4..823390b 100644 --- a/scripts/vserver-build.template +++ b/scripts/vserver-build.template @@ -87,12 +87,12 @@ for t in "${TEMPLATE[@]}"; do $DECOMPRESS "$t" | $EXTRACT done -popd &> /dev/null test -z "$no_dev_sanity" || { rm -rf dev/* populateDev } +popd &> /dev/null test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" -- 1.8.1.5