Skip to content

build: fix !pmb:crossdirect

Administrator requested to merge fix-disabled-crossdirect into master

With the !pmb:crossdirect option, the crossdirect compilation method gets disabled. This means there is no /native directory mounted inside the foreign arch chroot, all binaries inside the foreign arch chroot are supposed to run in QEMU. Handle this in the apk_wrapper.sh script that we use to redirect abuild-apk to /native/usr/bin/abuild-apk.

Fix for (currently with master_staging_systemd branch):

>>> upower: Analyzing dependencies...
/usr/local/bin/abuild-apk: line 11: /native/usr/bin/abuild-apk: not found

Merge request reports

Loading