reboot-param-helper: mount only when inform label exists 82/256982/1 accepted/tizen/unified/20210416.143336 submit/tizen/20210416.062839
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 16 Apr 2021 03:52:40 +0000 (12:52 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 16 Apr 2021 03:52:47 +0000 (12:52 +0900)
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>
units/mnt-inform.mount

index 6187e3825cf6d8494fa3d4abf2faef027c053c37..9d009bb4fd089ef3dd78c679b82e274d948337b3 100644 (file)
@@ -1,6 +1,7 @@
 [Unit]
 Description=Reboot Parameter Partition
 DefaultDependencies=no
+ConditionPathExists=/dev/disk/by-label/inform
 Conflicts=umount.target
 
 [Mount]