summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunmi Ha <yunmi.ha@samsung.com>2021-04-20 16:09:17 +0900
committerYunmi Ha <yunmi.ha@samsung.com>2021-04-20 16:09:17 +0900
commit623cfef2dc1800f75803eed630d83acf2a5500a7 (patch)
treeab81624c4767f48195a1169f63e7d959a3d1e92a
parentb2dd5c2eac316410837e9b46de41d1e4a2461adf (diff)
downloadsensor-tw3-623cfef2dc1800f75803eed630d83acf2a5500a7.tar.gz
sensor-tw3-623cfef2dc1800f75803eed630d83acf2a5500a7.tar.bz2
sensor-tw3-623cfef2dc1800f75803eed630d83acf2a5500a7.zip
Change install path of udev rules
- For separation of HAL.img, change udev rule files path to under /hal https://code.sec.samsung.net/jira/browse/TSYSTEM-1039 Change-Id: I56c099a114630e158fe81edac77b1a07ab77dfa5 Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
-rwxr-xr-xpackaging/sensor-hal-tw3.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/sensor-hal-tw3.spec b/packaging/sensor-hal-tw3.spec
index 5d1375c..f80c4a5 100755
--- a/packaging/sensor-hal-tw3.spec
+++ b/packaging/sensor-hal-tw3.spec
@@ -39,10 +39,10 @@ make %{?_smp_mflags}
%install
%make_install
-mkdir -p %{buildroot}%{_libdir}/udev/rules.d
+mkdir -p %{buildroot}%{_hal_libdir}/udev/rules.d
-install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/udev/rules.d
-install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/udev/rules.d
+install -m 0644 %SOURCE1 %{buildroot}%{_hal_libdir}/udev/rules.d
+install -m 0644 %SOURCE2 %{buildroot}%{_hal_libdir}/udev/rules.d
%post
/sbin/ldconfig
@@ -52,8 +52,8 @@ install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/udev/rules.d
%files
%manifest packaging/%{name}.manifest
-%{_libdir}/udev/rules.d/99-sensor.rules
-%{_libdir}/udev/rules.d/99-sensorhub.rules
+%{_hal_libdir}/udev/rules.d/99-sensor.rules
+%{_hal_libdir}/udev/rules.d/99-sensorhub.rules
%{_hal_libdir}/*.so*
%{_hal_licensedir}/%{name}/LICENSE.APLv2