git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
410e611
)
- clean yum cache and remove stale rpm locks before exiting
author
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 10 Jul 2006 20:37:28 +0000
(20:37 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 10 Jul 2006 20:37:28 +0000
(20:37 +0000)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
194c747
..
eed21a9
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-128,6
+128,12
@@
EOF
echo "install boot cd base rpms"
yum -c yum.conf --installroot=$CD_ROOT -y groupinstall $BOOTCD_YUM_GROUP
echo "install boot cd base rpms"
yum -c yum.conf --installroot=$CD_ROOT -y groupinstall $BOOTCD_YUM_GROUP
+ # Clean yum cache
+ yum -c yum.conf --installroot=$VROOT -y clean all
+
+ # Remove stale RPM locks
+ rm -f $VROOT/var/lib/rpm/__db*
+
# Retrieve all of the packagereq declarations in the BootCD group of the yumgroups.xml file
echo "checking to make sure rpms were installed"
packages=$(curl $yumgroups | sed -n -e '/<name>BootCD<\/name>/,/<name>/{ s/.*<packagereq.*>\(.*\)<\/packagereq>/\1/p }')
# Retrieve all of the packagereq declarations in the BootCD group of the yumgroups.xml file
echo "checking to make sure rpms were installed"
packages=$(curl $yumgroups | sed -n -e '/<name>BootCD<\/name>/,/<name>/{ s/.*<packagereq.*>\(.*\)<\/packagereq>/\1/p }')