[buildbot] phase2: checksums: split long command line
LEDE Commits
lede-commits at lists.infradead.org
Fri Apr 12 23:33:02 PDT 2024
ynezz pushed a commit to buildbot.git, branch main:
https://git.openwrt.org/a7e32ac4dd4d5d1e43f489246eea8653201288e7
commit a7e32ac4dd4d5d1e43f489246eea8653201288e7
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Sun Dec 24 09:30:58 2023 +0000
phase2: checksums: split long command line
To make it more readable, diffs smaller, easier to review etc.
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
phase2/master.cfg | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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
))
More information about the lede-commits
mailing list