From a1f6f60a648177091dc68af0f0dccce878ad739c Mon Sep 17 00:00:00 2001 From: miao_kaibo Date: Mon, 31 May 2021 15:16:20 +0800 Subject: [PATCH] update for installing rpm --- script/step/make_hmi.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/script/step/make_hmi.sh b/script/step/make_hmi.sh index b245d86..d9d2ff8 100644 --- a/script/step/make_hmi.sh +++ b/script/step/make_hmi.sh @@ -17,11 +17,7 @@ function make_hmi_inchroot() HMI_REPOS=$(echo "${OBS_STANDARD_REPO_URL}") #HMI_REPOS=$(echo "${OBS_STANDARD_REPO_URL}" | sed 's/ / -r /g') yum -c "${BUILD_SCRIPT_DIR}"/config/repo_conf/obs-repo.conf clean all - if [ "${ARCH}" = "aarch64" ];then - yum install -y CreateImage sudo parted dosfstools e2fsprogs -c "${BUILD_SCRIPT_DIR}"/config/repo_conf/obs-repo.conf - else - yum install -y CreateImage sudo parted -c "${BUILD_SCRIPT_DIR}"/config/repo_conf/obs-repo.conf - fi + yum install -y CreateImage sudo parted dosfstools e2fsprogs -c "${BUILD_SCRIPT_DIR}"/config/repo_conf/obs-repo.conf pushd "${RESULT_HMI}" set +e chmod 755 /usr/bin/create-image -- Gitee