summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMunkyu Im <munkyu.im@samsung.com>2016-08-20 16:42:23 +0900
committerMunkyu Im <munkyu.im@samsung.com>2016-08-22 15:48:21 +0900
commit381382b2bca76ca636a1b0672a359f9815de1366 (patch)
tree59784d88033f0e0e741600b8886638b8b9052f25 /package
parentc8ff603e14186c16d99e644bf17911a37f86c96c (diff)
downloadqemu-381382b2bca76ca636a1b0672a359f9815de1366.tar.gz
qemu-381382b2bca76ca636a1b0672a359f9815de1366.tar.bz2
qemu-381382b2bca76ca636a1b0672a359f9815de1366.zip
build: remove check-xxx and kvm module
These binaries are moved to emulator-supplements package. Change-Id: I01fd4724dcc5d141490d3dd438d3fc43424ffd20 Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Diffstat (limited to 'package')
-rwxr-xr-xpackage/emulator-qemu-x86.install.ubuntu-3266
-rwxr-xr-xpackage/emulator-qemu-x86.install.ubuntu-6466
-rwxr-xr-xpackage/emulator-qemu-x86.remove.ubuntu-3235
-rwxr-xr-xpackage/emulator-qemu-x86.remove.ubuntu-6435
4 files changed, 0 insertions, 202 deletions
diff --git a/package/emulator-qemu-x86.install.ubuntu-32 b/package/emulator-qemu-x86.install.ubuntu-32
index ed99ee5c24..29af8a1829 100755
--- a/package/emulator-qemu-x86.install.ubuntu-32
+++ b/package/emulator-qemu-x86.install.ubuntu-32
@@ -1,12 +1,5 @@
#!/bin/bash -x
-TIZEN_KVM_SCRIPT=/etc/init.d/tizen-kvm-multi
-if [ -f ${TIZEN_KVM_SCRIPT} ]
-then
- echo "tizen-kvm-multi does exist. tizen-kvm does not need to be installed."
- exit 0;
-fi
-
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z "${TIZEN_SDK_INSTALL_PATH}" ]
then
@@ -28,62 +21,3 @@ if [ ! -z "${OS_NAME}" ]; then
OS_NAME=`echo ${OS_NAME} | tr '[:upper:]' '[:lower:]'`
fi
echo "Linux Distribution: ${OS_NAME}"
-
-TMP_FILE=init_tizen-kvm.sh
-echo "#!/bin/bash -ex" >> ${TMP_FILE}
-echo "cp \"${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/tizen-kvm\" /etc/init.d/" >> ${TMP_FILE}
-echo "cp \"${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/45-tizen-kvm.rules\" /lib/udev/rules.d/" >> ${TMP_FILE}
-echo "/etc/init.d/tizen-kvm start" >> ${TMP_FILE}
-if [ "ubuntu" = "${OS_NAME}" ] ; then
- echo "update-rc.d tizen-kvm defaults" >> ${TMP_FILE}
-fi
-
-chmod +x ${TMP_FILE}
-
-if [ "${TSUDO}" != "" ] # since installer v2.27
-then
- TSUDO_MSG="Enter your password to enable kvm module if your machine supports hardware virtualization."
- TMP_PATH="`pwd`/${TMP_FILE}"
- "${TSUDO}" -m "${TSUDO_MSG}" sh "${TMP_PATH}"
-else
- GKSUDO=`which gksudo`
- if [ "${GKSUDO}" = "" ]
- then
- echo "there is no gksudo."
- sudo ./${TMP_FILE}
- else
- gksudo ./${TMP_FILE}
- fi
-fi
-
-rm ${TMP_FILE}
-
-# run check-gl and show pop-up if using gallium driver.
-CHECK_GL_CMD=${TIZEN_SDK_INSTALL_PATH}/tools/emulator/bin/check-gl
-
-GL_WARNING_MSG="You are using invalid graphic card driver for the emulator.
-You have to use the lastest vendor-provided graphic card driver.
-
-For more information, see under ubuntu driver help page.
-https://help.ubuntu.com/community/BinaryDriverHowto/ "
-
-showGraphicDriverWarning()
-{
- zenity --error --no-wrap --text="
-$GL_WARNING_MSG"
-}
-
-$CHECK_GL_CMD
-RET=$?
-echo "check_gl return : $RET"
-if [ "$RET" = "0" ] ; then
- echo "check-gl ... OK."
-elif [ "$RET" = "2" ] ; then
- # show warning dialog
- echo "check-gl ... fail."
- if [ "$INSTALLMANAGER_UI" = "GUI" ] ; then
- showGraphicDriverWarning
- else
- echo "Warning : $GL_WARNING_MSG"
- fi
-fi
diff --git a/package/emulator-qemu-x86.install.ubuntu-64 b/package/emulator-qemu-x86.install.ubuntu-64
index ed99ee5c24..29af8a1829 100755
--- a/package/emulator-qemu-x86.install.ubuntu-64
+++ b/package/emulator-qemu-x86.install.ubuntu-64
@@ -1,12 +1,5 @@
#!/bin/bash -x
-TIZEN_KVM_SCRIPT=/etc/init.d/tizen-kvm-multi
-if [ -f ${TIZEN_KVM_SCRIPT} ]
-then
- echo "tizen-kvm-multi does exist. tizen-kvm does not need to be installed."
- exit 0;
-fi
-
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z "${TIZEN_SDK_INSTALL_PATH}" ]
then
@@ -28,62 +21,3 @@ if [ ! -z "${OS_NAME}" ]; then
OS_NAME=`echo ${OS_NAME} | tr '[:upper:]' '[:lower:]'`
fi
echo "Linux Distribution: ${OS_NAME}"
-
-TMP_FILE=init_tizen-kvm.sh
-echo "#!/bin/bash -ex" >> ${TMP_FILE}
-echo "cp \"${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/tizen-kvm\" /etc/init.d/" >> ${TMP_FILE}
-echo "cp \"${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/45-tizen-kvm.rules\" /lib/udev/rules.d/" >> ${TMP_FILE}
-echo "/etc/init.d/tizen-kvm start" >> ${TMP_FILE}
-if [ "ubuntu" = "${OS_NAME}" ] ; then
- echo "update-rc.d tizen-kvm defaults" >> ${TMP_FILE}
-fi
-
-chmod +x ${TMP_FILE}
-
-if [ "${TSUDO}" != "" ] # since installer v2.27
-then
- TSUDO_MSG="Enter your password to enable kvm module if your machine supports hardware virtualization."
- TMP_PATH="`pwd`/${TMP_FILE}"
- "${TSUDO}" -m "${TSUDO_MSG}" sh "${TMP_PATH}"
-else
- GKSUDO=`which gksudo`
- if [ "${GKSUDO}" = "" ]
- then
- echo "there is no gksudo."
- sudo ./${TMP_FILE}
- else
- gksudo ./${TMP_FILE}
- fi
-fi
-
-rm ${TMP_FILE}
-
-# run check-gl and show pop-up if using gallium driver.
-CHECK_GL_CMD=${TIZEN_SDK_INSTALL_PATH}/tools/emulator/bin/check-gl
-
-GL_WARNING_MSG="You are using invalid graphic card driver for the emulator.
-You have to use the lastest vendor-provided graphic card driver.
-
-For more information, see under ubuntu driver help page.
-https://help.ubuntu.com/community/BinaryDriverHowto/ "
-
-showGraphicDriverWarning()
-{
- zenity --error --no-wrap --text="
-$GL_WARNING_MSG"
-}
-
-$CHECK_GL_CMD
-RET=$?
-echo "check_gl return : $RET"
-if [ "$RET" = "0" ] ; then
- echo "check-gl ... OK."
-elif [ "$RET" = "2" ] ; then
- # show warning dialog
- echo "check-gl ... fail."
- if [ "$INSTALLMANAGER_UI" = "GUI" ] ; then
- showGraphicDriverWarning
- else
- echo "Warning : $GL_WARNING_MSG"
- fi
-fi
diff --git a/package/emulator-qemu-x86.remove.ubuntu-32 b/package/emulator-qemu-x86.remove.ubuntu-32
index d40b9f10a5..5c99bc85b5 100755
--- a/package/emulator-qemu-x86.remove.ubuntu-32
+++ b/package/emulator-qemu-x86.remove.ubuntu-32
@@ -1,12 +1,5 @@
#!/bin/bash -ex
-TIZEN_KVM_SCRIPT="/etc/init.d/tizen-kvm-multi"
-if [ -f ${TIZEN_KVM_SCRIPT} ]
-then
- echo "tizen-kvm-multi does exist. tizen-kvm does not need to be uninstalled."
- exit 0;
-fi
-
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z ${TIZEN_SDK_INSTALL_PATH} ]
then
@@ -28,31 +21,3 @@ if [ ! -z "${OS_NAME}" ]; then
OS_NAME=`echo ${OS_NAME} | tr '[:upper:]' '[:lower:]'`
fi
echo "Linux Distribution: ${OS_NAME}"
-
-TMP_FILE=remove_tizen-kvm.sh
-echo "#!/bin/bash -ex" >> ${TMP_FILE}
-if [ "ubuntu" = "${OS_NAME}" ] ; then
- echo "update-rc.d -f tizen-kvm remove" >> ${TMP_FILE}
-fi
-echo "rm -f /etc/init.d/tizen-kvm" >> ${TMP_FILE}
-echo "rm -f /lib/udev/rules.d/45-tizen-kvm.rules" >> ${TMP_FILE}
-
-chmod +x ${TMP_FILE}
-
-if [ "${TSUDO}" != "" ] # since installer v2.27
-then
- TSUDO_MSG="Enter your password to remove /etc/init.d/tizen-kvm."
- TMP_PATH="`pwd`/${TMP_FILE}"
- $TSUDO -m "${TSUDO_MSG}" sh ${TMP_PATH}
-else
- GKSUDO=`which gksudo`
- if [ "${GKSUDO}" = "" ]
- then
- echo "there is no gksudo."
- sudo ./${TMP_FILE}
- else
- gksudo ./${TMP_FILE}
- fi
-fi
-
-rm ${TMP_FILE}
diff --git a/package/emulator-qemu-x86.remove.ubuntu-64 b/package/emulator-qemu-x86.remove.ubuntu-64
index d40b9f10a5..5c99bc85b5 100755
--- a/package/emulator-qemu-x86.remove.ubuntu-64
+++ b/package/emulator-qemu-x86.remove.ubuntu-64
@@ -1,12 +1,5 @@
#!/bin/bash -ex
-TIZEN_KVM_SCRIPT="/etc/init.d/tizen-kvm-multi"
-if [ -f ${TIZEN_KVM_SCRIPT} ]
-then
- echo "tizen-kvm-multi does exist. tizen-kvm does not need to be uninstalled."
- exit 0;
-fi
-
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z ${TIZEN_SDK_INSTALL_PATH} ]
then
@@ -28,31 +21,3 @@ if [ ! -z "${OS_NAME}" ]; then
OS_NAME=`echo ${OS_NAME} | tr '[:upper:]' '[:lower:]'`
fi
echo "Linux Distribution: ${OS_NAME}"
-
-TMP_FILE=remove_tizen-kvm.sh
-echo "#!/bin/bash -ex" >> ${TMP_FILE}
-if [ "ubuntu" = "${OS_NAME}" ] ; then
- echo "update-rc.d -f tizen-kvm remove" >> ${TMP_FILE}
-fi
-echo "rm -f /etc/init.d/tizen-kvm" >> ${TMP_FILE}
-echo "rm -f /lib/udev/rules.d/45-tizen-kvm.rules" >> ${TMP_FILE}
-
-chmod +x ${TMP_FILE}
-
-if [ "${TSUDO}" != "" ] # since installer v2.27
-then
- TSUDO_MSG="Enter your password to remove /etc/init.d/tizen-kvm."
- TMP_PATH="`pwd`/${TMP_FILE}"
- $TSUDO -m "${TSUDO_MSG}" sh ${TMP_PATH}
-else
- GKSUDO=`which gksudo`
- if [ "${GKSUDO}" = "" ]
- then
- echo "there is no gksudo."
- sudo ./${TMP_FILE}
- else
- gksudo ./${TMP_FILE}
- fi
-fi
-
-rm ${TMP_FILE}