From 72417bec829eb5455597fa8a1e8c870be29d392e Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Mon, 2 May 2022 16:34:28 +0900 Subject: usb-gadget: remove usb-gadget and add configuration file The actual operation of usb-gadget is no more hal dependent. Instead, the deviced is now in charge of running usb-gadget. The hal backend has changed to provide only target specific usb-gadget configurations. If there is no target specific configurations, deviced runs usb-gadget with default configurations. Signed-off-by: Youngjae Cho Change-Id: Ia9eecff9172cc8f47a3e23db41e38ecb54210a50 --- packaging/hal-backend-device-tw3.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packaging') diff --git a/packaging/hal-backend-device-tw3.spec b/packaging/hal-backend-device-tw3.spec index 73c414e..a1a1e08 100644 --- a/packaging/hal-backend-device-tw3.spec +++ b/packaging/hal-backend-device-tw3.spec @@ -35,6 +35,10 @@ make %{?jobs:-j%jobs} %install %make_install +# install conf files +mkdir -p %{buildroot}%{_hal_sysconfdir}/deviced +install -m 644 conf/*.conf %{buildroot}%{_hal_sysconfdir}/deviced + %post /sbin/ldconfig @@ -45,3 +49,4 @@ make %{?jobs:-j%jobs} %manifest %{name}.manifest %{_hal_licensedir}/%{name}/LICENSE.Apache-2.0 %{_hal_libdir}/*.so* +%{_hal_sysconfdir}/deviced/* -- cgit v1.2.3