Skip to content

Commit

Permalink
pbuild: add undocumented --nochangelog option
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Sep 28, 2023
1 parent b91d101 commit bac6076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PBuild/Job.pm
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ sub createjob {
push @args, '--shell-after-fail' if $opts->{'shell-after-fail'};
push @args, '--no-timestamps' if $opts->{'no-timestamps'};
push @args, '--skip-bundle';
push @args, '--changelog';
push @args, '--changelog' unless $opts->{'nochangelog'};
#push @args, '--oldpackages', $oldresultdir if -d $oldresultdir;
push @args, '--ccache' if $jobopts->{'ccache'};
push @args, '--ccache-create-archive' if $jobopts->{'ccache'};
Expand Down
2 changes: 2 additions & 0 deletions PBuild/Options.pm
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ my $pbuild_options = {
'extra-packs' => '::',
'extrapacks' => 'extra-packs::',
'X' => 'extra-packs::',
'nochangelog' => '',
'no-nochangelog' => 'nochangelog',
};

sub debugflags_special {
Expand Down

0 comments on commit bac6076

Please sign in to comment.