pungi/pungi/phases
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
..
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 Allow setting runroot_method per Pungi phase. 2020-01-02 14:10:20 +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 Write global metadata about extra files 2019-11-05 09:11:01 +01: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