From: Thierry Parmentelat Date: Fri, 7 Dec 2007 12:31:14 +0000 (+0000) Subject: cleaning up the root creation functions and build.common - untested X-Git-Tag: bootstrapfs-0.1-1~16 X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=commitdiff_plain;h=33dd6c62507b482717fa522dd736a9b80bf595ef cleaning up the root creation functions and build.common - untested --- diff --git a/build.sh b/build.sh index 7b0056b..1326a6b 100755 --- a/build.sh +++ b/build.sh @@ -43,16 +43,16 @@ set -e # would like to pretend that we are. export PL_BOOTCD=1 -# "Parse" out the packages and groups into the options passed to mkfedora -# -k = exclude kernel* packages -pkgsfile=$(pl_locateDistroFile ../build/ ${pldistro} bootstrapfs.pkgs) - echo "+++++++++++++pkgsfile=$pkgsfile (and -k)" # Populate a minimal /dev and then the files for the base PlanetLab-Bootstrap content vref=${PWD}/base install -d -m 755 ${vref} -pl_mkfedora ${vref} -k -f $pkgsfile +pl_root_makedevs $vref + +pkgsfile=$(pl_locateDistroFile ../build/ ${pldistro} bootstrapfs.pkgs) +# -k = exclude kernel* packages +pl_root_mkfedora ${vref} -k -f $pkgsfile for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do NAME=$(basename $pkgs .pkgs | sed -e s,bootstrapfs-,,)