e043604822
Update pungi-make-ostree to supourt sub-command 'tree', which is just as the original feature of pungi-make-ostree to compose OSTree tree. With the change we can add other sub commands later to build other OSTree artifacts, like the installer image. Inaddtional to the change, now the the 'tree' command can accept an optional '--extra-config' parameter to update the original tree configuration with extra configurations specified in a json file before composing the OSTree tree. Example: pungi-make-ostree tree --repo=/ostree --treefile=/path/to/treefile \ --log-dir=/path/to/log --extra-config=/path/to/extra-config.json The extra-config file can contains the same configuration as OSTree phase, the difference is it doesn't understand variant UID as source repo since it's not ran in the chain of phases. A valid configuration can be like: { "source_repo_from": "http://example.com/repo/x86_64/Server", "extra_source_repos": [ { "name": "optional", "baseurl": "http://example.com/repo/x86_64/optional", "exclude": "systemd-container", "gpgcheck": False }, { "name": "extra", "baseurl": "http://example.com/repo/x86_64/extra", } ], "keep_original_sources": True } The OSTree phase is updated to move out the task of updating treefile, instead of that, it writes the extra configurations to a json file, then 'pungi-make-ostree tree' will take it by option '--extra-config'. Signed-off-by: Qixiang Wan <qwan@redhat.com> |
||
---|---|---|
.. | ||
data | ||
fixtures | ||
__init__.py | ||
helpers.py | ||
test_arch.py | ||
test_buildinstall.py | ||
test_checks.py | ||
test_compose.py | ||
test_compose.sh | ||
test_config_validate_script.py | ||
test_config.py | ||
test_createiso_phase.py | ||
test_createiso_script.py | ||
test_createrepo_wrapper.py | ||
test_createrepophase.py | ||
test_extra_files_phase.py | ||
test_imagebuildphase.py | ||
test_imagechecksumphase.py | ||
test_initphase.py | ||
test_koji_wrapper.py | ||
test_linker.py | ||
test_liveimagesphase.py | ||
test_livemediaphase.py | ||
test_lorax_wrapper.py | ||
test_media_split.py | ||
test_metadata.py | ||
test_notifier.py | ||
test_osbs_phase.py | ||
test_ostree_installer_phase.py | ||
test_ostree_phase.py | ||
test_ostree_script.py | ||
test_pathmatch.py | ||
test_paths.py | ||
test_phase_base.py | ||
test_pkgset_pkgsets.py | ||
test_pkgset_source_koji.py | ||
test_pungi.py | ||
test_scm.py | ||
test_test_phase.py | ||
test_util.py |