tests: restart composer after adding optional reporsitory

b/c live-iso needs grub2-efi-*-cdboot from Optional

Related: rhbz#1770193
This commit is contained in:
Alexander Todorov 2019-11-11 15:17:41 +02:00 committed by Brian C. Lane
parent 64a593a376
commit 0d344e6cae

View File

@ -19,7 +19,8 @@ rlJournalStart
OPTIONAL_REPO="/etc/yum.repos.d/rhel7-rel-eng-optional.repo" OPTIONAL_REPO="/etc/yum.repos.d/rhel7-rel-eng-optional.repo"
if [ ! -f "$OPTIONAL_REPO" ]; then if [ ! -f "$OPTIONAL_REPO" ]; then
cat > $OPTIONAL_REPO << __EOF__ composer_stop
cat > $OPTIONAL_REPO << __EOF__
[rhel7-rel-eng-optional] [rhel7-rel-eng-optional]
gpgcheck=0 gpgcheck=0
enabled=1 enabled=1
@ -27,8 +28,8 @@ skip_if_unavailable=0
name=rhel7-rel-eng-optional name=rhel7-rel-eng-optional
baseurl=http://download-node-02.eng.bos.redhat.com/rhel-7/rel-eng/latest-RHEL-7/compose/Server-optional/\$basearch/os/ baseurl=http://download-node-02.eng.bos.redhat.com/rhel-7/rel-eng/latest-RHEL-7/compose/Server-optional/\$basearch/os/
__EOF__ __EOF__
composer_start
fi fi
rlPhaseEnd rlPhaseEnd
rlPhaseStartTest "compose start" rlPhaseStartTest "compose start"