diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-01-23 16:01:38 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-01-23 16:01:38 +0000 |
commit | 5c6a71c86c92ff7ddb08130a8c1f452932045d85 (patch) | |
tree | 02c272d240565d00a61903aa38448ec585278be5 | |
parent | 1c0ce098e8839996b931c58f5e44ebe664d9f01b (diff) | |
download | iurt-5c6a71c86c92ff7ddb08130a8c1f452932045d85.tar iurt-5c6a71c86c92ff7ddb08130a8c1f452932045d85.tar.gz iurt-5c6a71c86c92ff7ddb08130a8c1f452932045d85.tar.bz2 iurt-5c6a71c86c92ff7ddb08130a8c1f452932045d85.tar.xz iurt-5c6a71c86c92ff7ddb08130a8c1f452932045d85.zip |
Store excluded architectures in pkg_tree
-rwxr-xr-x | emi | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -119,7 +119,6 @@ my $done = "$config->{queue}/done"; my $reject = "$config->{queue}/rejected"; my %pkg_tree; -my %excluded; my %uploaded; @@ -142,7 +141,7 @@ sub done_func { } elsif ($result eq 'excluded') { $arch = $config->{arch_translation}{$arch} if $config->{arch_translation}{$arch}; plog('DEBUG', "found .excluded ($prefix) for $arch"); - $excluded{$prefix}{$section}{$arch} = 1; + $pkg_tree{$prefix}{section}{$section}{excluded_arch}{$arch} = 1; } } elsif ($suffix =~ /^\.(\w+)$/) { my ($action) = $1; @@ -214,7 +213,7 @@ foreach my $prefix (sort keys %pkg_tree) { } foreach my $m (@wanted_archs, 'src') { - $excluded{$prefix}{$section}{$m} and next; + $pkg_tree{$prefix}{section}{$section}{excluded_arch}{$m} and next; my $x = "yes"; if (!$pkg_tree{$prefix}{section}{$section}{arch}{$m}) { $missing{$m} = 1; |