X-Git-Url: http://git.onelab.eu/?p=sliceimage.git;a=blobdiff_plain;f=build.sh;h=f92857e104f398ac52b2c4582d5d3430cae1f7a9;hp=f1a0657d2af11971ff730fa7757092c7e1c90371;hb=4ad9d357396c68c7f75b41a4c2c2f1fde262a868;hpb=1b7d5adb6235a39114c383dc0a004594139e1dc1 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: