summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/build.linux218
-rwxr-xr-xpackage/build.windows40
-rw-r--r--package/pkginfo.manifest30
-rwxr-xr-xpackage/rootstrap-device.platform.install.linux6
-rw-r--r--package/rootstrap-device.platform.remove.linux3
-rw-r--r--package/rootstrap-device.platform.remove.windows3
-rwxr-xr-xpackage/rootstrap-emulator.platform.install.linux6
-rw-r--r--package/rootstrap-emulator.platform.remove.linux3
-rw-r--r--package/rootstrap-emulator.platform.remove.windows3
-rw-r--r--tizen-device-1.0.base.obs/pkglist3
-rw-r--r--tizen-device-1.0.base.obs/tizen-device-1.0.base.cfg11
-rw-r--r--tizen-device-1.0.base.sb2/pkglist (renamed from tizen-device-1.0.base/pkglist)0
-rw-r--r--tizen-device-1.0.base.sb2/tizen-device-1.0.base.cfg (renamed from tizen-device-1.0.base/tizen-device-1.0.base.cfg)0
-rw-r--r--tizen-device-1.0.sb2/tizen-device-1.0.sb2.cfg4
-rw-r--r--tizen-device-1.0.sb2/tizen-device-1.0.sb2.xml2
-rw-r--r--tizen-emulator-1.0.base.obs/pkglist3
-rw-r--r--tizen-emulator-1.0.base.obs/tizen-emulator-1.0.base.cfg11
-rw-r--r--tizen-emulator-1.0.base.sb2/pkglist (renamed from tizen-emulator-1.0.base/pkglist)0
-rw-r--r--tizen-emulator-1.0.base.sb2/tizen-emulator-1.0.base.cfg (renamed from tizen-emulator-1.0.base/tizen-emulator-1.0.base.cfg)0
-rw-r--r--tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.xml2
20 files changed, 236 insertions, 112 deletions
diff --git a/package/build.linux b/package/build.linux
index f744fd7..af78ba9 100755
--- a/package/build.linux
+++ b/package/build.linux
@@ -1,6 +1,44 @@
#!/bin/sh -xe
+
+# set options start =============
+ #SBS platform
+#BUILDSYSTEM=SBS
+#BASE_URL="ssh://165.213.180.233/home/slp2.0/debian/www/apt.sbs"
+#SNAPSHOT="TIZEN_20120330_1"
+
+
+ #SBS public
+BASE_URL="ssh://165.213.180.233/home/slp2.0/debian/www/apt.open.test"
+BUILDSYSTEM=SBS
+SNAPSHOT=TIZEN_20120422_1
+
+ #OBS
+#BUILDSYSTEM=OBS
+
+
+case $BUILDSYSTEM in
+ "OBS")
+ URL_ARM="http://165.213.148.149:82/TIZEN:/1.0:/Public/standard; http://165.213.148.149:82/TIZEN:/1.0:/Shared/standard; http://165.213.148.149:82/TIZEN:/1.0:/Hidden/standard; http://165.213.148.149:82/SLP:/Bootstrap/standard; http://165.213.148.149:82/SLP:/System/standard"
+ URL_I386="http://165.213.148.149:82/TIZEN:/1.0:/Public/standard; http://165.213.148.149:82/TIZEN:/1.0:/Shared/standard; http://165.213.148.149:82/TIZEN:/1.0:/Hidden/standard; http://165.213.148.149:82/SLP:/Bootstrap/standard; http://165.213.148.149:82/SLP:/System/standard"
+ ;;
+ "SBS")
+ if [ "$SNAPSHOT" ]
+ then
+ URL_ARM="$BASE_URL/armel slp2-target/snapshots/$SNAPSHOT main contrib non-free"
+ URL_I386="$BASE_URL/i386 slp2-target/snapshots/$SNAPSHOT main contrib non-free"
+ else
+ URL_ARM="$BASE_URL/armel slp2-target main contrib non-free"
+ URL_I386="$BASE_URL/i386 slp2-target main contrib non-free"
+ fi
+ ;;
+ *)
+ echo "not support \"$BUILDSYSTEM\" yet !!"
+ exit 1
+ ;;
+esac
+
ROGEN="${ROOTDIR}/SDK/build-system/image-creator/bin/rogen.rb"
-SNAPSHOT=
+#SNAPSHOT="TIZEN_20120403_1"
if [ "$SNAPSHOT" ]
then
@@ -23,59 +61,159 @@ clean()
rm -rf $SRCDIR/tizen-device-1.0.sb2/.temp
rm -rf $SRCDIR/tizen-device-1.0.sb2/*.zip
rm -rf $SRCDIR/tizen-device-1.0.sb2/package/data
- rm -rf $SRCDIR/tizen-emulator-1.0.base/.temp
- rm -rf $SRCDIR/tizen-emulator-1.0.base/tizen-emulator-1.0.base
- rm -rf $SRCDIR/tizen-emulator-1.0.base/*.zip
- rm -rf $SRCDIR/tizen-emulator-1.0.base/package/data
- rm -rf $SRCDIR/tizen-device-1.0.base/.temp
- rm -rf $SRCDIR/tizen-device-1.0.base/tizen-device-1.0.base
- rm -rf $SRCDIR/tizen-device-1.0.base/*.zip
- rm -rf $SRCDIR/tizen-device-1.0.base/package/data
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.sb2/.temp
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.sb2/tizen-emulator-1.0.base
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.sb2/*.zip
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.sb2/package/data
+ rm -rf $SRCDIR/tizen-device-1.0.base.sb2/.temp
+ rm -rf $SRCDIR/tizen-device-1.0.base.sb2/tizen-device-1.0.base
+ rm -rf $SRCDIR/tizen-device-1.0.base.sb2/*.zip
+ rm -rf $SRCDIR/tizen-device-1.0.base.sb2/package/data
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.obs/.temp
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.obs/tizen-emulator-1.0.base
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.obs/*.zip
+ rm -rf $SRCDIR/tizen-emulator-1.0.base.obs/package/data
+ rm -rf $SRCDIR/tizen-device-1.0.base.obs/.temp
+ rm -rf $SRCDIR/tizen-device-1.0.base.obs/tizen-device-1.0.base
+ rm -rf $SRCDIR/tizen-device-1.0.base.obs/*.zip
+ rm -rf $SRCDIR/tizen-device-1.0.base.obs/package/data
}
# build
build()
{
- NAME=tizen-device-1.0.sb2
- cd $SRCDIR/$NAME
- $ROGEN -n $NAME -v 0.20.0 -u "$URL_ARM" -o linux -l ./pkglist -c $NAME.cfg
+ case $BUILDSYSTEM in
+ "OBS")
+ NAME=tizen-device-1.0.base
+ cd $SRCDIR/$NAME.obs
+ $ROGEN -n $NAME -v 0.20.0 -u "$URL_ARM" -o linux -l ./pkglist -c $NAME.cfg
- NAME=tizen-emulator-1.0.sb2
- cd $SRCDIR/$NAME
- $ROGEN -n $NAME -v 0.20.0 -u "$URL_I386" -o linux -l ./pkglist -c $NAME.cfg
+ NAME=tizen-emulator-1.0.base
+ cd $SRCDIR/$NAME.obs
+ $ROGEN -n $NAME -v 0.20.0 -u "$URL_I386" -o linux -l ./pkglist -c $NAME.cfg
+ ;;
+ "SBS")
+ NAME=tizen-device-1.0.sb2
+ cd $SRCDIR/$NAME
+ $ROGEN -n $NAME -v 0.20.0 -u "$URL_ARM" -o linux -l ./pkglist -c $NAME.cfg
+
+ NAME=tizen-emulator-1.0.sb2
+ cd $SRCDIR/$NAME
+ $ROGEN -n $NAME -v 0.20.0 -u "$URL_I386" -o linux -l ./pkglist -c $NAME.cfg
- NAME=tizen-device-1.0.base
- cd $SRCDIR/$NAME
- $ROGEN -n $NAME -v 0.20.0 -u "$URL_ARM" -o linux -l ./pkglist -c $NAME.cfg
+ NAME=tizen-device-1.0.base
+ cd $SRCDIR/$NAME.sb2
+ $ROGEN -n $NAME -v 0.20.0 -u "$URL_ARM" -o linux -l ./pkglist -c $NAME.cfg
- NAME=tizen-emulator-1.0.base
- cd $SRCDIR/$NAME
- $ROGEN -n $NAME -v 0.20.0 -u "$URL_I386" -o linux -l ./pkglist -c $NAME.cfg
+ NAME=tizen-emulator-1.0.base
+ cd $SRCDIR/$NAME.sb2
+ $ROGEN -n $NAME -v 0.20.0 -u "$URL_I386" -o linux -l ./pkglist -c $NAME.cfg
+ ;;
+ *)
+ echo "not support \"$BUILDSYSTEM\" yet !!"
+ exit 1
+ ;;
+ esac
+}
+
+
+cache_key()
+{
+ rm -rf .key
+ echo $URL_ARM > .key
+ echo $URL_I386 >> .key
+ echo $SNAPSHOT >> .key
+ echo $BUILD_TARGET_OS >> .key
+ if [ "$BUILDSYSTEM" = "SBS" ] ; then
+ cat $SRCDIR/tizen-device-1.0.sb2/pkglist >> .key
+ cat $SRCDIR/tizen-device-1.0.sb2/tizen-device-1.0.sb2.cfg >> .key
+ cat $SRCDIR/tizen-device-1.0.sb2/tizen-device-1.0.sb2.xml >> .key
+ cat $SRCDIR/tizen-emulator-1.0.sb2/pkglist >> .key
+ cat $SRCDIR/tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.cfg >> .key
+ cat $SRCDIR/tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.xml >> .key
+ cat $SRCDIR/tizen-device-1.0.base.sb2/pkglist >> .key
+ cat $SRCDIR/tizen-device-1.0.base.sb2/tizen-device-1.0.base.cfg >> .key
+ cat $SRCDIR/tizen-emulator-1.0.base.sb2/pkglist >> .key
+ cat $SRCDIR/tizen-emulator-1.0.base.sb2/tizen-emulator-1.0.base.cfg >> .key
+ else
+ cat $SRCDIR/tizen-device-1.0.base.obs/pkglist >> .key
+ cat $SRCDIR/tizen-device-1.0.base.obs/tizen-device-1.0.base.cfg >> .key
+ cat $SRCDIR/tizen-emulator-1.0.base.obs/pkglist >> .key
+ cat $SRCDIR/tizen-emulator-1.0.base.obs/tizen-emulator-1.0.base.cfg >> .key
+ fi
+ MD5SUM="`md5sum .key | cut -d ' ' -f1`"
+ rm -rf .key
+ echo $MD5SUM
}
+
+save_cache()
+{
+ if [ "$BUILDSYSTEM" = "SBS" ] ; then
+ cp ${SRCDIR}/tizen-device-1.0.sb2/rootstrap-tizen-device-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip ${CACHEDIR}/rootstrap-tizen-device-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${SRCDIR}/tizen-emulator-1.0.sb2/rootstrap-tizen-emulator-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip ${CACHEDIR}/rootstrap-tizen-emulator-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${SRCDIR}/tizen-device-1.0.base.sb2/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${CACHEDIR}/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${SRCDIR}/tizen-emulator-1.0.base.sb2/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${CACHEDIR}/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ else
+ cp ${SRCDIR}/tizen-device-1.0.base.obs/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${CACHEDIR}/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${SRCDIR}/tizen-emulator-1.0.base.obs/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${CACHEDIR}/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ fi
+}
+
+
+build_cache()
+{
+ if [ "$BUILDSYSTEM" = "SBS" ] ; then
+ cp ${CACHEDIR}/rootstrap-tizen-device-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip ${SRCDIR}/tizen-device-1.0.sb2/rootstrap-tizen-device-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${CACHEDIR}/rootstrap-tizen-emulator-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip ${SRCDIR}/tizen-emulator-1.0.sb2/rootstrap-tizen-emulator-1.0.sb2_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${CACHEDIR}/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${SRCDIR}/tizen-device-1.0.base.sb2/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${CACHEDIR}/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${SRCDIR}/tizen-emulator-1.0.base.sb2/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ else
+ cp ${CACHEDIR}/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${SRCDIR}/tizen-device-1.0.base.obs/rootstrap-tizen-device-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ cp ${CACHEDIR}/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip ${SRCDIR}/tizen-emulator-1.0.base.obs/rootstrap-tizen-emulator-1.0.base_0.20.0_${BUILD_TARGET_OS}.zip
+ fi
+}
+
+
# install
install()
{
- INSTALL_DIR=$SRCDIR/package/rootstrap-device.platform.package.linux
- mkdir -p $INSTALL_DIR
- cd $INSTALL_DIR
- unzip $SRCDIR/tizen-device-1.0.sb2/rootstrap-tizen-device-1.0.sb2_0.20.0_linux.zip
-
- INSTALL_DIR=$SRCDIR/package/rootstrap-emulator.platform.package.linux
- mkdir -p $INSTALL_DIR
- cd $INSTALL_DIR
- unzip $SRCDIR/tizen-emulator-1.0.sb2/rootstrap-tizen-emulator-1.0.sb2_0.20.0_linux.zip
-
- INSTALL_DIR=$SRCDIR/package/rootstrap-device.base.package.linux
- mkdir -p $INSTALL_DIR
- cd $INSTALL_DIR
- unzip $SRCDIR/tizen-device-1.0.base/rootstrap-tizen-device-1.0.base_0.20.0_linux.zip
-
- INSTALL_DIR=$SRCDIR/package/rootstrap-emulator.base.package.linux
- mkdir -p $INSTALL_DIR
- cd $INSTALL_DIR
- unzip $SRCDIR/tizen-emulator-1.0.base/rootstrap-tizen-emulator-1.0.base_0.20.0_linux.zip
+ if [ "$BUILDSYSTEM" = "SBS" ] ; then
+ INSTALL_DIR=$SRCDIR/package/rootstrap-device.platform.package.linux
+ mkdir -p $INSTALL_DIR
+ cd $INSTALL_DIR
+ unzip $SRCDIR/tizen-device-1.0.sb2/rootstrap-tizen-device-1.0.sb2_0.20.0_linux.zip
+ mkdir -p $INSTALL_DIR/data/SDK/build-system/plugins/
+ cp $SRCDIR/tizen-device-1.0.sb2/tizen-device-1.0.sb2.xml $INSTALL_DIR/data/SDK/build-system/plugins
+
+ INSTALL_DIR=$SRCDIR/package/rootstrap-emulator.platform.package.linux
+ mkdir -p $INSTALL_DIR
+ cd $INSTALL_DIR
+ unzip $SRCDIR/tizen-emulator-1.0.sb2/rootstrap-tizen-emulator-1.0.sb2_0.20.0_linux.zip
+ mkdir -p $INSTALL_DIR/data/SDK/build-system/plugins/
+ cp $SRCDIR/tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.xml $INSTALL_DIR/data/SDK/build-system/plugins
+
+ INSTALL_DIR=$SRCDIR/package/rootstrap-device.base.package.linux
+ mkdir -p $INSTALL_DIR
+ cd $INSTALL_DIR
+ unzip $SRCDIR/tizen-device-1.0.base.sb2/rootstrap-tizen-device-1.0.base_0.20.0_linux.zip
+
+ INSTALL_DIR=$SRCDIR/package/rootstrap-emulator.base.package.linux
+ mkdir -p $INSTALL_DIR
+ cd $INSTALL_DIR
+ unzip $SRCDIR/tizen-emulator-1.0.base.sb2/rootstrap-tizen-emulator-1.0.base_0.20.0_linux.zip
+ else
+ INSTALL_DIR=$SRCDIR/package/rootstrap-device.base.package.linux
+ mkdir -p $INSTALL_DIR
+ cd $INSTALL_DIR
+ unzip $SRCDIR/tizen-device-1.0.base.obs/rootstrap-tizen-device-1.0.base_0.20.0_linux.zip
+
+ INSTALL_DIR=$SRCDIR/package/rootstrap-emulator.base.package.linux
+ mkdir -p $INSTALL_DIR
+ cd $INSTALL_DIR
+ unzip $SRCDIR/tizen-emulator-1.0.base.obs/rootstrap-tizen-emulator-1.0.base_0.20.0_linux.zip
+ fi
}
diff --git a/package/build.windows b/package/build.windows
deleted file mode 100755
index b86f03d..0000000
--- a/package/build.windows
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh -x
-if [ "$WORKSPACE" ]
-then
- CURDIR=$WORKSPACE/smart-build-interface
- CURDIR="`echo $CURDIR | tr '\\' '/' | sed 's/C:/\/c/'`"
- echo $CURDIR
- cd $CURDIR
-else
- CURDIR=`pwd`
-fi
-
-rm -rf $CURDIR/package
-mkdir -p $CURDIR/package
-
-#pkginfo file copy
-cp $CURDIR/pkginfo.manifest $CURDIR/package/pkginfo.manifest
-#copy remove script
-cp $CURDIR/remove.bat $CURDIR/package/remove.bat
-#add remove script section for pkginfo.manifest
-echo "Remove-script : remove.bat" >> $CURDIR/package/pkginfo.manifest
-
-VERSION=`cat "$CURDIR"/package/pkginfo.manifest | grep Version | cut -d ':' -f2 | tr -d ' ' `
-
-#init
-rm -rf *.zip
-rm -rf "$CURDIR"/package/data
-mkdir -p "$CURDIR"/package/data/SDK/build-system/bin
-mkdir -p "$CURDIR"/package/data/SDK/build-system/plugins
-
-make clean ; make
-
-#copy
-cp "$CURDIR"/bin/sbi.exe $CURDIR/package/data/SDK/build-system/bin/
-cp "$CURDIR"/bin/sbi_build.exe $CURDIR/package/data/SDK/build-system/bin/
-cp "$CURDIR"/libxml2/usr/bin/*.dll $CURDIR/package/data/SDK/build-system/bin/
-cp "$CURDIR"/sbi-build.bat $CURDIR/package/data/SDK/build-system/bin/
-
-#packaging
-cd "$CURDIR"/package
-zip -r "$CURDIR"/smart-build-interface_${VERSION}_windows.zip *
diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest
index eae22e9..fe65c3a 100644
--- a/package/pkginfo.manifest
+++ b/package/pkginfo.manifest
@@ -1,39 +1,37 @@
Package : rootstrap-device.platform
-Version : 0.20.14
+Version : 0.23.15
OS : linux
-Build-host-os : linux
-Build-dependency : image-creator [linux]
-Install-dependency :
Maintainer : Taejun Ha <taejun.ha@samsung.com>, Jiil Hyoun <jiil.hyoun@samsung.com>, Donghyuk Yang <donghyuk.yang@samsung.com>, Donghee Yang<donghee.yang@samsung.com>
+Build-host-os : linux
Source : platform-dev-rootstrap
+Build-dependency : image-creator [linux]
+Install-dependency : sbi-toolchain-gcc-4.5.platform [linux]
Description : ARM rootstrap for platform development
Package : rootstrap-emulator.platform
-Version : 0.20.14
+Version : 0.23.15
OS : linux
-Build-host-os : linux
-Build-dependency : image-creator [linux]
-Install-dependency :
Maintainer : Taejun Ha <taejun.ha@samsung.com>, Jiil Hyoun <jiil.hyoun@samsung.com>, Donghyuk Yang <donghyuk.yang@samsung.com>, Donghee Yang<donghee.yang@samsung.com>
+Build-host-os : linux
Source : platform-dev-rootstrap
+Build-dependency : image-creator [linux]
+Install-dependency : sbi-toolchain-gcc-4.5.platform [linux]
Description : I386 rootstrap for platform development
Package : rootstrap-device.base
-Version : 0.20.14
+Version : 0.23.15
OS : linux
-Build-host-os : linux
-Build-dependency : image-creator [linux]
-Install-dependency :
Maintainer : Taejun Ha <taejun.ha@samsung.com>, Jiil Hyoun <jiil.hyoun@samsung.com>, Donghyuk Yang <donghyuk.yang@samsung.com>, Donghee Yang<donghee.yang@samsung.com>
+Build-host-os : linux
Source : platform-dev-rootstrap
+Build-dependency : image-creator [linux]
Description : ARM rootstrap for cross toolchain development
Package : rootstrap-emulator.base
-Version : 0.20.14
+Version : 0.23.15
OS : linux
-Build-host-os : linux
-Build-dependency : image-creator [linux]
-Install-dependency :
Maintainer : Taejun Ha <taejun.ha@samsung.com>, Jiil Hyoun <jiil.hyoun@samsung.com>, Donghyuk Yang <donghyuk.yang@samsung.com>, Donghee Yang<donghee.yang@samsung.com>
+Build-host-os : linux
Source : platform-dev-rootstrap
+Build-dependency : image-creator [linux]
Description : I386 rootstrap for cross toolchain development
diff --git a/package/rootstrap-device.platform.install.linux b/package/rootstrap-device.platform.install.linux
new file mode 100755
index 0000000..ae4dc92
--- /dev/null
+++ b/package/rootstrap-device.platform.install.linux
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+unlink ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-device-1.0.sb2/root/.ssh
+ln -s $HOME/.ssh ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-device-1.0.sb2/root/.ssh
+echo "app:x:5000:5000:In-house application:/home/app:/bin/sh" >> ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-device-1.0.sb2/etc/passwd
+echo "app:x:5000:" >> ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-device-1.0.sb2/etc/group
diff --git a/package/rootstrap-device.platform.remove.linux b/package/rootstrap-device.platform.remove.linux
deleted file mode 100644
index 14b5ebd..0000000
--- a/package/rootstrap-device.platform.remove.linux
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-rm -rf ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-device-1.0.sb2
diff --git a/package/rootstrap-device.platform.remove.windows b/package/rootstrap-device.platform.remove.windows
deleted file mode 100644
index a62bf3a..0000000
--- a/package/rootstrap-device.platform.remove.windows
+++ /dev/null
@@ -1,3 +0,0 @@
-:: delims is a TAB followed by a space
-SET installed_path=%INSTALLED_PATH%
-RMDIR /S /Q %installed_path%\SDK\build-system\tizen-device-1.0.sb2
diff --git a/package/rootstrap-emulator.platform.install.linux b/package/rootstrap-emulator.platform.install.linux
new file mode 100755
index 0000000..1e6329d
--- /dev/null
+++ b/package/rootstrap-emulator.platform.install.linux
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+unlink ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-emulator-1.0.sb2/root/.ssh
+ln -s $HOME/.ssh ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-emulator-1.0.sb2/root/.ssh
+echo "app:x:5000:5000:In-house application:/home/app:/bin/sh" >> ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-emulator-1.0.sb2/etc/passwd
+echo "app:x:5000:" >> ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-emulator-1.0.sb2/etc/group
diff --git a/package/rootstrap-emulator.platform.remove.linux b/package/rootstrap-emulator.platform.remove.linux
deleted file mode 100644
index 2a330e3..0000000
--- a/package/rootstrap-emulator.platform.remove.linux
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-rm -rf ${INSTALLED_PATH}/SDK/build-system/rootstraps/tizen-emulator-1.0.sb2
diff --git a/package/rootstrap-emulator.platform.remove.windows b/package/rootstrap-emulator.platform.remove.windows
deleted file mode 100644
index d797297..0000000
--- a/package/rootstrap-emulator.platform.remove.windows
+++ /dev/null
@@ -1,3 +0,0 @@
-:: delims is a TAB followed by a space
-SET installed_path=%INSTALLED_PATH%
-RMDIR /S /Q %installed_path%\SDK\build-system\tizen-emulator-1.0.sb2
diff --git a/tizen-device-1.0.base.obs/pkglist b/tizen-device-1.0.base.obs/pkglist
new file mode 100644
index 0000000..2a286eb
--- /dev/null
+++ b/tizen-device-1.0.base.obs/pkglist
@@ -0,0 +1,3 @@
++eglibc-devel
++eglibc-headers
++libstdc++-devel
diff --git a/tizen-device-1.0.base.obs/tizen-device-1.0.base.cfg b/tizen-device-1.0.base.obs/tizen-device-1.0.base.cfg
new file mode 100644
index 0000000..6e6ab85
--- /dev/null
+++ b/tizen-device-1.0.base.obs/tizen-device-1.0.base.cfg
@@ -0,0 +1,11 @@
+name = tizen-device-1.0.base
+version = 0.20.0
+arch = arm
+os = linux
+pkglist = ./pkglist
+generator = TizenBase
+controller = OBS
+http_proxy = http://172.21.17.105:3128
+
+default_protocol = rpm
+default_url = http://165.213.148.149:82/TIZEN:/1.0:/Public/standard; http://165.213.148.149:82/TIZEN:/1.0:/Shared/standard; http://165.213.148.149:82/TIZEN:/1.0:/Hidden/standard; http://165.213.148.149:82/SLP:/Bootstrap/standard; http://165.213.148.149:82/SLP:/System/standard
diff --git a/tizen-device-1.0.base/pkglist b/tizen-device-1.0.base.sb2/pkglist
index b237dff..b237dff 100644
--- a/tizen-device-1.0.base/pkglist
+++ b/tizen-device-1.0.base.sb2/pkglist
diff --git a/tizen-device-1.0.base/tizen-device-1.0.base.cfg b/tizen-device-1.0.base.sb2/tizen-device-1.0.base.cfg
index c0366ac..c0366ac 100644
--- a/tizen-device-1.0.base/tizen-device-1.0.base.cfg
+++ b/tizen-device-1.0.base.sb2/tizen-device-1.0.base.cfg
diff --git a/tizen-device-1.0.sb2/tizen-device-1.0.sb2.cfg b/tizen-device-1.0.sb2/tizen-device-1.0.sb2.cfg
index e4e2546..1d57863 100644
--- a/tizen-device-1.0.sb2/tizen-device-1.0.sb2.cfg
+++ b/tizen-device-1.0.sb2/tizen-device-1.0.sb2.cfg
@@ -2,9 +2,9 @@ name = tizen-device-1.0.sb2
version = 0.18.0
arch = arm
os = linux
-pkglist = ./pkglist_base_arm
+pkglist = ./pkglist
generator = TizenPlatform
controller = SBS
default_protocol = deb
-default_url = ssh://165.213.180.233/home/slp2.0/debian/www/apt.sbs/armel slp2-target main contrib non-free
+default_url = ssh://165.213.180.233/home/slp2.0/debian/www/apt.open.test/armel slp2-target/snapshots/TIZEN_20120408 main contrib non-free
diff --git a/tizen-device-1.0.sb2/tizen-device-1.0.sb2.xml b/tizen-device-1.0.sb2/tizen-device-1.0.sb2.xml
index 640a6e8..5ad7db8 100644
--- a/tizen-device-1.0.sb2/tizen-device-1.0.sb2.xml
+++ b/tizen-device-1.0.sb2/tizen-device-1.0.sb2.xml
@@ -1,5 +1,5 @@
<extension point="rootstrapDefinition">
- <rootstrap id="tizen-device-1.0.sb2" name="[SBOX2] Tizen Device 1.0" architecture="armel" path="#{SBI_HOME}/rootstraps/tizen-device-1.0.sb2" supportToolchainType="slp.sbox2">
+ <rootstrap id="tizen-device-1.0.sb2" name="Tizen Device 1.0 [SBOX2]" architecture="armel" path="#{SBI_HOME}/rootstraps/tizen-device-1.0.sb2" supportToolchainType="tizen.sbox2">
<property key="DEV_PACKAGE_CONFIG_PATH" value="#{SBI_HOME}/rootstraps/tizen-device-1.0.sb2/DevPackages.xml"/>
</rootstrap>
</extension>
diff --git a/tizen-emulator-1.0.base.obs/pkglist b/tizen-emulator-1.0.base.obs/pkglist
new file mode 100644
index 0000000..2a286eb
--- /dev/null
+++ b/tizen-emulator-1.0.base.obs/pkglist
@@ -0,0 +1,3 @@
++eglibc-devel
++eglibc-headers
++libstdc++-devel
diff --git a/tizen-emulator-1.0.base.obs/tizen-emulator-1.0.base.cfg b/tizen-emulator-1.0.base.obs/tizen-emulator-1.0.base.cfg
new file mode 100644
index 0000000..d275254
--- /dev/null
+++ b/tizen-emulator-1.0.base.obs/tizen-emulator-1.0.base.cfg
@@ -0,0 +1,11 @@
+name = tizen-emulator-1.0.base
+version = 0.20.0
+arch = i386
+os = linux
+pkglist = ./pkglist
+generator = TizenBase
+controller = OBS
+http_proxy = http://172.21.17.105:3128
+
+default_protocol = rpm
+default_url = http://165.213.148.149:82/TIZEN:/1.0:/Public/standard; http://165.213.148.149:82/TIZEN:/1.0:/Shared/standard; http://165.213.148.149:82/TIZEN:/1.0:/Hidden/standard; http://165.213.148.149:82/SLP:/Bootstrap/standard; http://165.213.148.149:82/SLP:/System/standard
diff --git a/tizen-emulator-1.0.base/pkglist b/tizen-emulator-1.0.base.sb2/pkglist
index b237dff..b237dff 100644
--- a/tizen-emulator-1.0.base/pkglist
+++ b/tizen-emulator-1.0.base.sb2/pkglist
diff --git a/tizen-emulator-1.0.base/tizen-emulator-1.0.base.cfg b/tizen-emulator-1.0.base.sb2/tizen-emulator-1.0.base.cfg
index 9ea1842..9ea1842 100644
--- a/tizen-emulator-1.0.base/tizen-emulator-1.0.base.cfg
+++ b/tizen-emulator-1.0.base.sb2/tizen-emulator-1.0.base.cfg
diff --git a/tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.xml b/tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.xml
index 9f99854..e72086c 100644
--- a/tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.xml
+++ b/tizen-emulator-1.0.sb2/tizen-emulator-1.0.sb2.xml
@@ -1,5 +1,5 @@
<extension point="rootstrapDefinition">
- <rootstrap id="tizen-emulator-1.0.sb2" name="[SBOX2] Tizen Emulator 1.0" architecture="i386" path="#{SBI_HOME}/rootstraps/tizen-emulator-1.0.sb2" supportToolchainType="slp.sbox2">
+ <rootstrap id="tizen-emulator-1.0.sb2" name="Tizen Emulator 1.0 [SBOX2]" architecture="i386" path="#{SBI_HOME}/rootstraps/tizen-emulator-1.0.sb2" supportToolchainType="tizen.sbox2">
<property key="DEV_PACKAGE_CONFIG_PATH" value="#{SBI_HOME}/rootstraps/tizen-emulator-1.0.sb2/DevPackages.xml"/>
</rootstrap>
</extension>