Add RequiresMountsFor=/opt to wait-mount@.service. 32/186332/1 accepted/tizen_5.0_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_6.0 tizen_6.0_hotfix tizen_6.5 accepted/tizen/5.0/unified/20181102.012325 accepted/tizen/5.5/unified/20191031.014740 accepted/tizen/5.5/unified/mobile/hotfix/20201027.081908 accepted/tizen/6.0/unified/20201030.123257 accepted/tizen/6.0/unified/hotfix/20201103.051901 accepted/tizen/6.5/unified/20211028.093931 accepted/tizen/unified/20180827.160704 submit/tizen/20180809.083017 submit/tizen/20180827.080719 submit/tizen_5.0/20181101.000001 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185101 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 submit/tizen_6.5/20211028.161501 tizen_5.5.m2_release tizen_6.0.m2_release tizen_6.5.m2_release
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 9 Aug 2018 04:30:13 +0000 (13:30 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Thu, 9 Aug 2018 04:34:48 +0000 (13:34 +0900)
In order to apply User/Group to .service, we need /opt/etc/{passwd,group}.

It is not required on emulator, because /opt is mounted by initrd.
To avoid confusion, we do the same patch in the emulator.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ia7940f844ea5f2d785a7c7ce96208669262158cb

filesystem/usr/lib/systemd/system/wait-mount@opt-usr.service

index c667a80..b4633e0 100644 (file)
@@ -1,6 +1,7 @@
 [Unit]
 Description= Wait for /opt/usr partition
 DefaultDependencies=no
+RequiresMountsFor=/opt
 
 [Service]
 Type=oneshot