pungi/tests
Jan Kaluza fcf1442f71 Support generating ISOs when using link_type="symlink".
When `link_type = "symlink"` is used, the packages are in fact symlinks
to /mnt/koji. When graft points file is generated, the paths in this graft
points file point to symlinks and therefore symlinks are copied into the
generated ISO file instead of real files.

In this commit, the code to generate the graft points file is changed
so it resolves the symlink to real file stored on /mnt/koji. To make
this code safer, it does such resolving only in case the symlink points
outside of `compose.paths.compose.topdir()`. Therefore you can still
generate ISO file with symlink pointing to file stored within the ISO
file itself, although this is not done currently afaik.

The main reason for this is to be able to generate ISO files even
without hardlinks (which would need read-write access on /mnt/koji)
and without copying all the packages from /mnt/koji to local storage.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-01-06 12:30:13 +00:00
..
data Regenerate test fixture repo 2019-10-03 10:46:21 +02:00
fixtures gather: Resolve dependencies of debug packages 2019-10-03 10:46:21 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
test_arch.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_arguments.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
test_buildinstall.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_checks.py Check dependency of --just-phase 2020-01-06 08:52:47 +00:00
test_compose.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_config_utils.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_config_validate_script.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
test_config.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_createiso_phase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_createiso_script.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_createrepo_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_createrepophase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_extra_files_phase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_extra_isos_phase.py Support generating ISOs when using link_type="symlink". 2020-01-06 12:30:13 +00:00
test_fus_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_gather_method_deps.py gather: Improve logging for gathering 2019-12-16 08:56:22 +00:00
test_gather_method_hybrid.py gather: Improve logging for gathering 2019-12-16 08:56:22 +00:00
test_gather_method_nodeps.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_gather_phase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_gather_source_module.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_gather.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_graph.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_imagebuildphase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_imagechecksumphase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_initphase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_iso_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_koji_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_linker.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_liveimagesphase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_livemediaphase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_lorax_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_media_split.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_metadata.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_notifier.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_orchestrator.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_osbs_phase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_ostree_installer_phase.py ostree: Fix arg passed to scm.get_dir_from_scm 2020-01-02 13:13:14 +00:00
test_ostree_phase.py ostree: Fix arg passed to scm.get_dir_from_scm 2020-01-02 13:13:14 +00:00
test_ostree_script.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_ostree_utils.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_patch_iso.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_pathmatch.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_phase_base.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_pkgset_common.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_pkgset_pkgsets.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_pkgset_source_koji.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_repoclosure_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_runroot.py Allow setting runroot_method per Pungi phase. 2020-01-02 14:10:20 +00:00
test_scm.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_test_phase.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_unified_isos.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_util.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00
test_variant_wrapper.py tests: drop sys.path modification 2019-12-10 10:53:38 +08:00