diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2021-06-07 18:20:22 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2021-06-09 11:14:10 +0900 |
commit | ed6fb8c86ac03c1d66816a7f47269c0c20b4ae19 (patch) | |
tree | 143d59f842754a5738a1dd46f9bd8f6675c7672e | |
parent | d7451d5ec2dc7c3fefa4b444077e07d6f6b381a0 (diff) | |
download | device-rpi-ed6fb8c86ac03c1d66816a7f47269c0c20b4ae19.tar.gz device-rpi-ed6fb8c86ac03c1d66816a7f47269c0c20b4ae19.tar.bz2 device-rpi-ed6fb8c86ac03c1d66816a7f47269c0c20b4ae19.zip |
reboot: support storage partition for delivering reboot parameterssubmit/tizen/20210609.021843accepted/tizen/unified/20210609.082341
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>
-rw-r--r-- | hw/reboot/register_storage | 0 | ||||
-rw-r--r-- | packaging/hal-backend-device-rpi.spec | 4 |
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 |