[buildbot] scripts: sha2rsync: fix missing feeds in additional_files list
LEDE Commits
lede-commits at lists.infradead.org
Fri Oct 11 11:04:35 PDT 2024
ynezz pushed a commit to buildbot.git, branch main:
https://git.openwrt.org/bab1a77e2f778725ad515c2d5c98a602a506866e
commit bab1a77e2f778725ad515c2d5c98a602a506866e
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Sun Sep 29 06:13:23 2024 +0000
scripts: sha2rsync: fix missing feeds in additional_files list
Currently only packages feeds are being handled in phase2, so lets add the
other missing feeds.
Fixes: c3ddb0db167d ("phase2: use sha2rsync.pl for 'targetupload'")
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
scripts/sha2rsync.pl | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/scripts/sha2rsync.pl b/scripts/sha2rsync.pl
index de286a1..6b9d2d1 100755
--- a/scripts/sha2rsync.pl
+++ b/scripts/sha2rsync.pl
@@ -97,12 +97,20 @@ while (defined($lline)) {
# unconditionally add some mandatory files to rsynclist
# add them last so they're transferred last: if everything else transferred correctly
-my @additional_files = qw(
- packages/Packages.asc
- packages/Packages.sig
- sha256sums.asc
- sha256sums.sig
- sha256sums
+my @feeds = qw(base luci packages routing telephony);
+my @additional_files;
+
+for my $feed (@feeds) {
+ push @additional_files, (
+ "$feed/Packages.asc",
+ "$feed/Packages.sig",
+ );
+}
+
+push @additional_files, qw(
+ sha256sums.asc
+ sha256sums.sig
+ sha256sums
);
(my $basedir = $llist) =~ s!/[^/]+$!!;
More information about the lede-commits
mailing list