reboot-param-helper: change condition path from /dev/disk/by-label/inform to /hal... 62/259462/3 accepted/tizen/6.5/unified/20211028.114852 accepted/tizen/unified/20210609.082348 submit/tizen/20210609.021843 submit/tizen_6.5/20211028.162501 tizen_6.5.m2_release
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 8 Jun 2021 09:26:01 +0000 (18:26 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Tue, 8 Jun 2021 09:37:44 +0000 (18:37 +0900)
Patch "reboot-param-helper: add After=basic.target dependency to mnt-inform.mount" has a hole.
If udev completion is later than the basic target, the mount will fail.

So, I change the condition path to a fixed path provided by hal.

Change-Id: I7e6aa133877c72801f76f0ae477114b8a833d6e8
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
units/mnt-inform.mount

index 9cc2b89bad041415be828cb1fe57b99d9b9ed993..05f11a4e210e57f22b2fb46ee116fa82a5ef8765 100644 (file)
@@ -1,9 +1,8 @@
 [Unit]
 Description=Reboot Parameter Partition
 DefaultDependencies=no
-ConditionPathExists=/dev/disk/by-label/inform
+ConditionPathExists=/hal/etc/reboot/register_storage
 Conflicts=umount.target
-After=basic.target
 
 [Mount]
 What=LABEL=inform