Skip to content

Commit

Permalink
productcompose: transport the __all__ packageset as '*' package (#1012)
Browse files Browse the repository at this point in the history
'*' is our internal marker for all packages, but we want a speaking
string in productcompose files.

This is to support builds which take all available packages.
  • Loading branch information
adrianschroeter authored Jul 5, 2024
1 parent adf1ba7 commit 6cc8526
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Build/ProductCompose.pm
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ sub get_pkgset {
$flavor = '' unless defined $flavor;
my @seenps;
my $lasts;

# asterisk is our internal marker for all packages
return ['*'] if $setname eq '__all__';

for my $s (@$packagesets) {
push @seenps, $lasts if defined $lasts;
$lasts = $s;
Expand Down

0 comments on commit 6cc8526

Please sign in to comment.