peripheral-io: add uart port-devpath mapping file 45/260745/3 accepted/tizen/unified/20210705.125141 submit/tizen/20210705.023617
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 2 Jul 2021 05:01:58 +0000 (14:01 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 5 Jul 2021 01:23:14 +0000 (10:23 +0900)
Change-Id: If115206aaa3d5ea46c0c02d2469cb298f68cbb92
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/peripheral-io/uart.ini [new file with mode: 0644]
packaging/hal-backend-device-rpi.spec

diff --git a/hw/peripheral-io/uart.ini b/hw/peripheral-io/uart.ini
new file mode 100644 (file)
index 0000000..cf901b8
--- /dev/null
@@ -0,0 +1,2 @@
+[UART]
+0=/dev/ttyS0
index ed85a4a88ef955c05b1cdc3dddccec9f916bfc76..f920bad4aa1afdd693fb41b59c9c424f21175277 100644 (file)
@@ -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