From: jin-gyu.kim Date: Tue, 18 Feb 2020 04:10:21 +0000 (+0900) Subject: Fix not deleting systemd list files in the post script. X-Git-Tag: submit/tizen/20200218.043728^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=775697b8ff7098f080a75a5978adabb7da3be3c2;p=platform%2Fcore%2Fsecurity%2Fsecurity-config.git Fix not deleting systemd list files in the post script. - When image is being created, systemd list files are not overrided with those in each profile RPM. - The detail reason is not found, because no problem if RPMs are installed manually in run-time. - By the way, if not deleting files in the post script, this issue can be addressed. Change-Id: If451950c13daf67ef1b1fe7f42794a94502ca1e1 --- diff --git a/packaging/security-config.spec b/packaging/security-config.spec index 75c3634..e00d810 100755 --- a/packaging/security-config.spec +++ b/packaging/security-config.spec @@ -79,7 +79,6 @@ ln -s %{SECURITY_TEST_DIR} /opt/share/security-config/test touch /opt/share/security-config/dummy_file chmod 600 /opt/share/security-config/dummy_file mv %{SECURITY_TEST_DIR}/new_service_test/list/common/* %{SECURITY_TEST_DIR}/new_service_test/ -rm -rf %{SECURITY_TEST_DIR}/new_service_test/list/ %post profile_mobile mv %{SECURITY_TEST_DIR}/new_service_test/list/mobile/* %{SECURITY_TEST_DIR}/new_service_test/