From 76c19e6d433153bb2d31941449f867879f5e9cf6 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 20 Jun 2012 13:20:09 +0200 Subject: - ignore empty packages when ordering (instead of dieing) --- order | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/order b/order index 17c483d..6682fd6 100755 --- a/order +++ b/order @@ -61,6 +61,10 @@ for my $p (@p) { my $q; for my $suf ('rpm', 'deb', 'arch') { next unless -f "$cachedir/$p.$suf"; + if (! -s "$cachedir/$p.$suf") { + $q = {'provides' => [], 'requires' => []}; # package from preinstallimage, no need to order + last; + } $q = Build::query("$cachedir/$p.$suf", 'filelist' => 1, 'alldeps' => 1); die("bad binary: $p.$suf\n") unless $q; push @{$q->{'provides'}}, @{$q->{'filelist'}} if $suf eq 'rpm' && $q->{'filelist'}; -- cgit v1.2.3