Add to touching files for compatiblity with lazymount 38/124038/1 accepted/tizen/unified/20170411.035301 submit/tizen/20170411.020854
authorSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 10 Apr 2017 03:57:23 +0000 (12:57 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 10 Apr 2017 04:02:41 +0000 (13:02 +0900)
This commit will be reverted after lazymount is removed

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I23dca05e9f83b955a643fbed01ab62337d507f63

server/internal-encryption.cpp

index e9e40e9..57de9ab 100644 (file)
@@ -15,6 +15,7 @@
  */
 #include <set>
 
+#include <fcntl.h>
 #include <signal.h>
 #include <unistd.h>
 #include <sys/mount.h>
@@ -252,6 +253,9 @@ int InternalEncryption::mount()
 
        context.notify("InternalEncryption::mount");
 
+       runtime::File("/tmp/.lazy_mount").create(O_WRONLY);
+       runtime::File("/tmp/.unlock_mnt").create(O_WRONLY);
+
        return 0;
 }