phase2: make feed update and install errors fatal
authorJo-Philipp Wich <[email protected]>
Mon, 17 Jun 2019 13:20:14 +0000 (15:20 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 17 Jun 2019 13:20:14 +0000 (15:20 +0200)
Do not continue building if the feed cloning failed.

Signed-off-by: Jo-Philipp Wich <[email protected]>
phase2/master.cfg

index 1f36cac9665ac95a029c97b984bf6a7d75391dd5..ec1d5407879e0bd4b8b1d51f379a7ef658ec2712 100644 (file)
@@ -328,13 +328,15 @@ for arch in arches:
                name = "updatefeeds",
                description = "Updating feeds",
                workdir = "build/sdk",
-               command = ["./scripts/feeds", "update", "-f"]))
+               command = ["./scripts/feeds", "update", "-f"],
+               haltOnFailure = True))
 
        factory.addStep(ShellCommand(
                name = "installfeeds",
                description = "Installing feeds",
                workdir = "build/sdk",
-               command = ["./scripts/feeds", "install", "-a"]))
+               command = ["./scripts/feeds", "install", "-a"],
+               haltOnFailure = True))
 
        factory.addStep(ShellCommand(
                name = "logclear",