mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
ostbuild: Support rm-configure flag
This is easier than making git patches that delete configure.
This commit is contained in:
parent
9d37f76a5a
commit
298e4957d9
@ -181,6 +181,11 @@ class OstbuildBuild(builtins.Builtin):
|
||||
mirror = os.path.join(self.mirrordir, name)
|
||||
component_src = self._get_vcs_checkout(name, keytype, mirror, branch)
|
||||
|
||||
if meta.get('rm-configure', False):
|
||||
configure_path = os.path.join(component_src, 'configure')
|
||||
if os.path.exists(configure_path):
|
||||
os.unlink(configure_path)
|
||||
|
||||
buildroot_version = self._compose_buildroot(buildroot_name, meta, dependencies, architecture)
|
||||
|
||||
artifact_meta = {'buildroot': buildroot_name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user