X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;h=7ecf15a9fafba3f99f19a0918580b94331d7282c;hb=bcf330467280e1ce306062b92565199721e57cff;hp=98d5722a210a743747b8b1507074842744a22e21;hpb=b72ef6b70a9a1b5f6f37fb48a2e1ff62d9f3052b;p=nodeimage.git diff --git a/build.sh b/build.sh index 98d5722..7ecf15a 100755 --- a/build.sh +++ b/build.sh @@ -62,6 +62,8 @@ pkgsfile=$(pl_locateDistroFile ../build/ ${pldistro} bootstrapfs.pkgs) # -k = exclude kernel* packages pl_root_mkfedora -k -f $pkgsfile ${vref} +# for distros that do not define bootstrapfs variants +shopt -s nullglob for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do NAME=$(basename $pkgs .pkgs | sed -e s,bootstrapfs-,,) @@ -96,6 +98,7 @@ for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do done # Disable splaying of cron. + # At this step, vdir is base, and vref is the set of changes that end up in the nodegroup echo > ${vdir}/etc/sysconfig/crontab # Add site_admin account