phase1: remove package/feeds before installing feeds
authorJo-Philipp Wich <jo@mein.io>
Fri, 4 Nov 2016 10:35:43 +0000 (11:35 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 4 Nov 2016 10:35:46 +0000 (11:35 +0100)
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@mein.io>
phase1/master.cfg

index 6d6bb7042f30817d270eada272c906b230f9d63f..5eb70f4411a400c544e2ac112f476b35178796ef 100644 (file)
@@ -285,6 +285,12 @@ for target in targets:
 #              description = "Copy the feeds.conf",
 #              command='''cp ~/feeds.conf ./feeds.conf''' ))
 
+       # feed
+       factory.addStep(ShellCommand(
+               name = "rmfeedlinks",
+               description = "Remove feed symlinks",
+               command=["rm", "-rf", "package/feeds/"]))
+
        # feed
        factory.addStep(ShellCommand(
                name = "updatefeeds",