command = ["make", "defconfig"]
))
- # check arch
+ # check arch / libc
factory.addStep(ShellCommand(
name = "checkarch",
description = "Checking architecture",
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))