From: Jaehoon Chung Date: Tue, 2 Jan 2024 09:58:06 +0000 (+0900) Subject: packaging: Add reboot-storage file to mount inform partition X-Git-Tag: accepted/tizen/unified/riscv/20240103.054713^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88ae87539644c2d5a58bb6ff3b35e8ae2e1eeac3;p=platform%2Fhal%2Fbackend%2Fdevice-generic.git packaging: Add reboot-storage file to mount inform partition Add reboot-staroge file to mount a inform partition. If there is a file under /hal/etc/reboot/, it will be mouting to /mnt/inform while booting time. It has to create a physical partition with inform as label. Change-Id: I2a693716c9adba91961086cb23b5563801abbc84 Signed-off-by: Jaehoon Chung --- diff --git a/packaging/hal-backend-device-generic.spec b/packaging/hal-backend-device-generic.spec index 25318a5..9010d0e 100644 --- a/packaging/hal-backend-device-generic.spec +++ b/packaging/hal-backend-device-generic.spec @@ -30,6 +30,10 @@ make %{?jobs:-j%jobs} %install %make_install +# Reboot register storage +mkdir -p %{buildroot}%{_hal_sysconfdir}/reboot +touch %{buildroot}%{_hal_sysconfdir}/reboot/register_storage + %post /sbin/ldconfig @@ -39,3 +43,4 @@ make %{?jobs:-j%jobs} %files %manifest %{name}.manifest %{_hal_licensedir}/%{name}/LICENSE.Apache-2.0 +%{_hal_sysconfdir}/reboot/register_storage