pungi/pungi/phases
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
..
gather Do not mention pdc_client when missing modulemd 2019-12-18 13:50:49 +08:00
pkgset pkgset: Hardlink downloaded packages 2020-01-06 10:49:25 +01:00
__init__.py Remove productimg phase 2020-01-03 11:42:38 +00:00
base.py Move resolving git reference to config validation 2018-11-21 13:25:35 +01:00
buildinstall.py Allow setting runroot_method per Pungi phase. 2020-01-02 14:10:20 +00:00
createiso.py Support generating ISOs when using link_type="symlink". 2020-01-06 12:30:13 +00:00
createrepo.py Avoid crash if a module is not available on all arches 2019-12-06 14:22:41 +01:00
extra_files.py Write global metadata about extra files 2019-11-05 09:11:01 +01:00
extra_isos.py Support generating ISOs when using link_type="symlink". 2020-01-06 12:30:13 +00:00
image_build.py Resolve symlinks to images 2019-09-11 15:36:28 +02:00
image_checksum.py Stop using .message attribute on exceptions 2018-05-15 14:17:46 +02:00
init.py Pass compose to SCM wrappers 2019-11-05 08:51:26 +01:00
live_images.py Stop using deprecated pipes.quote 2017-10-24 15:15:31 +02:00
livemedia_phase.py livemedia: Remove title option 2019-11-20 15:33:28 +08:00
osbs.py osbs: Rework configuration for image pushes 2019-04-05 10:28:34 +02:00
ostree.py Allow setting runroot_method per Pungi phase. 2020-01-02 14:10:20 +00:00
ostree_installer.py Allow setting runroot_method per Pungi phase. 2020-01-02 14:10:20 +00:00
phases_metadata.py Validation of parameter skip_phases 2018-05-15 13:30:00 +02:00
test.py repoclosure: Parse all fus logs 2019-12-02 11:08:55 +01:00
weaver.py Move ostree phase and pipelines for running phases 2018-02-26 13:43:44 +01:00