maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Keeping 2 scratchbox setups: Any success stories? (https://talk.maemo.org/showthread.php?t=33050)

TA-t3 2009-10-18 13:48

Keeping 2 scratchbox setups: Any success stories?
 
I'm looking at installing the fremantle SDK. However, I'm not going to abandon my current bora scratchbox setup (which I use for packages I install on my N800 as well as some I have provided for download). Scratchbox, as installed by default, only appears to support a single installation.

I could probably wrestle a second scratchbox installation into the system some way, but before I try out a hack like that I would like to know if there are some others out there with a successful dual- or multi-scratchbox installation, and some elegant steps to get there?

Nathan 2009-10-18 14:55

Re: Keeping 2 scratchbox setups: Any success stories?
 
Quote:

Originally Posted by TA-t3 (Post 350309)
I'm looking at installing the fremantle SDK. However, I'm not going to abandon my current bora scratchbox setup (which I use for packages I install on my N800 as well as some I have provided for download). Scratchbox, as installed by default, only appears to support a single installation.

I could probably wrestle a second scratchbox installation into the system some way, but before I try out a hack like that I would like to know if there are some others out there with a successful dual- or multi-scratchbox installation, and some elegant steps to get there?

use: this for the help screen
Code:

./maemo-scratchbox-install_5.0.sh -h
./maemo-sdk-install_5.0.sh -h

But in your specific case what you want:
Code:

./maemo-scratchbox-install_5.0.sh -s <PATH>
./maemo-sdk-install_5.0 -s <PATH>

where <PATH> is where you want to put this scratchbox.

Nathan

Bundyo 2009-10-18 16:35

Re: Keeping 2 scratchbox setups: Any success stories?
 
I have two and they work fine if you stop one of them BEFORE starting the other one. Be sure to check the mounts before starting, sometimes they fail to unmount on stop.

aboaboit 2009-10-27 22:17

Re: Keeping 2 scratchbox setups: Any success stories?
 
Quote:

Originally Posted by Bundyo (Post 350409)
I have two and they work fine if you stop one of them BEFORE starting the other one. Be sure to check the mounts before starting, sometimes they fail to unmount on stop.

Did you install one copy of scratchbox and two different targets in it or just two complete scratchbox/target sets side by side in different directories?

I've been trying to add a Diablo target to a Fremantle scratchbox, but it complains about missing cputransp methods, even if I manually pick one and use the "-q" option.

javispedro 2009-10-27 22:35

Re: Keeping 2 scratchbox setups: Any success stories?
 
The best way to have a single scratchbox setup and multiple targets is to just point apt to the official scratchbox repo and download most packages (you can pickpoint which ones you really need, of course). Then configure each target manually. Fortunately, Nokia still provides manual install instructions for most targets. I've run all Maemo versions this way.

Also, sometimes you have to clear ~ when switching between targets. Not very often though. There's a gconf-clean.sh script that seems to do a pretty good job.

Bundyo 2009-10-27 23:03

Re: Keeping 2 scratchbox setups: Any success stories?
 
Quote:

Originally Posted by aboaboit (Post 359355)
Did you install one copy of scratchbox and two different targets in it or just two complete scratchbox/target sets side by side in different directories?

I've been trying to add a Diablo target to a Fremantle scratchbox, but it complains about missing cputransp methods, even if I manually pick one and use the "-q" option.

2 different scratchboxes in different folders, and about 5 targets in both. I have also another 3 even older scratchboxes on different disks and one scratchbox 2 in a chroot (which is like a 15GB alone :))

aboaboit 2009-10-28 08:54

Re: Keeping 2 scratchbox setups: Any success stories?
 
Quote:

Originally Posted by javispedro (Post 359376)
The best way to have a single scratchbox setup and multiple targets is to just point apt to the official scratchbox repo and download most packages (you can pickpoint which ones you really need, of course). Then configure each target manually. Fortunately, Nokia still provides manual install instructions for most targets. I've run all Maemo versions this way.

The host is a 64bit Kubuntu 9.04 so most "boilerplate" instructions I've seen so far run into trouble somewhere along the line. I guess shared setups just are not the typical use-case, so I'll give it a try to manual installation.

I found these links:
Install guide for 4.1.2 SDK
Install guide for 5.0 SDK

Is there any other documentation that's relevant for this situation?

Thanks,
Andrea.


All times are GMT. The time now is 16:14.

vBulletin® Version 3.8.8