From: INSUN PYO Date: Thu, 9 Aug 2018 04:30:13 +0000 (+0900) Subject: Add RequiresMountsFor=/opt to wait-mount@.service. X-Git-Tag: accepted/tizen/5.0/unified/20181102.012325^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_6.0_hotfix;p=platform%2Fadaptation%2Femulator%2Fsystem-plugin-emulator.git Add RequiresMountsFor=/opt to wait-mount@.service. 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 Change-Id: Ia7940f844ea5f2d785a7c7ce96208669262158cb --- diff --git a/filesystem/usr/lib/systemd/system/wait-mount@opt-usr.service b/filesystem/usr/lib/systemd/system/wait-mount@opt-usr.service index c667a80..b4633e0 100644 --- a/filesystem/usr/lib/systemd/system/wait-mount@opt-usr.service +++ b/filesystem/usr/lib/systemd/system/wait-mount@opt-usr.service @@ -1,6 +1,7 @@ [Unit] Description= Wait for /opt/usr partition DefaultDependencies=no +RequiresMountsFor=/opt [Service] Type=oneshot