From 554ebe72062f344f9183d4e20a6d4549719a5d86 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 20 Apr 2020 22:04:57 -0700 Subject: [PATCH] Skel dest could not exist Close #2713 --- native/jni/core/module.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/native/jni/core/module.cpp b/native/jni/core/module.cpp index c5a3c3659..1b4b55d5c 100644 --- a/native/jni/core/module.cpp +++ b/native/jni/core/module.cpp @@ -303,6 +303,7 @@ public: const string &dest = node_path(); file_attr a; getattr(src.data(), &a); + mkdir(dest.data(), 0); xmount("tmpfs", dest.data(), "tmpfs", 0, nullptr); VLOGI("mnt_tmp", "tmpfs", dest.data()); setattr(dest.data(), &a);