Skip to content

main/pmbootstrap: modprobe the required kernel module on boot

Bart Ribbers requested to merge PureTryOut/pmaports:pmbootstrap-binfmt into master

Without this kernel module, it can't run on non-native architectures. E.g. if you want to build something for aarch64 on x86_64, this needs to be loaded. I encounter this almost daily on my Alpine laptop. Actually this is not enough, mount -t binfmt_misc none /proc/sys/fs/binfmt_misc also needs to be run once before running pmbootstrap, but I'm not sure how to properly integrate that into packaging. I think editing /etc/stab by packaging is frowned upon?

Also, explain to me again why we haven't this packaged in Alpine instead?

CC @ollieparanoid

Merge request reports