From 7532d9536a147966434ef3fcb437c9466b8c58eb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 11 May 2016 13:52:49 +0200 Subject: [PATCH] Add libc variant check to stop arc770 and archs38 early Signed-off-by: Jo-Philipp Wich --- phase1/master.cfg | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index c6c7d47..fa3161d 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -296,7 +296,7 @@ EOT''' %(ts[0], ts[0], ts[1]) )) command = ["make", "defconfig"] )) - # check arch + # check arch / libc factory.addStep(ShellCommand( name = "checkarch", description = "Checking architecture", @@ -307,6 +307,16 @@ EOT''' %(ts[0], ts[0], ts[1]) )) haltOnFailure = True )) + factory.addStep(ShellCommand( + name = "checklibc", + description = "Checking libc flavor", + command = ["grep", "-sq", 'CONFIG_LIBC="musl"', ".config"], + logEnviron = False, + want_stdout = False, + want_stderr = False, + haltOnFailure = True + )) + # install build key factory.addStep(FileDownload(mastersrc=home_dir+'/key-build', slavedest="key-build", mode=0600)) factory.addStep(FileDownload(mastersrc=home_dir+'/key-build.pub', slavedest="key-build.pub", mode=0600)) -- 2.30.2