mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 15:04:42 +02: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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12101 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7fee7d1f22
commit
51d02a9a2e
@ -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