From 107af3b2b1d0fea4e7a40ff34e7d1c78379fff65 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 20 Nov 2020 10:12:12 +0100 Subject: [PATCH] Do not add a "kiwi-packagemanager:" dependency if no package manager is defined --- Build/Kiwi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Kiwi.pm b/Build/Kiwi.pm index b098abbc6..8422f4b9e 100644 --- a/Build/Kiwi.pm +++ b/Build/Kiwi.pm @@ -452,7 +452,7 @@ sub kiwiparse { push @packages, $package->{'name'}; } push @packages, map {"-$_"} @ignorepackages; - push @packages, "kiwi-packagemanager:$packman"; + push @packages, "kiwi-packagemanager:$packman" if $packman; push @packages, "--dorecommends--", "--dosupplements--" if $patterntype && $patterntype eq 'plusRecommended'; push @packages, '--unorderedimagerepos', if $unorderedrepos;