[buildbot] phase1: remove unused 'kmod_repository'
LEDE Commits
lede-commits at lists.infradead.org
Mon May 15 08:38:51 PDT 2023
ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/591df9b69cf2afc4b486d255db6e8157ce65d7f2
commit 591df9b69cf2afc4b486d255db6e8157ce65d7f2
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Wed Oct 19 17:35:32 2022 +0200
phase1: remove unused 'kmod_repository'
Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
phase1/master.cfg | 32 --------------------------------
1 file changed, 32 deletions(-)
diff --git a/phase1/master.cfg b/phase1/master.cfg
index d61fc91..a5b7a6b 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -260,14 +260,10 @@ if ini.has_option("usign", "comment"):
usign_comment = ini.get("usign", "comment")
enable_kmod_archive = False
-embed_kmod_repository = False
if ini.has_option("phase1", "kmod_archive"):
enable_kmod_archive = ini.getboolean("phase1", "kmod_archive")
-if ini.has_option("phase1", "kmod_repository"):
- embed_kmod_repository = ini.getboolean("phase1", "kmod_repository")
-
# find targets
targets = [ ]
@@ -1058,34 +1054,6 @@ for target in targets:
haltOnFailure = True
))
- if enable_kmod_archive and embed_kmod_repository:
- # embed kmod repository. Must happen before 'images'
-
- # find rootfs staging directory
- factory.addStep(SetPropertyFromCommand(
- name = "stageroot",
- property = "stageroot",
- description = "Finding the rootfs staging directory",
- command=["make", "--no-print-directory", "val.STAGING_DIR_ROOT"],
- env = { 'TOPDIR': Interpolate("%(kw:cwd)s/build", cwd=GetCwd) },
- want_stderr = False
- ))
-
- factory.addStep(ShellCommand(
- name = "filesdir",
- description = "Creating file overlay directory",
- command=["mkdir", "-p", "files/etc/opkg"],
- haltOnFailure = True
- ))
-
- factory.addStep(ShellCommand(
- name = "kmodconfig",
- description = "Embedding kmod repository configuration",
- command=Interpolate("sed -e 's#^\\(src/gz .*\\)_core \\(.*\\)/packages$#&\\n\\1_kmods \\2/kmods/%(prop:kernelversion)s#' " +
- "%(prop:stageroot)s/etc/opkg/distfeeds.conf > files/etc/opkg/distfeeds.conf"),
- haltOnFailure = True
- ))
-
#factory.addStep(IfBuiltinShellCommand(
factory.addStep(ShellCommand(
name = "images",
More information about the lede-commits
mailing list