View Single Post
Old 10-27-2013, 11:14 PM   #16
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
REF: https://www.mobileread.com/forums/sho...d.php?t=189159

[root@kindle root]# [ -d /tmp/binfmt_misc ] || mkdir /tmp/binfmt_misc
[root@kindle root]# insmod /mnt/us/extensions/midori/usr/modules/binfmt_misc.ko
[root@kindle root]# mount -t binfmt_misc none /tmp/binfmt_misc

REF:
Code:
#!/bin/sh
# enable automatic i386 program execution by the kernel
## We need to have insmodded and mounted by now...

    echo ':i386:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/us/extensions/midori/usr/bin/qemu-i386:' > /tmp/binfmt_misc/register
    echo ':i486:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x06\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/us/extensions/midori/usr/bin/qemu-i386:' > /tmp/binfmt_misc/register
    echo ":x86_64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/us/extensions/midori/usr/bin/qemu-x86_64:" > /tmp/binfmt_misc/register


Does this cover our linux use case? EDIT: Yes, Yes it does

Last edited by twobob; 06-12-2014 at 01:40 PM.
twobob is offline   Reply With Quote