Clarification on post-install scripts and chroot
When running APK with a root != / it automatically runs a chroot on that folder for post-install scripts. While this seems very tempting it only seem to work if the chrooted environment is the same architecture as the host. For OpenWrt (and Alpine, too) it often enough is a different architecture. This forces a user to use --no-scripts
for building the rootfs or removing the chroot
step from APK via a downstream patch.
What is the suggested handling here?