git://git.onelab.eu
/
nodeimage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wrong argument passing to pl_root_mkfedora & more strict checking
[nodeimage.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index
7b0056b
..
1d3da79
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-43,16
+43,16
@@
set -e
# would like to pretend that we are.
export PL_BOOTCD=1
# 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}
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 -k -f $pkgsfile ${vref}
for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
NAME=$(basename $pkgs .pkgs | sed -e s,bootstrapfs-,,)
for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
NAME=$(basename $pkgs .pkgs | sed -e s,bootstrapfs-,,)