diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2011-04-21 03:17:48 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-04-21 03:33:11 +0200 |
commit | ed268a1f2eb2dd70f0372144a692d22cf1f995ac (patch) | |
tree | ea560569175757223dc9bd6da0c706831a731587 /debian/postinst | |
parent | a4dfb7038dd60a271d6b44672ed0f0dc77e217a8 (diff) | |
download | autopatch-util-vserver-ed268a1f2eb2dd70f0372144a692d22cf1f995ac.tar.gz autopatch-util-vserver-ed268a1f2eb2dd70f0372144a692d22cf1f995ac.tar.bz2 autopatch-util-vserver-ed268a1f2eb2dd70f0372144a692d22cf1f995ac.zip |
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/postinst | 1 |
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 |