diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2021-07-02 14:01:58 +0900 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2021-07-05 10:23:14 +0900 |
commit | 926a7af432d1771819d576efdd59c12dc8946773 (patch) | |
tree | 96558f7092e355d237a9a0f39789a75af8707f12 | |
parent | e47362f0f83b6e0573ddb9e51f9f2b1eaf488b3e (diff) | |
download | device-rpi-926a7af432d1771819d576efdd59c12dc8946773.tar.gz device-rpi-926a7af432d1771819d576efdd59c12dc8946773.tar.bz2 device-rpi-926a7af432d1771819d576efdd59c12dc8946773.zip |
peripheral-io: add uart port-devpath mapping filesubmit/tizen/20210705.023617accepted/tizen/unified/20210705.125141
Change-Id: If115206aaa3d5ea46c0c02d2469cb298f68cbb92
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r-- | hw/peripheral-io/uart.ini | 2 | ||||
-rw-r--r-- | packaging/hal-backend-device-rpi.spec | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/hw/peripheral-io/uart.ini b/hw/peripheral-io/uart.ini new file mode 100644 index 0000000..cf901b8 --- /dev/null +++ b/hw/peripheral-io/uart.ini @@ -0,0 +1,2 @@ +[UART] +0=/dev/ttyS0 diff --git a/packaging/hal-backend-device-rpi.spec b/packaging/hal-backend-device-rpi.spec index ed85a4a..f920bad 100644 --- a/packaging/hal-backend-device-rpi.spec +++ b/packaging/hal-backend-device-rpi.spec @@ -36,6 +36,10 @@ make %{?jobs:-j%jobs} # Reboot register storage install -D -m 644 hw/reboot/register_storage %{buildroot}%{_hal_sysconfdir}/reboot/register_storage +# peripheral-io ini file +mkdir -p %{buildroot}%{_hal_sysconfdir}/peripheral-io +install -m 644 hw/peripheral-io/*.ini %{buildroot}%{_hal_sysconfdir}/peripheral-io + %post /sbin/ldconfig @@ -45,5 +49,6 @@ install -D -m 644 hw/reboot/register_storage %{buildroot}%{_hal_sysconfdir}/rebo %files %{_hal_libdir}/*.so* %{_hal_sysconfdir}/reboot/register_storage +%{_hal_sysconfdir}/peripheral-io/*.ini %manifest %{name}.manifest %{_hal_licensedir}/%{name}/LICENSE.Apache-2.0 |