From: Stephen Soltesz Date: Wed, 20 Feb 2008 20:29:00 +0000 (+0000) Subject: Modified to execute config.planetlab/vserver.post scripts to perform final X-Git-Tag: VserverReference-4.2-3~13 X-Git-Url: http://git.onelab.eu/?p=sliceimage.git;a=commitdiff_plain;h=4ad9d357396c68c7f75b41a4c2c2f1fde262a868 Modified to execute config.planetlab/vserver.post scripts to perform final vserver-reference image cleanups. --- 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: