git://git.onelab.eu
/
vserver-reference.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
91f86df
)
improved logs of slice image building for system slices wrt yum, pip and gem
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 16 Apr 2014 16:46:19 +0000
(18:46 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 16 Apr 2014 16:46:19 +0000
(18:46 +0200)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
d37dd48
..
eb22041
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-89,9
+89,13
@@
systemslice_count=$(ls ../build/config.${pldistro}/sliceimage-*.pkgs 2> /dev/nul
echo ${slicefamily} > ${vdir}.cloned
# Install the system sliceimage specific packages
echo ${slicefamily} > ${vdir}.cloned
# Install the system sliceimage specific packages
- [ -n "$systempackages" ] && yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y install $systempackages
+ for yum_package in $systempackages; do
+ echo " * yum installing $yum_package"
+ yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y install $yum_package
+ done
for group_plus in $systemgroups; do
group=$(echo $group_plus | sed -e "s,+++, ,g")
for group_plus in $systemgroups; do
group=$(echo $group_plus | sed -e "s,+++, ,g")
+ echo " * yum groupinstalling $group"
yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y groupinstall "$group"
done
yum -c ${vdir}/etc/mkfedora-yum.conf --installroot=${vdir} -y groupinstall "$group"
done
@@
-99,13
+103,15
@@
systemslice_count=$(ls ../build/config.${pldistro}/sliceimage-*.pkgs 2> /dev/nul
# fedora and debian -> python-pip
# on fedora the command is called pip-python (sigh.)
for pip in $systempips; do
# fedora and debian -> python-pip
# on fedora the command is called pip-python (sigh.)
for pip in $systempips; do
- chroot ${vdir} pip -v install $pip || chroot ${vdir} pip-python -v $pip || :
+ echo " * pip installing $pip"
+ chroot ${vdir} pip -v install $pip || chroot ${vdir} pip-python -v $pip || echo " * FAILURE with pip $pip"
done
# same for gems; comes with ruby in fedora but ruby-devel is most likely a good thing
# we add --no-rdoc --no-ri to keep it low
for gem in $systemgems; do
done
# same for gems; comes with ruby in fedora but ruby-devel is most likely a good thing
# we add --no-rdoc --no-ri to keep it low
for gem in $systemgems; do
- chroot ${vdir} gem install --no-rdoc --no-ri $gem || :
+ echo " * gem installing $gem"
+ chroot ${vdir} gem install --no-rdoc --no-ri $gem || echo " * FAILURE with gem $gem"
done
# search e.g. sliceimage-planetflow.post in config.<pldistro> or in config.planetlab otherwise
done
# search e.g. sliceimage-planetflow.post in config.<pldistro> or in config.planetlab otherwise