haltOnFailure = True,
))
- factory.addStep(ShellCommand(
- name = "rmtmp",
- description = "Remove tmp folder",
- command=["rm", "-rf", "tmp/"],
- ))
-
- # feed
- factory.addStep(ShellCommand(
- name = "rmfeedlinks",
- description = "Remove feed symlinks",
- command=["rm", "-rf", "package/feeds/"],
- ))
-
factory.addStep(StringDownload(
name = "ccachecc",
s = '#!/bin/sh\nexec ${CCACHE} ${CCC} "$@"\n',
command = Interpolate("printf 'CONFIG_TARGET_%(kw:target)s=y\\nCONFIG_TARGET_%(kw:target)s_%(kw:subtarget)s=y\\nCONFIG_SIGNED_PACKAGES=%(kw:usign:#?|y|n)s\\n' >> .config", target=ts[0], subtarget=ts[1], usign=GetUsignKey),
))
- factory.addStep(ShellCommand(
- name = "delbin",
- description = "Removing output directory",
- command = ["rm", "-rf", "bin/"],
- ))
-
factory.addStep(ShellCommand(
name = "defconfig",
description = "Populating .config",