Browse Source

create_arm - disable update-binfmts before enable

Émile Morel 10 years ago
parent
commit
9a3a741702
1 changed files with 1 additions and 0 deletions
  1. 1 0
      olinux/create_arm_debootstrap.sh

+ 1 - 0
olinux/create_arm_debootstrap.sh

@@ -11,6 +11,7 @@ rm -rf $targetdir && mkdir -p $targetdir
 # install packages for debootstap
 # install packages for debootstap
 apt-get install --force-yes -y debootstrap dpkg-dev qemu binfmt-support qemu-user-static dpkg-cross
 apt-get install --force-yes -y debootstrap dpkg-dev qemu binfmt-support qemu-user-static dpkg-cross
 
 
+update-binfmts --disable
 mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
 mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
 update-binfmts --enable
 update-binfmts --enable