[maemo-developers] [maemo-developers] Installing both bora & gregale

From: Marius Gedminas marius at pov.lt
Date: Mon Feb 5 16:40:47 EET 2007
On Mon, Feb 05, 2007 at 03:33:26PM +0100, Klaus Rotter wrote:
> Bora and gregale are both scratchbox Apophis R4 based, so is there a way 
> to install them both on the same sbox environment?

Yes.  Create separate targets, that's all.

First install Scratchbox (these instructions are for Ubuntu Edgy):

  $ echo deb http://scratchbox.org/debian/ ./ | sudo tee /etc/apt/sources.list
  $ sudo apt-get update
  $ sudo apt-get install scratchbox-core scratchbox-libs \
        scratchbox-devkit-debian scratchbox-devkit-doctools \
        scratchbox-devkit-perl scratchbox-devkit-cputransp \
        scratchbox-toolchain-cs2005q3.2-glibc-arm \

  $ sudo /scratchbox/sbin/sbox_adduser $USER

  log out, log in (for the sbox group to take effect)

Then install 3.0:

  $ wget http://repository.maemo.org/stable/bora/maemo-sdk-install_3.0.sh

  $ bash maemo-sdk-install_3.0.sh

  $ /scratchbox/tools/bin/sb-conf select SDK_X86
  $ /scratchbox/login fakeroot apt-get install -f maemo-explicit

  $ /scratchbox/tools/bin/sb-conf select SDK_ARMEL
  $ /scratchbox/login fakeroot apt-get install -f maemo-explicit

Then install 2.2

  download rootstraps from http://repository.maemo.org/stable/gregale/ to

  $ /scratchbox/tools/bin/sb-conf setup SDK2.2_ARMEL \
        --compiler=cs2005q3.2-glibc-arm --devkits=cputransp:debian \
  $ /scratchbox/tools/bin/sb-conf select SDK2.2_ARMEL
  $ /scratchbox/tools/bin/sb-conf rootstrap SDK2.2_ARMEL \
  $ /scratchbox/tools/bin/sb-conf install SDK2.2_ARMEL --etc --devkits \

  $ /scratchbox/tools/bin/sb-conf setup SDK2.2_PC \
        --compiler=cs2005q3.2-glibc-i386 --devkits=debian
  $ /scratchbox/tools/bin/sb-conf select SDK2.2_PC
  $ /scratchbox/tools/bin/sb-conf rootstrap SDK2.2_PC \
  $ /scratchbox/tools/bin/sb-conf install SDK2.2_PC --etc --devkits --fakeroot

Disclaimer: I did this with 2.1 (scirocco) and just replaced 2.1 with 2.2 in
the instructions.

Marius Gedminas
Those who don't understand Linux are doomed to reinvent it, poorly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070205/29017ab6/attachment.pgp 
More information about the maemo-developers mailing list