[buildbot] phase1: run package/cleanup before package/compile

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 22 04:50:39 PST 2017


nbd pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/1f68a3f234c0f08acdb512210e9d9dd36bf9d52a

commit 1f68a3f234c0f08acdb512210e9d9dd36bf9d52a
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Jan 22 13:50:01 2017 +0100

    phase1: run package/cleanup before package/compile
    
    This is done by the full make run as well, and it cleans up
    STAGING_DIR_ROOT/
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 phase1/master.cfg | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index adf3cff..ae69309 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -564,6 +564,12 @@ for target in targets:
 	))
 
 	factory.addStep(ShellCommand(
+		name = "pkgclean",
+		description = "Cleaning up package build",
+		command=["make", "package/cleanup", "V=s"]
+	))
+
+	factory.addStep(ShellCommand(
 		name = "pkgbuild",
 		description = "Building packages",
 		command=["make", WithProperties("-j%(jobs)d", jobs=GetNumJobs), "package/compile", "V=s", "IGNORE_ERRORS=n m", "BUILD_LOG=1"],



More information about the lede-commits mailing list