From: Jaehoon Chung Date: Wed, 20 Jan 2021 00:42:28 +0000 (+0900) Subject: packaging: create hal directory to use backend packages X-Git-Tag: submit/tizen/20210120.012527^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e87d1e2372f7b69b3dc723c22e0ec824fbcc557b;p=platform%2Fhal%2Fapi%2Fcommon.git packaging: create hal directory to use backend packages If hal.img will be split from core image, it has to exist hal directory under root directory before mounting hal.img. Otherwise, it can't mount anywhere to use hal-backend. This patch is for preparing to use hal.img. - The mounting hal.img will be did in ramdisk. Change-Id: I8ef56c0e383e142269c4164d7cfeba9560fbb039 Signed-off-by: Jaehoon Chung --- diff --git a/packaging/hal-api-common.spec b/packaging/hal-api-common.spec index 1831a56..edb494a 100644 --- a/packaging/hal-api-common.spec +++ b/packaging/hal-api-common.spec @@ -50,6 +50,7 @@ rm -rf %{buildroot} %make_install mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ +mkdir -p %{buildroot}/hal install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ld.so.conf.d/ %clean @@ -68,6 +69,7 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %{_libdir}/hal/*.so* %{_sysconfdir}/ld.so.conf.d/libhal-api.conf +/hal/ %files -n %{devel_name} %defattr(-,root,root,-)