From: Kitae Kim Date: Thu, 6 Sep 2012 04:00:37 +0000 (+0900) Subject: [Title] rename temporary script name for tizen-kvm. X-Git-Tag: TizenStudio_2.0_p2.3~1312^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84720bc8ba8ddb946e9a6ac0fd351da87aff5f2c;p=sdk%2Femulator%2Fqemu.git [Title] rename temporary script name for tizen-kvm. [Type] [Module] emulator [Priority] [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/package/emulator-qemu-x86.install.ubuntu-32 b/package/emulator-qemu-x86.install.ubuntu-32 index 102ed9e..ba1c51f 100755 --- a/package/emulator-qemu-x86.install.ubuntu-32 +++ b/package/emulator-qemu-x86.install.ubuntu-32 @@ -7,13 +7,13 @@ then exit 2; fi -TMP_INST_FILE=tmp_inst.sh -echo "cp ${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/tizen-kvm /etc/init.d/" >> $TMP_INST_FILE -echo "cp ${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/45-tizen-kvm.rules /lib/udev/rules.d/" >> $TMP_INST_FILE -echo "/etc/init.d/tizen-kvm start" >> $TMP_INST_FILE -echo "update-rc.d tizen-kvm defaults" >> $TMP_INST_FILE +TMP_FILE=init_tizen-kvm.sh +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 +echo "update-rc.d tizen-kvm defaults" >> $TMP_FILE -chmod +x $TMP_INST_FILE -gksudo ./$TMP_INST_FILE +chmod +x $TMP_FILE +gksudo ./$TMP_FILE -rm $TMP_INST_FILE +rm $TMP_FILE diff --git a/package/emulator-qemu-x86.install.ubuntu-64 b/package/emulator-qemu-x86.install.ubuntu-64 index a68af55..ba1c51f 100755 --- a/package/emulator-qemu-x86.install.ubuntu-64 +++ b/package/emulator-qemu-x86.install.ubuntu-64 @@ -7,13 +7,13 @@ then exit 2; fi -TMP_INST_FILE=tmp_kvm.sh -echo "cp ${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/tizen-kvm /etc/init.d/" >> $TMP_INST_FILE -echo "cp ${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/45-tizen-kvm.rules /lib/udev/rules.d/" >> $TMP_INST_FILE -echo "/etc/init.d/tizen-kvm start" >> $TMP_INST_FILE -echo "update-rc.d tizen-kvm defaults" >> $TMP_INST_FILE +TMP_FILE=init_tizen-kvm.sh +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 +echo "update-rc.d tizen-kvm defaults" >> $TMP_FILE -chmod +x $TMP_INST_FILE -gksudo ./$TMP_INST_FILE +chmod +x $TMP_FILE +gksudo ./$TMP_FILE -rm $TMP_INST_FILE +rm $TMP_FILE diff --git a/package/emulator-qemu-x86.remove.ubuntu-32 b/package/emulator-qemu-x86.remove.ubuntu-32 index 0f92633..f1f106e 100755 --- a/package/emulator-qemu-x86.remove.ubuntu-32 +++ b/package/emulator-qemu-x86.remove.ubuntu-32 @@ -7,12 +7,12 @@ then exit 2; fi -TMP_REMOVE_FILE=tmp_inst.sh -echo "update-rc.d -f tizen-kvm remove" >> $TMP_REMOVE_FILE -echo "rm -f /etc/init.d/tizen-kvm" >> $TMP_REMOVE_FILE -echo "rm -f /lib/udev/rules.d/45-tizen-kvm.rules" >> $TMP_REMOVE_FILE +TMP_FILE=remove_tizen-kvm.sh +echo "update-rc.d -f tizen-kvm remove" >> $TMP_FILE +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_REMOVE_FILE -gksudo ./$TMP_REMOVE_FILE +chmod +x $TMP_FILE +gksudo ./$TMP_FILE -rm $TMP_REMOVE_FILE +rm $TMP_FILE diff --git a/package/emulator-qemu-x86.remove.ubuntu-64 b/package/emulator-qemu-x86.remove.ubuntu-64 index 0f92633..f1f106e 100755 --- a/package/emulator-qemu-x86.remove.ubuntu-64 +++ b/package/emulator-qemu-x86.remove.ubuntu-64 @@ -7,12 +7,12 @@ then exit 2; fi -TMP_REMOVE_FILE=tmp_inst.sh -echo "update-rc.d -f tizen-kvm remove" >> $TMP_REMOVE_FILE -echo "rm -f /etc/init.d/tizen-kvm" >> $TMP_REMOVE_FILE -echo "rm -f /lib/udev/rules.d/45-tizen-kvm.rules" >> $TMP_REMOVE_FILE +TMP_FILE=remove_tizen-kvm.sh +echo "update-rc.d -f tizen-kvm remove" >> $TMP_FILE +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_REMOVE_FILE -gksudo ./$TMP_REMOVE_FILE +chmod +x $TMP_FILE +gksudo ./$TMP_FILE -rm $TMP_REMOVE_FILE +rm $TMP_FILE