2 Procedure for installing and running SBS
3 ----------------------------------------
5 This procedure installs both Scratchbox2 and SBS
7 You will end up with a directory structure like this:
9 # clones of sbs and scratchbox2 repositories
10 # scratchbox2 repo is cloned automatically by the install script
16 # exectuables (created by install script)
19 # sbs data directories (created by sbs script)
23 Make sure that http://127.0.0.1/apt is not behind a proxy.
24 Proxies can cause the sbs script to fail.
27 Setup SBS (takes about 5 minutes):
29 1. git config --global user.email "your_id@your_company.com"
31 3. sudo aptitude install debootstrap
32 4. git clone git://review.tizen.org/tools/sbs
33 5. cd sbs ; ./install-sbs
36 Setting up SBS environment (takes about 20 minutes):
38 1. ~/sbs-install/bin/sbs -A i386 -c
41 Building a module with SBS:
43 1. git clone git://review.tizen.org/pkgs/e/ecore.git
45 3. ~/sbs-install/bin/sbs -e dpkg-buildpackage -b # will fail because of missing build deps
46 4. ~/sbs-install/bin/sbs -et apt-get install ... # install list of build dependencies
47 5. ~/sbs-install/bin/sbs -e dpkg-buildpackage -b
50 Updating SBS environment:
52 1. ~/sbs-install/bin/sbs -et apt-get update
53 2. ~/sbs-install/bin/sbs -et apt-get upgrade
56 Rebuild SBS environment (takes around 30 minutes)
58 1. ~/sbs-install/bin/sbs -k #then type "YES"
59 2. ~/sbs-install/bin/sbs -c