Add new HAL manifest file of HAL_MODULE_SENSOR 17/313117/1
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 19 Jun 2024 06:42:01 +0000 (15:42 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 19 Jun 2024 06:43:36 +0000 (15:43 +0900)
HAL_MODULE_SENSOR will support the multiple version of HAL interface.
So that v1.0 is first supported version of HAL_MODULE_SENSOR.

Change-Id: I05ec2e6a29b378673a8cdd27195770fb9601a0ef
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
packaging/hal-api-sensor-manifest.xml [new file with mode: 0644]
packaging/hal-api-sensor.spec

diff --git a/packaging/hal-api-sensor-manifest.xml b/packaging/hal-api-sensor-manifest.xml
new file mode 100644 (file)
index 0000000..11503a2
--- /dev/null
@@ -0,0 +1,8 @@
+<hal-api>
+       <manifest platform-version="9.0">
+               <hal-module>
+                       <name>HAL_MODULE_SENSOR</name>
+                       <version>1.0</version>
+               </hal-module>
+       </manifest>
+</hal-api>
index fa57960aeecb38fd3362223d7269c5903aaf4817..e10b1551d325609920c366af0822c8b7fdd79f7b 100644 (file)
@@ -12,6 +12,7 @@ License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1:    %{name}.manifest
 Source2:    %{devel_name}.manifest
+Source3:    %{name}-manifest.xml
 
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
@@ -58,6 +59,8 @@ make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/hal
+cp %{SOURCE3} %{buildroot}%{_sysconfdir}/hal/
 %make_install
 
 %clean
@@ -75,6 +78,7 @@ rm -rf %{buildroot}
 %license LICENSE
 %defattr(-,root,root,-)
 %{_libdir}/hal/*.so*
+%{_sysconfdir}/hal/%{name}-manifest.xml
 
 %files -n %{devel_name}
 %defattr(-,root,root,-)