packaging: Add reboot-storage file to mount inform partition 10/303610/2 accepted/tizen_unified_riscv accepted/tizen/unified/20240104.053211 accepted/tizen/unified/dev/20240620.010508 accepted/tizen/unified/riscv/20240103.054713
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 2 Jan 2024 09:58:06 +0000 (18:58 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 2 Jan 2024 11:19:11 +0000 (20:19 +0900)
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 <jh80.chung@samsung.com>
packaging/hal-backend-device-generic.spec

index 25318a58b0bc12d6c2b776e873cb5b7930990cf3..9010d0e5edb507b4cefce8200448edb2fb8eaf96 100644 (file)
@@ -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