1 Star 0 Fork 100

Fengfei.XI/oemaker

forked from src-openEuler/oemaker 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0004-bugfix-I3OGUT.patch 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
BigSkySea 提交于 2021-10-14 09:24 . bugfix I3OGUT
From 50e167a8084b3130835cc18a6b67f448a1fe02f1 Mon Sep 17 00:00:00 2001
From: miao_kaibo <[email protected]>
Date: Thu, 14 Oct 2021 09:18:30 +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 0865815..cfb35f8 100755
--- a/isomaker/img_repo.sh
+++ b/isomaker/img_repo.sh
@@ -30,7 +30,12 @@ function create_install_img()
done
echo "${tmprep}" > yumrepo.file
- 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.30.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fengfeixi/oemaker.git
[email protected]:fengfeixi/oemaker.git
fengfeixi
oemaker
oemaker
master

搜索帮助