diff options
-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 |