1 Star 0 Fork 30

src-openeuler-fork/kiwi

forked from src-openEuler/kiwi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-openEuler-use-rsync-link.patch 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2024-07-15 13:25 . update: update to version 10.0.25
From 029b940800269fdd5b376fdd09796e263334ba07 Mon Sep 17 00:00:00 2001
From: liweigang <liweiganga@uniontech.com>
Date: Mon, 15 Jul 2024 01:56:10 +0000
Subject: [PATCH] openEuler use rsync link
Signed-off-by: liweigang <liweiganga@uniontech.com>
---
kiwi/boot/image/builtin_kiwi.py | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/kiwi/boot/image/builtin_kiwi.py b/kiwi/boot/image/builtin_kiwi.py
index bf8cfbf..0bd8e0e 100644
--- a/kiwi/boot/image/builtin_kiwi.py
+++ b/kiwi/boot/image/builtin_kiwi.py
@@ -113,9 +113,14 @@ class BootImageKiwi(BootImageBase):
Defaults.get_profile_file(self.boot_root_directory)
)
self.setup.import_description()
- self.setup.import_overlay_files(
- follow_links=True
- )
+ if self.runtime_config.get_custom_hw_systemflag():
+ self.setup.import_overlay_files(
+ follow_links=False
+ )
+ else:
+ self.setup.import_overlay_files(
+ follow_links=True
+ )
self.setup.call_config_script()
system.pinch_system(
--
2.45.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler-fork/kiwi.git
git@gitee.com:src-openeuler-fork/kiwi.git
src-openeuler-fork
kiwi
kiwi
master

搜索帮助