From 4ad9d357396c68c7f75b41a4c2c2f1fde262a868 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Wed, 20 Feb 2008 20:29:00 +0000 Subject: [PATCH] Modified to execute config.planetlab/vserver.post scripts to perform final vserver-reference image cleanups. --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index f1a0657..f92857e 100755 --- a/build.sh +++ b/build.sh @@ -92,6 +92,9 @@ systemvserver_count=$(ls ../build/config.${pldistro}/vserver-*.pkgs 2> /dev/null [ -n "$systempackages" ] && yum -c ${vdir}/etc/yum.conf --installroot=${vdir} -y install $systempackages [ -n "$systemgroups" ] && yum -c ${vdir}/etc/yum.conf --installroot=${vdir} -y groupinstall $systemgroups + postfile=$(pl_locateDistroFile ../build/ ${pldistro} vserver.post) + [ "$postfile" != "not-found-by-pl_locateDistroFile" ] && /bin/bash $postfile ${vdir} || : + # Create a copy of the system vserver w/o the vserver reference files and make it smaller. # This is a three step process: -- 2.43.0