summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/reboot/register_storage0
-rw-r--r--packaging/hal-backend-device-rpi.spec4
2 files changed, 4 insertions, 0 deletions
diff --git a/hw/reboot/register_storage b/hw/reboot/register_storage
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/reboot/register_storage
diff --git a/packaging/hal-backend-device-rpi.spec b/packaging/hal-backend-device-rpi.spec
index d6e3911..ed85a4a 100644
--- a/packaging/hal-backend-device-rpi.spec
+++ b/packaging/hal-backend-device-rpi.spec
@@ -33,6 +33,9 @@ make %{?jobs:-j%jobs}
%install
%make_install
+# Reboot register storage
+install -D -m 644 hw/reboot/register_storage %{buildroot}%{_hal_sysconfdir}/reboot/register_storage
+
%post
/sbin/ldconfig
@@ -41,5 +44,6 @@ make %{?jobs:-j%jobs}
%files
%{_hal_libdir}/*.so*
+%{_hal_sysconfdir}/reboot/register_storage
%manifest %{name}.manifest
%{_hal_licensedir}/%{name}/LICENSE.Apache-2.0