# glibc must be specified explicitly for the correct arch to be
# chosen.
echo "* Installing glibc"
- yum $yum_options $exclude_arg install glibc
+ # ignore yum's return code that is basically undefined
+ yum $yum_options $exclude_arg install glibc || :
# Go, baby, go
if [ -n "$pkgs_packages" ] ; then
echo "* Installing optional packages" $pkgs_packages
- yum $yum_options $exclude_arg install $pkgs_packages
+ # ignore yum's return code that is basically undefined
+ yum $yum_options $exclude_arg install $pkgs_packages || :
if ! rpm --root $vroot -q $pkgs_packages >/dev/null ; then
echo "* Warning: Missing packages"
rpm --root $vroot -q $pkgs_packages | grep "not installed"
## call yum sequentially to get finer-grained info on dependencies
for grp in $pkgs_groups ; do
echo "* Installing optional group $grp"
- yum $yum_options $exclude_arg groupinstall "$grp"
+ # ignore yum's return code that is basically undefined
+ yum $yum_options $exclude_arg groupinstall "$grp" || :
done
fi
# Clean yum cache
echo "* Cleaning up"
- yum $yum_options clean all
+ # ignore yum's return code that is basically undefined
+ yum $yum_options clean all || :
# Clean RPM state
rm -f $vroot/var/lib/rpm/__db*
[base]
-name=CentOS 5.2 - $basearch - Base
-baseurl=@MIRRORURL@/centos/5.2/os/$basearch/
+name=CentOS 5.3 - $basearch - Base
+baseurl=@MIRRORURL@/centos/5.3/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
[updates]
-name=CentOS 5.2 - $basearch - Released Updates
-baseurl=@MIRRORURL@/centos/5.2/updates/$basearch/
+name=CentOS 5.3 - $basearch - Released Updates
+baseurl=@MIRRORURL@/centos/5.3/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5