reboot-param-helper: add After=basic.target dependency to mnt-inform.mount 51/259251/4 accepted/tizen/unified/20210607.011718 submit/tizen/20210604.114936
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 3 Jun 2021 05:42:42 +0000 (14:42 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Fri, 4 Jun 2021 11:35:29 +0000 (20:35 +0900)
/dev/disk/by-label/inform is created by udev rules.
Sometimes, mnt-inform.mount is executed before the udev rule.

As a result, "ConditionPathExists=/dev/disk/by-label/inform" is fail,
and this mount is not executed.

=====================================================================================================
Jan 01 09:00:07 localhost systemd[1]: Condition check resulted in Reboot Parameter Partition being skipped.
Jan 01 09:00:08 localhost systemd[1]: Starting udev Kernel Device Manager...
=====================================================================================================p

Change-Id: Icb0ab861b13c4198051760e31146102839233adc

units/mnt-inform.mount

index 9d009bb4fd089ef3dd78c679b82e274d948337b3..9cc2b89bad041415be828cb1fe57b99d9b9ed993 100644 (file)
@@ -3,6 +3,7 @@ Description=Reboot Parameter Partition
 DefaultDependencies=no
 ConditionPathExists=/dev/disk/by-label/inform
 Conflicts=umount.target
+After=basic.target
 
 [Mount]
 What=LABEL=inform