Skip to content
Snippets Groups Projects
Commit 51d02a9a authored by nbd's avatar nbd
Browse files

fix scripts/feeds dependency lookup: process deps for all virtual packages of...

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12101 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 7fee7d1f
No related branches found
No related tags found
No related merge requests found
......@@ -280,10 +280,12 @@ sub install_package {
};
# install all dependencies
foreach my $dep (@{$pkg->{depends}}, @{$pkg->{builddepends}}) {
next if $dep =~ /@/;
$dep =~ s/^\+//;
install_package($feed, $dep) == 0 or $ret = 1;
foreach my $vpkg (@{$srcpackage{$src}}) {
foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
next if $dep =~ /@/;
$dep =~ s/^\+//;
install_package($feed, $dep) == 0 or $ret = 1;
}
}
return $ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment