[buildbot] phase1: remove package/feeds before installing feeds

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 4 03:35:59 PDT 2016


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

commit 1ae69f14fbd49ff2a62b59d7aaab9a21dd981907
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Fri Nov 4 11:35:43 2016 +0100

    phase1: remove package/feeds before installing feeds
    
    This removal step is needed to get rid of dangling symlinks and to ensure
    that core package overrides are effective.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 phase1/master.cfg | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index 6d6bb70..5eb70f4 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -287,6 +287,12 @@ for target in targets:
 
 	# feed
 	factory.addStep(ShellCommand(
+		name = "rmfeedlinks",
+		description = "Remove feed symlinks",
+		command=["rm", "-rf", "package/feeds/"]))
+
+	# feed
+	factory.addStep(ShellCommand(
 		name = "updatefeeds",
 		description = "Updating feeds",
 		command=["./scripts/feeds", "update"]))



More information about the lede-commits mailing list