[][openwrt-24][common][bsp][Update patch of script/feeds of unified autobuild]
[Description]
Fix patch failure of script/feeds of unified autobuild
[Release-log]
N/A
Change-Id: I53c8d0a30822676647adf294e24b36c3dc6a69f7
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9620058
diff --git a/autobuild/unified/scripts/master/scripts-feeds-support-subdir.patch b/autobuild/unified/scripts/master/scripts-feeds-support-subdir.patch
index 952ef5c..2f481df 100644
--- a/autobuild/unified/scripts/master/scripts-feeds-support-subdir.patch
+++ b/autobuild/unified/scripts/master/scripts-feeds-support-subdir.patch
@@ -26,14 +26,14 @@
system("ln -sf $name.tmp/.packageinfo ./feeds/$name.index");
system("ln -sf $name.tmp/.targetinfo ./feeds/$name.targetindex");
-@@ -837,15 +843,17 @@ sub update {
+@@ -856,15 +862,17 @@ sub update {
my @index_feeds;
foreach my $feed (@feeds) {
my ($type, $name, $src) = @$feed;
+ my $subdir = $feed->[3]{subdir};
next unless $#ARGV == -1 or $opts{a} or $argv_feeds{$name};
if (not $opts{i}) {
- update_feed($type, $name, $src, $opts{f}) == 0 or $failed=1;
+ update_feed($type, $name, $src, $opts{f}, $opts{r}, $opts{s}) == 0 or $failed=1;
}
- push @index_feeds, $name;
+ push @index_feeds, [ $name, $subdir ];