When I build LSDK 19.09 in an docker on linux 18.04 LTS, flex-builder always failed.
flex-builder report "mount: /proc/sys/fs/binfmt_misc: permission denied".
root@9c0cfa:/nxp_dev_1909/lsdk1909# flex-builder -i mkrfs -a arm64
generating /nxp_dev_1909/lsdk1909/build/rfs/rootfs_lsdk1909_LS_arm64_main ...
mount: /proc/sys/fs/binfmt_misc: permission denied.
update-binfmts: warning: Couldn't mount the binfmt_misc filesystem on /proc/sys/fs/binfmt_misc.
enable qemu-aarch64 failed
I search the website and nxp community, some article says that we should install serveral package as following.
I try it in the docker and on the docker's host, But build still failed.
root@9c0cfa: sudo apt install -y binfmt-support qemu-system-common qemu-user-static
Can I build lsdk 19.09 in an linux docker? what should I do before build it?