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@true.cz>
# 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!/[^/]+$!!;