From: jin-gyu.kim Date: Fri, 21 Jul 2017 02:29:56 +0000 (+0900) Subject: Disable Askuser temporary from the time of image creation. X-Git-Tag: submit/tizen/20170721.023809^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33bda3e205b4a8d69e90715428eeaa921e86f79e;p=platform%2Fcore%2Fsecurity%2Fsecurity-config.git Disable Askuser temporary from the time of image creation. Change-Id: Iadb2357e48f32777bdf0a577522af11fe26be6ec --- diff --git a/packaging/security-config.spec b/packaging/security-config.spec index 1109311..8120831 100755 --- a/packaging/security-config.spec +++ b/packaging/security-config.spec @@ -55,6 +55,8 @@ ln -s ../%{name}.service %{buildroot}/%{_unitdir}/multi-user.target.wants/%{name /usr/share/security-config/set_label mkdir -p /opt/share/security-config/result mkdir -p /opt/share/security-config/log +# This is added to disable askuser temporary, untin askuser-4.0 is implemented. +touch /opt/share/askuser_disable %post profile_mobile mv /opt/share/security-config/test/root_test/mobile/* /opt/share/security-config/test/root_test/ diff --git a/smack/smack_default_labeling b/smack/smack_default_labeling index cfcadf0..20b40fa 100644 --- a/smack/smack_default_labeling +++ b/smack/smack_default_labeling @@ -9,7 +9,6 @@ function check_init_boot if [ ! -e /opt/share/security-config/.smack_pre_labeling ] then touch /opt/share/security-config/.smack_pre_labeling - touch /opt/share/askuser_disable # TODO : This must be removed after askuser-4.0 is fully implemented. return 1 fi return 0