phase1: cleanup redundant steps v5
authorThibaut VARÈNE <hacks@slashdirt.org>
Mon, 22 May 2023 18:20:12 +0000 (20:20 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 May 2023 02:29:44 +0000 (04:29 +0200)
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 <hacks@slashdirt.org>
phase1/master.cfg

index 1658a91a380e7ec63cdcb0cd6e2e75939ee0d8a0..bbd3734ac491db2292170d0f1d5bdc020fc423a3 100644 (file)
@@ -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",