Change INTERNAL_DEV to use partition label 74/125274/1
authorSungbae Yoo <sungbae.yoo@samsung.com>
Fri, 14 Apr 2017 08:43:37 +0000 (17:43 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Fri, 14 Apr 2017 09:45:31 +0000 (18:45 +0900)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I62e96988c28bb092f2c447d14cbdaa1f65a7acb3

server/internal-encryption.cpp

index 57de9ab..e29ddda 100644 (file)
@@ -37,7 +37,7 @@
 #include "rmi/internal-encryption.h"
 
 #define INTERNAL_ENGINE        DMCryptEngine
-#define INTERNAL_DEV   "/dev/mmcblk0p25"
+#define INTERNAL_DEV   "/dev/disk/by-partlabel/USER"
 #define INTERNAL_PATH  "/opt/usr"
 #define INTERNAL_STATE_VCONF_KEY                                       VCONFKEY_ODE_CRYPTO_STATE
 #define INTERNAL_OPTION_ONLY_USED_REGION_VCONF_KEY     VCONFKEY_ODE_FAST_ENCRYPTION