mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-25 10:52:48 +00:00
fix scripts/feeds dependency lookup: process deps for all virtual packages of a src package that belongs to the package that the user wants to install
SVN-Revision: 12101
This commit is contained in:
parent
d38b4fd256
commit
311553c77b
@ -280,10 +280,12 @@ sub install_package {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# install all dependencies
|
# install all dependencies
|
||||||
foreach my $dep (@{$pkg->{depends}}, @{$pkg->{builddepends}}) {
|
foreach my $vpkg (@{$srcpackage{$src}}) {
|
||||||
next if $dep =~ /@/;
|
foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
|
||||||
$dep =~ s/^\+//;
|
next if $dep =~ /@/;
|
||||||
install_package($feed, $dep) == 0 or $ret = 1;
|
$dep =~ s/^\+//;
|
||||||
|
install_package($feed, $dep) == 0 or $ret = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $ret;
|
return $ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user