From aeb4952239a418cb2011513ab9dd44db297570d4 Mon Sep 17 00:00:00 2001 From: Sungbae Yoo Date: Fri, 14 Apr 2017 17:43:37 +0900 Subject: [PATCH] Change INTERNAL_DEV to use partition label Signed-off-by: Sungbae Yoo Change-Id: I62e96988c28bb092f2c447d14cbdaa1f65a7acb3 --- server/internal-encryption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/internal-encryption.cpp b/server/internal-encryption.cpp index 57de9ab..e29ddda 100644 --- a/server/internal-encryption.cpp +++ b/server/internal-encryption.cpp @@ -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 -- 2.7.4