pungi/pungi
Lubomír Sedlář 02ace28fe4 pkgset: Hardlink downloaded packages
When pungi-gather (or old pungi) download the packages from repos into
work/$arch/, they are linked to work/global/. This was using link_type
configuration option.

However if that is set to symlink, we get a relative symlink in
work/global/ which is later copied under the compose/ directory. Since
it's a relative symlink, it gets broken by this.

The fix is to hardlink the downloaded packages instead in the first
step. Since both the source and destination are in work/ directory, we
know it's the same volume and hardlinks should work. There is a fallback
to copy just to be sure, but it shouldn't ever be used.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2020-01-06 10:49:25 +01: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 pkgset: Hardlink downloaded packages 2020-01-06 10:49:25 +01:00
scripts Check dependency of --just-phase 2020-01-06 08:52:47 +00:00
wrappers repoclosure: Parse all fus logs 2019-12-02 11:08:55 +01: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