remove emulator rootstrap
authorChangseok, Oh <seok.oh@samsung.com>
Tue, 29 Aug 2017 10:57:41 +0000 (19:57 +0900)
committerChangseok, Oh <seok.oh@samsung.com>
Tue, 29 Aug 2017 10:58:13 +0000 (19:58 +0900)
Change-Id: Ibe13968757448f304d2314228169edfbd933f50e
Signed-off-by: Changseok, Oh <seok.oh@samsung.com>
package_rootstrap.sh

index 6466f95..4e57a7e 100755 (executable)
@@ -237,13 +237,13 @@ function pkg_build()
     log_info "Genarated Basic RS resource [${pkg_dir}] ... "
     )
 
-    pkg_build_internal ${EMULATOR}
-    (
-    cd ${PATH_PACKAGE_RES}
-    zip -r ${NAME_EMULATOR_PKG_ZIP} data >/dev/null
-    mv ${PATH_PACKAGE_RES}/*.zip ${pkg_dir}
-    log_info "Genarated Basic RS resource [${pkg_dir}] ... "
-    )
+#    pkg_build_internal ${EMULATOR}
+#    (
+#    cd ${PATH_PACKAGE_RES}
+#    zip -r ${NAME_EMULATOR_PKG_ZIP} data >/dev/null
+#    mv ${PATH_PACKAGE_RES}/*.zip ${pkg_dir}
+#    log_info "Genarated Basic RS resource [${pkg_dir}] ... "
+#    )
 
 }
 
@@ -388,11 +388,10 @@ printf "Done\n\n"
 
 #CHECK Resource from make_rootstrap.sh
 printf "check Resource Directory ... "
-if [ ! -e ${DIR_INFO} ] || [ ! -e ${DIR_PLUGIN} ] || [ ! -e ${DIR_EMULATOR} ] || [ ! -e ${DIR_TARGET} ]
+if [ ! -e ${DIR_INFO} ] || [ ! -e ${DIR_PLUGIN} ] || [ ! -e ${DIR_TARGET} ]
 then
     echo "Check resource dirs are exist !" 1>&2
     echo "${DIR_INFO}" 1>&2
-    echo "${DIR_EMULATOR}" 1>&2
     echo "${DIR_TARGET}" 1>&2
     echo "${DIR_PLUGIN}" 1>&2
     exit -1
@@ -478,13 +477,13 @@ mv ${PATH_PACKAGE_RES}/*.zip ${pkg_dir}
 log_info "Genarated Basic RS resource [${pkg_dir}] ... \n\n"
 )
 
-pkg_build_internal ${EMULATOR}
-(
-cd ${PATH_PACKAGE_RES}
-zip -r ${NAME_EMULATOR_PKG_ZIP} data >/dev/null
-mv ${PATH_PACKAGE_RES}/*.zip ${pkg_dir}
-log_info "Genarated Basic RS resource [${pkg_dir}] ... \n\n"
-)
+#pkg_build_internal ${EMULATOR}
+#(
+#cd ${PATH_PACKAGE_RES}
+#zip -r ${NAME_EMULATOR_PKG_ZIP} data >/dev/null
+#mv ${PATH_PACKAGE_RES}/*.zip ${pkg_dir}
+#log_info "Genarated Basic RS resource [${pkg_dir}] ... \n\n"
+#)
 
 log "Done... [$SECONDS]Sec\n\n"
 
@@ -512,9 +511,9 @@ if [[ "$SDKPKG" == true ]] && [[ -z "$SNAPSHOT" ]] ; then
         zip "${DIR_TMP_SDK_PKG}/${OS}/${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${DEVICE}.core${PRIVATE}_${TMP_PKG_VERSION}_${OS}.zip" pkginfo.manifest
         
         #emulator
-        mv ${DIR_TMP_SDK_PKG}/${OS}/${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core*.zip ${DIR_TMP_SDK_PKG}/${OS}/${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}_${TMP_PKG_VERSION}_${OS}.zip
-        create_pkginfo "${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}" "$TMP_PKG_VERSION" "all"
-        zip "${DIR_TMP_SDK_PKG}/${OS}/${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}_${TMP_PKG_VERSION}_${OS}.zip" pkginfo.manifest
+#        mv ${DIR_TMP_SDK_PKG}/${OS}/${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core*.zip ${DIR_TMP_SDK_PKG}/${OS}/${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}_${TMP_PKG_VERSION}_${OS}.zip
+#        create_pkginfo "${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}" "$TMP_PKG_VERSION" "all"
+#        zip "${DIR_TMP_SDK_PKG}/${OS}/${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}_${TMP_PKG_VERSION}_${OS}.zip" pkginfo.manifest
     done
     
     rm $DIR_OUTPUT/*.zip
@@ -530,8 +529,8 @@ if [[ -n "$SNAPSHOT" ]] ; then
     
 
     #emulator
-    create_pkginfo "${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}" "0.0.1" "all"
-    find $DIR_OUTPUT -name "*emulator*.zip" -exec zip {} pkginfo.manifest \;
+#    create_pkginfo "${PLATFORM_PROFILE}-${PLATFORM_VERSION}-rs-${EMULATOR}.core${PRIVATE}" "0.0.1" "all"
+#    find $DIR_OUTPUT -name "*emulator*.zip" -exec zip {} pkginfo.manifest \;
 fi
 
 ###############################################################################