forked from josch/mmdebstrap
add FIXME comment about binfmt_misc support
This commit is contained in:
parent
f25dc399c2
commit
3ffc8ea35f
1 changed files with 5 additions and 0 deletions
|
@ -993,6 +993,11 @@ sub setup {
|
||||||
|
|
||||||
# copy qemu-user-static binary into chroot or setup proot with --qemu
|
# copy qemu-user-static binary into chroot or setup proot with --qemu
|
||||||
if (defined $options->{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') {
|
if ($options->{mode} eq 'proot') {
|
||||||
push @chrootcmd, "--qemu=qemu-$options->{qemu}";
|
push @chrootcmd, "--qemu=qemu-$options->{qemu}";
|
||||||
} elsif ($options->{mode} eq 'fakechroot') {
|
} elsif ($options->{mode} eq 'fakechroot') {
|
||||||
|
|
Loading…
Reference in a new issue