Fix not deleting systemd list files in the post script. 72/225172/1 accepted/tizen/unified/20200219.130228 submit/tizen/20200218.043728
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Tue, 18 Feb 2020 04:10:21 +0000 (13:10 +0900)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Tue, 18 Feb 2020 04:10:23 +0000 (13:10 +0900)
- 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

packaging/security-config.spec

index 75c3634..e00d810 100755 (executable)
@@ -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/