[Title] Vtm.png is missing in the emulator package file.
authorkt920.kim <kt920.kim@samsung.com>
Mon, 24 Oct 2011 06:39:16 +0000 (15:39 +0900)
committerkt920.kim <kt920.kim@samsung.com>
Mon, 24 Oct 2011 06:39:16 +0000 (15:39 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
 Install script does not work correctly because vtm.png is not included in the emulator package file.
[Cause]
 As install script failed to copy vtm.png to a specific directory, install script stopped to make desktop files(shortcut files).
[Solution]
 Include vtm.png file in the emulator package file.
[TestCase]

SLP/build_pkg.sh
SLP/package/install

index 66fa4c9..7b6f84c 100755 (executable)
@@ -71,6 +71,7 @@ create_emulator_metascript () {
 make_emulator_release_pkg () {
        echo ==== Start compressing emulator Packaging ====
        cp $BUILD_DIR/skins/icons/emulator.png $PKG_BIN_DIR/
+       cp $BUILD_DIR/skins/icons/vtm.png $PKG_BIN_DIR/
        cd $PKG_BIN_DIR
        zip -r $PKG_OUTPUT *
        echo ==== Finish compressing emulator Packaging ====
index d40fa8f..4d1db7e 100755 (executable)
@@ -37,8 +37,24 @@ categoryfile=~/.local/share/desktop-directories/samsung-sdk_menu.directory
 
 mkdir -p $iconpath
 
-cp -f $SLP_SDK_INSTALL_PATH/temp/$emul_iconfile $iconpath/$emul_iconfile
-cp -f $SLP_SDK_INSTALL_PATH/temp/$vtm_iconfile $iconpath/$vtm_iconfile
+if test -e $SLP_SDK_INSTALL_PATH/temp/$emul_iconfile
+then
+       cp -f $SLP_SDK_INSTALL_PATH/temp/$emul_iconfile $iconpath/$emul_iconfile
+else
+       echo "$emul_iconfile does not exist!!"
+       exit 1
+fi
+
+if test -e $SLP_SDK_INSTALL_PATH/temp/$vtm_iconfile 
+then 
+       cp -f $SLP_SDK_INSTALL_PATH/temp/$vtm_iconfile $iconpath/$vtm_iconfile
+else
+       echo "$vtm_iconfile does not exist!!"
+       exit 1
+fi
+
+#cp -f $SLP_SDK_INSTALL_PATH/temp/$emul_iconfile $iconpath/$emul_iconfile
+#cp -f $SLP_SDK_INSTALL_PATH/temp/$vtm_iconfile $iconpath/$vtm_iconfile
 
 mkdir -p $desktoppath