代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/lorax 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 71cc3cb1f2a166b364fb3beee79df7ae076c5eab Mon Sep 17 00:00:00 2001
From: liuxueping <liuxueping1@huawei.com>
Date: Sat, 29 Dec 2018 17:04:05 +0000
Subject: [PATCH] ignore the dir that without kernel version
---
src/pylorax/treebuilder.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py
index 0756804..64c3709 100644
--- a/src/pylorax/treebuilder.py
+++ b/src/pylorax/treebuilder.py
@@ -211,6 +211,9 @@ class RuntimeBuilder(object):
moddir = joinpaths(root, "lib/modules/")
for kernel in findkernels(root=root):
ksyms = joinpaths(root, "boot/System.map-%s" % kernel.version)
+ if not os.path.exists(ksyms):
+ logger.info("not exist %s. ignore and continue.", ksyms)
+ continue
logger.info("doing depmod and module-info for %s", kernel.version)
runcmd(["depmod", "-a", "-F", ksyms, "-b", root, kernel.version])
generate_module_info(moddir+kernel.version, outfile=moddir+"module-info")
--
1.8.3.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。