View Single Post
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#62
I can confirm the exit 101 trick works; it also seemed to take less time to download and install all the binaries this time; only around 2 hours, though this may have been coincidence!

Here's the full list of commands to run to get from qole's image to a working sdk (plus a lot of patience), please note that you will need 7zip installed (apt-get install p7zip-full). I'm also assuming the image is in /home/user/MyDocs and you will also need to replace <your token code here> with the code you receive when agreeing to the license agreement at http://tablets-dev.nokia.com/eula/index.php

Code:
cd /home/user/MyDocs
7z e maemo-sdk-v1_2.img.ext2.lzma
mkdir /floppy
qmount /home/user/MyDocs/maemo-sdk-v1_2.img.ext2 /floppy
mkdir /floppy/dev
mkdir /floppy/dev/pts
mkdir /floppy/dev/shm
mkdir /floppy/usr/share/X11
mkdir /floppy/usr/share/X11/xkb
mkdir /floppy/var/run/dbus
mkdir /floppy/var/lib/dbus
mkdir /floppy/var/run/pulse
cp /bin/busybox /floppy/bin
cp /etc/hosts /floppy/etc/hosts
cp /etc/ld.so.conf /floppy/etc/ld.so.conf
CHROOT=/floppy synchroot
echo "exit 101" > /floppy/usr/sbin/policy-rc.d
echo "deb http://repository.maemo.org/ fremantle/<your token code here> nokia-binaries" >> /floppy/etc/apt/sources.list
qumount /floppy
mkdir /sdk
qchroot /home/user/MyDocs/maemo-sdk-v1_2.img.ext2 /sdk
apt-get update
apt-get install nokia-binaries
Oh, and you may also need to run these commands as root because of creating the /floppy and /sdk directories. I did it as root by default so can't be sure.

Last edited by Tigerite; 2010-06-02 at 12:57.
 

The Following 11 Users Say Thank You to Tigerite For This Useful Post: