From: Thierry Parmentelat Date: Fri, 9 Oct 2009 13:40:34 +0000 (+0000) Subject: can yum install groups (use +++ for space) in bootstrapfs and vserver-reference X-Git-Tag: VserverReference-4.2-14~2 X-Git-Url: http://git.onelab.eu/?p=sliceimage.git;a=commitdiff_plain;h=0e2136c0686aaa3ad1a1d2a5b05942619daee9d4 can yum install groups (use +++ for space) in bootstrapfs and vserver-reference --- diff --git a/build.sh b/build.sh index 9984e7a..569dc47 100755 --- a/build.sh +++ b/build.sh @@ -91,7 +91,10 @@ systemvserver_count=$(ls ../build/config.${pldistro}/vserver-*.pkgs 2> /dev/null # Install the system vserver specific packages [ -n "$systempackages" ] && yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y install $systempackages - [ -n "$systemgroups" ] && yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y groupinstall $systemgroups + for group_plus in $systemgroups; do + group=$(echo $group_plus | sed -e "s,+++, ,g") + yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y groupinstall "$group" + done pkgsdir=$(dirname $pkgsfile) pkgsname=$(basename $pkgsfile .pkgs)