From ac0acd00a7b85d2c1e07fb72761c4891b4a14b41 Mon Sep 17 00:00:00 2001 From: "donghyuk.yang" Date: Tue, 16 Apr 2013 21:49:35 +0900 Subject: [PATCH] [Title] Do not command change-booting-mode.sh because it does not exist in device --- .../src/org/tizen/nativeplatform/pkgmgr/RPMPackageCommander.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/RPMPackageCommander.java b/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/RPMPackageCommander.java index f7e24f9..c028ada 100644 --- a/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/RPMPackageCommander.java +++ b/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/RPMPackageCommander.java @@ -155,9 +155,12 @@ public class RPMPackageCommander { // set update mode PackageManagerOuputReceiver rec = getNewOuputReceiverWithConsole(); //rec.cleanLog(); + + /* change-booting-mode.sh file does not exist in device if (!device.isEmulator()) { RPMPackageCommander.changeUpdateModeForDevice(device, rec); } + */ // install String command = String.format("%s;%s", getResetDbCmd(), @@ -686,6 +689,7 @@ public class RPMPackageCommander { executeDeviceShellCommand(device, command, rec); } + /* private static void changeUpdateModeForDevice(IDevice device, PackageManagerOuputReceiver rec) { @@ -693,6 +697,7 @@ public class RPMPackageCommander { rec.cleanLog(); executeDeviceShellCommand(device, command, rec); } + */ private static void actionBeforeUseZypper(String path) { if (pkgInstalledSuccessfullyForRootstrap(REMOVE_PKGS, path)) { -- 2.7.4