summaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2011-04-21 03:17:48 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-04-21 03:33:11 +0200
commited268a1f2eb2dd70f0372144a692d22cf1f995ac (patch)
treeea560569175757223dc9bd6da0c706831a731587 /debian/postinst
parenta4dfb7038dd60a271d6b44672ed0f0dc77e217a8 (diff)
downloadautopatch-util-vserver-0.2.tar.gz
autopatch-util-vserver-0.2.tar.bz2
autopatch-util-vserver-0.2.zip
added script to support vserver ... exec for vserver with an own partitionHEADv0.2master
to support vserver ... exec for vserver with an own partition, the namespace is entered early during execution to find files in the vserver
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index f523649..6e2e6d0 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -21,6 +21,7 @@ test "$1" = "configure" -o "$1" = "triggered" && test -r /usr/sbin/vserver && {
mkdir -p /var/lib/autopatch-util-vserver/backup/
cp -a /usr/sbin/vserver /var/lib/autopatch-util-vserver/backup/vserver
patch -f -r - -p 0 < /usr/share/autopatch-util-vserver/vserver-teardown.patch
+ patch -f -r - -p 0 < /usr/share/autopatch-util-vserver/enable-exec-in-new-partition.patch
}
# dh_installdeb will replace this with shell code automatically