summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2021-04-16 12:52:40 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2021-04-16 12:52:47 +0900
commitda3139c9292f0c190bddb40eb7d69f716bb848a3 (patch)
treeca82b38bdc3c20d554b5d4654b6c97595b6d355e
parent1c5713bf1a6cc310f97ca78a59004d791c97c301 (diff)
downloadinitrd-recovery-da3139c9292f0c190bddb40eb7d69f716bb848a3.tar.gz
initrd-recovery-da3139c9292f0c190bddb40eb7d69f716bb848a3.tar.bz2
initrd-recovery-da3139c9292f0c190bddb40eb7d69f716bb848a3.zip
reboot-param-helper: mount only when inform label existssubmit/tizen/20210416.062839accepted/tizen/unified/20210416.143336
The reboot-param-helper is used when there is no alive register block to inform reboot status to bootloader with inform partition and it is device specific helper. But, currently, there is no way to set service unit as device speicif way, so fix to mount inform partition only when device has inform label. Change-Id: Idfeb13852afdd3fef36cb6d1480824456ec1b7c5 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--units/mnt-inform.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/mnt-inform.mount b/units/mnt-inform.mount
index 6187e38..9d009bb 100644
--- a/units/mnt-inform.mount
+++ b/units/mnt-inform.mount
@@ -1,6 +1,7 @@
[Unit]
Description=Reboot Parameter Partition
DefaultDependencies=no
+ConditionPathExists=/dev/disk/by-label/inform
Conflicts=umount.target
[Mount]