From 35d0b662dc67c61330d53cc5b4f7b3d20c224167 Mon Sep 17 00:00:00 2001 From: Li Ping <1477412247@qq.com> Date: Sat, 29 Jun 2024 10:04:19 +0800 Subject: [PATCH] fix no match error --- config/rpm.list | 1 - scripts/install_rpms.sh | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/rpm.list b/config/rpm.list index 6f2ea3d..d8ea542 100644 --- a/config/rpm.list +++ b/config/rpm.list @@ -296,7 +296,6 @@ fio ipmitool libaio-devel numactl-devel -openeuler-ros gtkwave iverilog hyper-mpi diff --git a/scripts/install_rpms.sh b/scripts/install_rpms.sh index 8edac9c..f2e8add 100755 --- a/scripts/install_rpms.sh +++ b/scripts/install_rpms.sh @@ -61,6 +61,7 @@ function install_url_rpms() function install_list_rpms() { local list_rpms=$(cat $1 | tr '\n' ' ') + yum --releasever ${RELEASEVER} --forcearch ${ARCH} --installroot=${ROOTFS}/ install openeuler-ros -y -c "${YUM_CONF}" yum --releasever ${RELEASEVER} --forcearch ${ARCH} --installroot=${ROOTFS}/ install $list_rpms -y -c "${YUM_CONF}" } @@ -69,4 +70,4 @@ function install_apps() for file in ${APPS_DIR}/*.rpm; do localinstall_package ${APPS_DIR} "$(basename $file)" done -} \ No newline at end of file +} -- Gitee