In rpi, there is no way for the kernel and bootloader to pass the boot reason.
So, platform provides /mnt/inform (/dev/disk/by-label/inform) storage to kernel.
The kernel passes the reboot reason to the bootloader throught this.
Change-Id: I5f33b54ef653aff08d8e79d71b05f916f695fba7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
%install
%make_install
+# Reboot register storage
+install -D -m 644 hw/reboot/register_storage %{buildroot}%{_hal_sysconfdir}/reboot/register_storage
+
%post
/sbin/ldconfig
%files
%{_hal_libdir}/*.so*
+%{_hal_sysconfdir}/reboot/register_storage
%manifest %{name}.manifest
%{_hal_licensedir}/%{name}/LICENSE.Apache-2.0