From: donghyuk.yang Date: Tue, 16 Apr 2013 12:49:35 +0000 (+0900) Subject: [Title] Do not command change-booting-mode.sh because it does not exist X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac0acd00a7b85d2c1e07fb72761c4891b4a14b41;p=sdk%2Fide%2Fnativeplatform-eplugin.git [Title] Do not command change-booting-mode.sh because it does not exist in device --- 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)) {