소스 검색

QEMU interpreter must be registered at absolute path

Michael Aldridge 7 년 전
부모
커밋
d6975a2793
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib.sh.in

+ 1 - 1
lib.sh.in

@@ -173,7 +173,7 @@ register_binfmt() {
 
     # Only register if the map is incomplete
     if [ ! -f /proc/sys/fs/binfmt_misc/qemu-$_cpu ] ; then
-        echo ":qemu-$_cpu:M::$_magic:$_mask:$QEMU_BIN:" > /proc/sys/fs/binfmt_misc/register 2>/dev/null
+        echo ":qemu-$_cpu:M::$_magic:$_mask:/usr/bin/$QEMU_BIN:" > /proc/sys/fs/binfmt_misc/register 2>/dev/null
     fi
 
     # If the static binary isn't in the chroot then the chroot will