diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2024-01-02 18:58:06 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2024-01-02 20:19:11 +0900 |
commit | 88ae87539644c2d5a58bb6ff3b35e8ae2e1eeac3 (patch) | |
tree | 241c2feb0813a7f1789b1e916c21c0b6a52a02f3 | |
parent | 89692646e567c8d4b224131a638ccfd787743c21 (diff) | |
download | device-generic-88ae87539644c2d5a58bb6ff3b35e8ae2e1eeac3.tar.gz device-generic-88ae87539644c2d5a58bb6ff3b35e8ae2e1eeac3.tar.bz2 device-generic-88ae87539644c2d5a58bb6ff3b35e8ae2e1eeac3.zip |
packaging: Add reboot-storage file to mount inform partitionaccepted/tizen/unified/riscv/20240103.054713accepted/tizen/unified/dev/20240620.010508accepted/tizen/unified/20240104.053211accepted/tizen_unified_riscv
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>
-rw-r--r-- | packaging/hal-backend-device-generic.spec | 5 |
1 files changed, 5 insertions, 0 deletions
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 |