Running envkernel.sh with pmb chroots stopped blocks chroots' startup
pmbootstrap shutdown
. pmbootstrap/helpers/envkernel.sh
# At this time, chroot_native/mnt/linux is mounted
# However, the other mountpoints under mnt/ is not mounted
pmbootstrap build --envkernel .....
# abuild-sign failed to sign the package for not-founding signing keys. This is because chroot_native/mnt/pmbootstrap-abuild-config is not mounted
pmbootstrap shutdown
pmbootstrap chroot true
# Using `pmbootstrap chroot` makes sure that chroot is active
reactivate
# Reactivating envkernel.sh mounts mnt/linux again
pmbootstrap build --envkernel .....
# This time, build succeeds
Edited by xtex