fedorize_image: also update *all* packages
This commit is contained in:
parent
85c4154a62
commit
25843586c9
@ -51,6 +51,7 @@ mount -t proc proc mnt/proc
|
|||||||
PKGGROUPS=$(cat $PKGLISTFILE)
|
PKGGROUPS=$(cat $PKGLISTFILE)
|
||||||
echo "-> Installing package groups..."
|
echo "-> Installing package groups..."
|
||||||
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR $PKGGROUPS || RETCODE=1
|
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR $PKGGROUPS || RETCODE=1
|
||||||
|
yum update -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR || RETCODE=1
|
||||||
|
|
||||||
umount mnt/proc mnt
|
umount mnt/proc mnt
|
||||||
|
|
||||||
|
1
yum.conf
1
yum.conf
@ -9,6 +9,7 @@ gpgcheck=1
|
|||||||
plugins=1
|
plugins=1
|
||||||
installonly_limit=3
|
installonly_limit=3
|
||||||
color=never
|
color=never
|
||||||
|
exclude=kernel
|
||||||
|
|
||||||
# This is the default, if you make this bigger yum won't see if the metadata
|
# This is the default, if you make this bigger yum won't see if the metadata
|
||||||
# is newer on the remote and so you'll "gain" the bandwidth of not having to
|
# is newer on the remote and so you'll "gain" the bandwidth of not having to
|
||||||
|
Loading…
Reference in New Issue
Block a user