Skip to content

Commit

Permalink
pbuild: set build type for expansion
Browse files Browse the repository at this point in the history
This is fixing dependency resolution of kiwi image builds
  • Loading branch information
adrianschroeter committed Aug 8, 2023
1 parent 4e0b809 commit c0438c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PBuild/Expand.pm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ sub expand_deps_image {
}
my @deps = @{$p->{'dep'} || []};
push @deps, '--ignoreignore--' unless ($p->{'buildtype'} || '') eq 'preinstallimage';
local $bconf->{'type'} = $p->{'buildtype'};
my ($ok, @edeps) = Build::get_build($bconf, [], @deps);
if (!$ok) {
delete $p->{'dep_expanded'};
Expand Down

0 comments on commit c0438c6

Please sign in to comment.