Skip to content

Remove existing apk cache symlink before creating link

clayton craft requested to merge fix/lingering_broken_cache_apk_symlink into master

This removes any existing symlinks (which always seem to be broken when this is encountered) to /chroot_native/etc/apk/cache before creating the symlink.

Without this, I see this error fairly frequently when building:

[17:47:26] ERROR: Command failed: % sudo ln -s /var/cache/apk /home/clayton/src/pmbootstrap-out/chroot_native/etc/apk/cache

Merge request reports