From 99cf3038af1157b36274f5e315a50ee8e4303e13 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 Jun 2019 15:20:14 +0200 Subject: [PATCH] phase2: make feed update and install errors fatal Do not continue building if the feed cloning failed. Signed-off-by: Jo-Philipp Wich --- phase2/master.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/phase2/master.cfg b/phase2/master.cfg index 1f36cac..ec1d540 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -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", -- 2.30.2