From: Petr Štetiar Date: Sun, 24 Dec 2023 09:30:58 +0000 (+0000) Subject: phase2: checksums: split long command line X-Git-Tag: v13~6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a7e32ac4dd4d5d1e43f489246eea8653201288e7;p=buildbot.git phase2: checksums: split long command line To make it more readable, diffs smaller, easier to review etc. Signed-off-by: Petr Štetiar --- diff --git a/phase2/master.cfg b/phase2/master.cfg index 02e7a45..fa585d7 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -572,7 +572,10 @@ for arch in arches: description = "Calculating checksums", descriptionDone="Checksums calculated", workdir = "build/sdk", - command = "cd bin/packages/%s; " %(arch[0]) + "find . -type f -not -name 'sha256sums' -printf \"%P\n\" | sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | sed -ne 's!^\(.*\) \(.*\)$!\1 *\2!p' > sha256sums", + command = "cd bin/packages/%s; " %(arch[0]) + + "find . -type f -not -name 'sha256sums' -printf \"%P\n\" | " + + "sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | " + + "sed -ne 's!^\(.*\) \(.*\)$!\1 *\2!p' > sha256sums", haltOnFailure = True ))