summaryrefslogtreecommitdiff
path: root/scripts/feeds
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-01-04 19:52:18 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-01-13 19:54:43 +0100
commit19577582e437dcff50c97c5c19726b12f7b3a5ac (patch)
tree1702de1680de4d4da9501d9f76c075a80821af19 /scripts/feeds
parent1a2b5eb7ac6bce10fe9afa941db6ee5001ce80e3 (diff)
downloadmtk-20170518-19577582e437dcff50c97c5c19726b12f7b3a5ac.zip
mtk-20170518-19577582e437dcff50c97c5c19726b12f7b3a5ac.tar.gz
mtk-20170518-19577582e437dcff50c97c5c19726b12f7b3a5ac.tar.bz2
metadata: make srcpackage extensible
Turn the srcpackage values into hashes to allow storing more information than just binary package names. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index 55c294a..0228c7a 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -525,7 +525,7 @@ sub install_package {
};
# install all dependencies referenced from the source package
- foreach my $vpkg (@{$feed_src->{$src}}) {
+ foreach my $vpkg (@{$feed_src->{$src}{packages}}) {
foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}, @{$vpkg->{"builddepends/host"}}) {
next if $dep =~ /@/;
$dep =~ s/^\+//;