View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#51
Ok, here's how to get the image I uploaded working in a basic sort of way.

From a root terminal:
Code:
qmount /home/user/MyDocs/maemo-sdk-v1_2.img.ext2 /floppy
mkdir /floppy/dev
mkdir /floppy/dev/pts
mkdir /floppy/dev/shm
mkdir /floppy/dev
mkdir /floppy/var/run/dbus
mkdir /floppy/var/lib/dbus
mkdir /floppy/var/run/pulse
cp /bin/busybox /floppy/bin
CHROOT=/floppy synchroot
qumount /floppy
Now try to qchroot into it.

I had to hack these two files to get the binaries to install (just remove all the bits where it tries to start the daemons):
/var/lib/dpkg/info/hal.postinst
/var/lib/dpkg/info/alarmd.postinst

I also had to do an ln -s command inside the chroot:
Code:
ln -s /bin/busybox /bin/su
EDIT: Just discovered that busybox is missing from the original SDK, I had to copy it in...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2010-05-20 at 00:22.
 

The Following 4 Users Say Thank You to qole For This Useful Post: