add FIXME comment about binfmt_misc support

This commit is contained in:
Johannes 'josch' Schauer 2018-12-05 08:05:32 +01:00
parent f25dc399c2
commit 3ffc8ea35f
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -993,6 +993,11 @@ sub setup {
# copy qemu-user-static binary into chroot or setup proot with --qemu
if (defined $options->{qemu}) {
# FIXME: check for
# - binfmt_misc kernel module loaded
# - binfmt_misc filesystem in /proc/filesystems
# - binfmt_misc mounted on /proc/sys/fs/binfmt_misc
# - /usr/sbin/update-binfmts --display qemu-arm
if ($options->{mode} eq 'proot') {
push @chrootcmd, "--qemu=qemu-$options->{qemu}";
} elsif ($options->{mode} eq 'fakechroot') {