From 8c0f57e6bb44ba8f7a0003abe36a51b591354475 Mon Sep 17 00:00:00 2001 From: Miriam Deng Date: Fri, 19 Jul 2024 15:26:35 +0800 Subject: [PATCH] IPU:add stream installation way for leapp tool ID:2634 Signed-off-by: Miriam Deng --- qemu/tests/cfg/in_place_upgrade.cfg | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/qemu/tests/cfg/in_place_upgrade.cfg b/qemu/tests/cfg/in_place_upgrade.cfg index 37cd967e97..2d77979550 100644 --- a/qemu/tests/cfg/in_place_upgrade.cfg +++ b/qemu/tests/cfg/in_place_upgrade.cfg @@ -31,6 +31,7 @@ stop_yum_update = "rm -rf /var/run/yum.pid" check_repo_list = "yum repolist enabled" check_rhel_ver = "cut -f1-2 -d. /etc/redhat-release | sed 's/[^0-9]//g'" + com_install = "yes" s390,s390x: # no need to check in host, and we don't support RHEL.7.9 as the # host on s390x @@ -51,8 +52,16 @@ # these paramters are for leapp preupgrade and upgrade command variants: - compose_install: - com_install = "yes" com_ins_leapp = "yum install leapp-upgrade -y" + - stream_install: + # Please modify the build if you need to + com_ins_leapp = "brew download-build leapp-0.17.0-2.el8_10;" + com_ins_leapp += "brew download-build leapp-repository-0.20.0-4.el8_10;" + com_ins_leapp += "yum install python3-leapp-0.17.0-2.el8_10.noarch.rpm " + com_ins_leapp += "leapp-0.17.0-2.el8_10.noarch.rpm leapp-deps-0.17.0-2.el8_10.noarch.rpm " + com_ins_leapp += "leapp-upgrade-el8toel9-0.20.0-4.el8_10.noarch.rpm " + com_ins_leapp += "leapp-upgrade-el8toel9-deps-0.20.0-4.el8_10.noarch.rpm " + com_ins_leapp += "snactor-0.17.0-2.el8_10.noarch.rpm -y" - upstream_install: com_install = "no" variants: