summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanggyu Choi <changyu.choi@samsung.com>2021-08-25 12:41:38 +0900
committerChanggyu Choi <changyu.choi@samsung.com>2021-08-25 13:27:57 +0900
commit0f181587d2f08154d68773a1c7164b845f5a9cbb (patch)
treef06e5601f2fcce988acc8ae07e43767a93500d99
parenta9da220737e098358d8a3a743dd1e8d447cce6da (diff)
downloadaul-1-0f181587d2f08154d68773a1c7164b845f5a9cbb.tar.gz
aul-1-0f181587d2f08154d68773a1c7164b845f5a9cbb.tar.bz2
aul-1-0f181587d2f08154d68773a1c7164b845f5a9cbb.zip
Separate the exec-checker plugin to rpm package
Change-Id: Iab6db7263710402975524333b1f527312576a9cd Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
-rw-r--r--packaging/aul-exec-checker-plugin.manifest5
-rw-r--r--packaging/aul.spec20
-rw-r--r--parser/exec-checker/CMakeLists.txt2
-rw-r--r--parser/exec-checker/data/exec-checker.info (renamed from parser/exec-checker/data/exec_checker.info)0
4 files changed, 24 insertions, 3 deletions
diff --git a/packaging/aul-exec-checker-plugin.manifest b/packaging/aul-exec-checker-plugin.manifest
new file mode 100644
index 00000000..2a0cec50
--- /dev/null
+++ b/packaging/aul-exec-checker-plugin.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/aul.spec b/packaging/aul.spec
index 44e5b244..e3c8ddb4 100644
--- a/packaging/aul.spec
+++ b/packaging/aul.spec
@@ -7,6 +7,7 @@ License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
Source1002: %{name}-server.manifest
+Source1003: %{name}-exec-checker-plugin.manifest
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/systemctl
@@ -58,6 +59,14 @@ Requires: %{name} = %{version}-%{release}
%description devel
Application utility library (devel)
+%package exec-checker-plugin
+Summary: App binary executable cheker
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description exec-checker-plugin
+Application utility library (exec checker)
+
%package test
Summary: App utility test tools
Group: Development/Libraries
@@ -109,6 +118,7 @@ Application Utility Library (devel)
sed -i 's|TZ_SYS_DB|%{TZ_SYS_DB}|g' %{SOURCE1001}
cp %{SOURCE1001} .
cp %{SOURCE1002} .
+cp %{SOURCE1003} .
%build
%if 0%{?gcov:1}
@@ -223,16 +233,22 @@ chmod +x %{_aulresdir}/tpk/install.sh
%{_datadir}/aul/miregex/*
%{_datadir}/aul/preexec_list.txt
%{_datadir}/appsvc/*
-%{_datadir}/parser-plugins/*
+%{_datadir}/parser-plugins/component.info
+%{_datadir}/parser-plugins/alias-appid.info
+%{_datadir}/parser-plugins/allowed-appid.info
%{TZ_SYS_DB}/.appsvc.db*
%{TZ_SYS_DB}/.component.db*
%{_sysconfdir}/package-manager/parserlib/metadata/*.so
%{_sysconfdir}/package-manager/parserlib/libcomponent-based-application.so
-%{_sysconfdir}/package-manager/parserlib/libexec-checker.so*
%attr(0755,root,root) %{_sysconfdir}/gumd/useradd.d/*
%attr(0755,root,root) %{_datadir}/upgrade/scripts/501.component_upgrade.sh
+%files exec-checker-plugin
+%manifest %{name}-exec-checker-plugin.manifest
+%{_datadir}/parser-plugins/exec-checker.info
+%{_sysconfdir}/package-manager/parserlib/libexec-checker.so*
+
%files test
%{_bindir}/app-control-tests
%{_bindir}/aul-unit-tests
diff --git a/parser/exec-checker/CMakeLists.txt b/parser/exec-checker/CMakeLists.txt
index 97134e1f..e1b9b95b 100644
--- a/parser/exec-checker/CMakeLists.txt
+++ b/parser/exec-checker/CMakeLists.txt
@@ -25,5 +25,5 @@ APPLY_PKG_CONFIG(${TARGET_CHECK_EXEC_PLUGIN_PARSER} PUBLIC
INSTALL(TARGETS ${TARGET_CHECK_EXEC_PLUGIN_PARSER}
DESTINATION ${SYSCONF_INSTALL_DIR}/package-manager/parserlib)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/exec_checker.info
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/exec-checker.info
DESTINATION ${SHARED_DIR}/parser-plugins)
diff --git a/parser/exec-checker/data/exec_checker.info b/parser/exec-checker/data/exec-checker.info
index 9466ac2e..9466ac2e 100644
--- a/parser/exec-checker/data/exec_checker.info
+++ b/parser/exec-checker/data/exec-checker.info