From 162f3c411544eda1969df2549bb2c0f0f4d3268b Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Thu, 22 Dec 2016 14:54:25 +0900 Subject: [PATCH] Fix mount install failure on global installation Security registration should be done before creating per user storage directories because StepCreatePerUserStorage calls security_manager_paths_register() and it needs security context. Change-Id: I90c846f55c5ba2cdc294c1a762edb9d97cc76b50 Signed-off-by: Sangyoon Jang --- src/wgt/wgt_installer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wgt/wgt_installer.cc b/src/wgt/wgt_installer.cc index cef4e4c..1f6c18c 100755 --- a/src/wgt/wgt_installer.cc +++ b/src/wgt/wgt_installer.cc @@ -350,13 +350,13 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) AddStep(); AddStep(); AddStep(); - AddStep( - wgt::filesystem::WgtAdditionalSharedDirs); AddStep(); AddStep(); AddStep(); AddStep( ci::Plugin::ActionType::Install); + AddStep( + wgt::filesystem::WgtAdditionalSharedDirs); AddStep(); AddStep(); break; -- 2.7.4