pungi/pungi
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
..
compose_metadata Use $SOURCE_DATE_EPOCH (if set) in discinfo file 2018-10-08 13:33:29 +02:00
ostree ostree: Run commands in universal_newlines mode 2019-10-03 09:30:53 +02:00
phases Support generating ISOs when using link_type="symlink". 2020-01-06 12:30:13 +00:00
scripts Check dependency of --just-phase 2020-01-06 08:52:47 +00:00
wrappers Support generating ISOs when using link_type="symlink". 2020-01-06 12:30:13 +00:00
__init__.py Move import of modulemd to a separate module 2019-10-03 10:40:31 +02:00
arch.py arch: Drop mapping ppc64 -> ppc64p7 2018-05-16 16:25:58 +02:00
arch_utils.py Whitespace cleanup 2019-05-31 09:14:26 +02:00
checks.py Check dependency of --just-phase 2020-01-06 08:52:47 +00:00
common.py Remove FSF address from copyright headers 2017-03-24 09:24:48 +01:00
compose.py Get message from LogRecord with a method 2019-11-11 08:46:01 +01:00
config.py pungi-legacy: expose lorax's --rootfs-size argument 2019-01-14 10:41:37 +01:00
createiso.py Make the Apple/HFS compatibility configurable 2019-02-21 16:11:01 +01:00
dnf_wrapper.py gather: handle metalink in kickstart repos 2019-12-15 21:05:10 +01:00
gather.py Respect --nomacboot flag when calling isohybrid 2019-06-26 13:21:22 +02:00
gather_dnf.py Improve detection of lookaside packages 2020-01-02 13:50:29 +01:00
graph.py Variant as a lookaside - configuration 2018-04-13 14:14:43 +02:00
ks.py Remove package whitelist 2019-09-03 09:31:18 +02:00
linker.py Add script to orchestrate multiple composes 2019-01-08 09:40:36 +01:00
media_split.py Remove misleading warning about size of the ISO 2019-11-04 14:22:59 +08:00
metadata.py Remove productimg phase 2020-01-03 11:42:38 +00:00
module_util.py Move import of modulemd to a separate module 2019-10-03 10:40:31 +02:00
multilib_dnf.py Port to Python 3 2017-10-24 15:15:31 +02:00
multilib_yum.py Whitespace cleanup 2019-05-31 09:14:26 +02:00
notifier.py config: Deprecate release_is_layered option 2019-06-06 13:45:49 +02:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py Remove productimg phase 2020-01-03 11:42:38 +00:00
profiler.py gather: Print profiling information to stderr 2018-04-25 14:21:09 +02:00
runroot.py Allow setting runroot_method per Pungi phase. 2020-01-02 14:10:20 +00:00
util.py hybrid: Download remote files when getting platform 2019-11-19 08:51:18 +01:00