git://git.onelab.eu
/
bootstrapfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4cbee8c
)
minor cleanup
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 12 Nov 2007 14:42:33 +0000
(14:42 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 12 Nov 2007 14:42:33 +0000
(14:42 +0000)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
ce7faab
..
4ccb8f3
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-42,8
+42,9
@@
export PL_BOOTCD=1
# "Parse" out the packages and groups into the options passed to mkfedora
# -k = exclude kernel* packages
options="-k"
# "Parse" out the packages and groups into the options passed to mkfedora
# -k = exclude kernel* packages
options="-k"
-packages=$(pl_getPackages base.lst)
-groups=$(pl_getGroups base.lst)
+lst="base.lst"
+packages=$(pl_getPackages $lst)
+groups=$(pl_getGroups $lst)
for package in ${packages} ; do options="$options -p $package"; done
for group in ${groups} ; do options="$options -g $group"; done
for package in ${packages} ; do options="$options -p $package"; done
for group in ${groups} ; do options="$options -g $group"; done
@@
-54,14
+55,14
@@
vref=${PWD}/base
install -d -m 755 ${vref}
pl_mkfedora ${vref} ${options}
install -d -m 755 ${vref}
pl_mkfedora ${vref} ${options}
-for
bootstrapfs
in bootstrap-filesystems/*.lst ; do
- NAME=$(basename $
bootstrapfs
.lst)
+for
lst
in bootstrap-filesystems/*.lst ; do
+ NAME=$(basename $
lst
.lst)
echo "--------START BUILDING PlanetLab-Bootstrap-${NAME}: $(date)"
# "Parse" out the packages and groups for yum
echo "--------START BUILDING PlanetLab-Bootstrap-${NAME}: $(date)"
# "Parse" out the packages and groups for yum
- packages=$(pl_getPackages $
bootstrapfs
)
- groups=$(pl_getGroups $
bootstrapfs
)
+ packages=$(pl_getPackages $
lst
)
+ groups=$(pl_getGroups $
lst
)
echo "${NAME} has the following packages and groups: ${packages} ${groups}"
vdir=${PWD}/bootstrap-filesystems/${NAME}
echo "${NAME} has the following packages and groups: ${packages} ${groups}"
vdir=${PWD}/bootstrap-filesystems/${NAME}