vm/dom0-update: suppress annoying yum warning (#437)

This is workaround of yum bug: when --installroot given its also set different
config path (inside this install root), but then issue warning because implicit
config path is different than explicit --config option (which was empty).
This commit is contained in:
Marek Marczykowski 2012-02-14 21:08:48 +01:00
parent 05e89d82fb
commit c759dcfe15

View File

@ -6,7 +6,7 @@ DOIT=0
GUI=1
CLEAN=0
CHECK_ONLY=0
OPTS="--installroot $DOM0_UPDATES_DIR"
OPTS="--installroot $DOM0_UPDATES_DIR --config=$DOM0_UPDATES_DIR/etc/yum.conf"
PKGLIST=
while [ -n "$1" ]; do
case "$1" in