From: Chanwoo Choi Date: Wed, 19 Jun 2024 03:13:28 +0000 (+0900) Subject: Add new HAL manifest file of HAL_MODULE_TDM X-Git-Tag: accepted/tizen/unified/x/20240727.073538~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3df03feefc92a0a60d2fed403acb40b01fca4294;p=platform%2Fhal%2Fapi%2Ftdm.git Add new HAL manifest file of HAL_MODULE_TDM HAL_MODULE_TDM will support the multiple version of HAL interface. So that v1.0 is first supported version of HAL_MODULE_TDM. And HALCC (HAL Compatibility Checker) checks and stores the hal-backend compatibility result between HAL manifest and hal-backend package under /opt/etc/hal/ directory. When installing/un-installing hal-api package, hal-backend compatibility result should be reset. So that reset the hal-backend compatibility result by executing 'usr/bin/hal-compatibility-checker --reset' command. Change-Id: I014696dfcf404ef8ff304d257fb7937aea35e339 Signed-off-by: Chanwoo Choi --- diff --git a/packaging/hal-api-tdm-manifest.xml b/packaging/hal-api-tdm-manifest.xml new file mode 100644 index 0000000..43322bb --- /dev/null +++ b/packaging/hal-api-tdm-manifest.xml @@ -0,0 +1,8 @@ + + + + HAL_MODULE_TDM + 1.0 + + + diff --git a/packaging/hal-api-tdm.spec b/packaging/hal-api-tdm.spec index 72158b0..4940c18 100644 --- a/packaging/hal-api-tdm.spec +++ b/packaging/hal-api-tdm.spec @@ -12,6 +12,7 @@ License: MIT Source0: %{name}-%{version}.tar.gz Source1: %{name}.manifest Source2: %{devel_name}.manifest +Source3: %{name}-manifest.xml Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -46,6 +47,8 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} +mkdir -p %{buildroot}%{_sysconfdir}/hal +cp %{SOURCE3} %{buildroot}%{_sysconfdir}/hal/ %make_install %clean @@ -53,9 +56,11 @@ rm -rf %{buildroot} %post /sbin/ldconfig +/usr/bin/hal-compatibility-checker --reset %postun /sbin/ldconfig +/usr/bin/hal-compatibility-checker --reset ### contain files to package ######### %files -n %{name} @@ -63,6 +68,7 @@ rm -rf %{buildroot} %license COPYING %defattr(-,root,root,-) %{_libdir}/hal/*.so* +%{_sysconfdir}/hal/%{name}-manifest.xml %files -n %{devel_name} %defattr(-,root,root,-)