[buildbot] phase2: fix stray closing parenthesis
LEDE Commits
lede-commits at lists.infradead.org
Fri Apr 12 23:33:00 PDT 2024
ynezz pushed a commit to buildbot.git, branch main:
https://git.openwrt.org/88b6d9eae0ebf66c165be3e7458d6ff582d63759
commit 88b6d9eae0ebf66c165be3e7458d6ff582d63759
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Sat Dec 23 07:14:20 2023 +0000
phase2: fix stray closing parenthesis
Due to the stray closing parenthesis introduced in commit f0faed2970dd
("phase2: compute checksums") we have currently we've failing checksum
step in phase2:
argv: b'cd bin/packages/mipsel_24kc_24kf; find . -type f -not -name \'sha256sums\' -printf "%P\n" | sort | xargs -r ../../../staging_dir/host/bin/mkhash -n sha256 | sed -ne \'s!^\\(.*\\) \\(.*\\)$!\x01 *\x02!p\' > sha256sums)'
environment:
...snip...
using PTY: False
/bin/sh: 2: Syntax error: ")" unexpected
program finished with exit code 2
Fixes: f0faed2970dd ("phase2: compute checksums")
Reported-by: Hannu Nyman <hannu.nyman at iki.fi>
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
phase2/master.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/phase2/master.cfg b/phase2/master.cfg
index 18236b5..02e7a45 100644
--- a/phase2/master.cfg
+++ b/phase2/master.cfg
@@ -572,7 +572,7 @@ 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