2022-11-22 17:04:08 +08:00
|
|
|
From f59ebdd0f2e8927dbb4662769ee99e3384e6e7ca Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: xyn-coder <xiangyuning@huawei.com>
|
|
|
|
|
Date: Tue, 22 Nov 2022 16:01:13 +0800
|
2021-10-14 09:24:00 +08:00
|
|
|
Subject: [PATCH] bugfix I3OGUT
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
isomaker/img_repo.sh | 7 ++++++-
|
|
|
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/isomaker/img_repo.sh b/isomaker/img_repo.sh
|
2022-11-22 17:04:08 +08:00
|
|
|
index 3335183..eaf5c70 100755
|
2021-10-14 09:24:00 +08:00
|
|
|
--- a/isomaker/img_repo.sh
|
|
|
|
|
+++ b/isomaker/img_repo.sh
|
2022-11-22 17:04:08 +08:00
|
|
|
@@ -31,7 +31,12 @@ function create_install_img()
|
2021-10-14 09:24:00 +08:00
|
|
|
|
|
|
|
|
echo "${tmprep}" > yumrepo.file
|
2022-11-22 17:04:08 +08:00
|
|
|
set +e
|
2021-10-14 09:24:00 +08:00
|
|
|
- lorax --isfinal -p "${PRODUCT}" -v "${VERSION}${RELEASE}" -r "${RELEASE}" -t "${VARIANT}" --sharedir 80-openeuler --rootfs-size=4 --buildarch="$ARCH" $(cat yumrepo.file) --nomacboot --noupgrade "${BUILD}"/iso > lorax.logfile 2>&1
|
|
|
|
|
+ if [ -n "${RELEASE}" ];then
|
|
|
|
|
+ vertmp="${VERSION}-${RELEASE}"
|
|
|
|
|
+ else
|
|
|
|
|
+ vertmp=${VERSION}
|
|
|
|
|
+ fi
|
|
|
|
|
+ lorax --isfinal -p "${PRODUCT}" -v "${vertmp}" -r "${RELEASE}" -t "${VARIANT}" --sharedir 80-openeuler --rootfs-size=4 --buildarch="$ARCH" $(cat yumrepo.file) --nomacboot --noupgrade "${BUILD}"/iso > lorax.logfile 2>&1
|
|
|
|
|
|
|
|
|
|
if [ $? != 0 ] ; then
|
|
|
|
|
cat lorax.logfile
|
|
|
|
|
--
|
2022-11-22 17:04:08 +08:00
|
|
|
2.33.0
|
2021-10-14 09:24:00 +08:00
|
|
|
|