diff options
Diffstat (limited to '0004-bugfix-I3OGUT.patch')
-rw-r--r-- | 0004-bugfix-I3OGUT.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/0004-bugfix-I3OGUT.patch b/0004-bugfix-I3OGUT.patch new file mode 100644 index 0000000..b262506 --- /dev/null +++ b/0004-bugfix-I3OGUT.patch @@ -0,0 +1,30 @@ +From f59ebdd0f2e8927dbb4662769ee99e3384e6e7ca Mon Sep 17 00:00:00 2001 +From: xyn-coder <xiangyuning@huawei.com> +Date: Tue, 22 Nov 2022 16:01:13 +0800 +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 +index 3335183..eaf5c70 100755 +--- a/isomaker/img_repo.sh ++++ b/isomaker/img_repo.sh +@@ -31,7 +31,12 @@ function create_install_img() + + echo "${tmprep}" > yumrepo.file + set +e +- 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 +-- +2.33.0 + |