| |
@@ -33,6 +33,10 @@
|
| |
if self.version:
|
| |
# Add versioning metadata
|
| |
cmd.append('--add-metadata-string=version=%s' % self.version)
|
| |
+ # Note renamed from rpm-ostree --force-nocache since it's a better
|
| |
+ # name; more clearly describes what we're doing here.
|
| |
+ if self.force_new_commit:
|
| |
+ cmd.append('--force-nocache')
|
| |
cmd.append(self.treefile)
|
| |
|
| |
shortcuts.run(cmd, show_cmd=True, stdout=True, logfile=log_file)
|
| |
@@ -84,6 +88,7 @@
|
| |
self.update_summary = self.args.update_summary
|
| |
self.extra_config = self.args.extra_config
|
| |
self.ostree_ref = self.args.ostree_ref
|
| |
+ self.force_new_commit = self.args.force_new_commit
|
| |
|
| |
if self.extra_config:
|
| |
self.extra_config = json.load(open(self.extra_config, 'r'))
|
| |
Followup from discussion in: https://pagure.io/pungi/issue/811
It's likely now that for Fedora Atomic Host we'll use this, to work
around other issues, after we fix the FAW change detection.