X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=blobdiff_plain;f=build.sh;fp=build.sh;h=646a2ec2e6a12c8f3c137d90532c8d6a27a5eaad;hp=e4f4a1eb38c87c233e754e1732e684a22d5ecbe7;hb=18991130cb89580997b7d86d95a1314c9b56ed3d;hpb=460a95b6828a48c7d7b20372ffbb6c20e4e2142d diff --git a/build.sh b/build.sh index e4f4a1e..646a2ec 100755 --- a/build.sh +++ b/build.sh @@ -94,7 +94,11 @@ pkgs_count=$(ls ../build/config.${pldistro}/bootstrapfs-*.pkgs 2> /dev/null | wc # Install the system vserver specific packages [ -n "$packages" ] && yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y install $packages - [ -n "$groups" ] && yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y groupinstall $groups + for group_plus in $groups; do + group=$(echo $group_plus | sed -e "s,+++, ,g") + yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y groupinstall "$group" + done + if [ -f "${vdir}/proc/cpuinfo" ] ; then echo "WARNING: some RPM appears to have mounted /proc in ${NAME}. Unmounting it!"