From: Thibaut VARÈNE Date: Mon, 22 May 2023 18:20:12 +0000 (+0200) Subject: phase1: cleanup redundant steps X-Git-Tag: v5^0 X-Git-Url: http://git.openwrt.org/openwrt/feeds.git?p=buildbot.git;a=commitdiff_plain;h=90af3d7ad4a72aab90e2b3bca853a91cf199a753 phase1: cleanup redundant steps These 3 rm steps are unnecessary since these folders are already cleaned by the Git() step. Thus reduce clutter in already pretty busy Factory. Signed-off-by: Thibaut VARÈNE --- diff --git a/phase1/master.cfg b/phase1/master.cfg index 1658a91..bbd3734 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -754,19 +754,6 @@ for target in targets: 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', @@ -815,12 +802,6 @@ for target in targets: 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",