[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]
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 ====
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