From 10162f658b9c16182aa347e08fabda8487efed6c Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Thu, 9 Aug 2018 13:30:13 +0900 Subject: [PATCH] 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 --- filesystem/usr/lib/systemd/system/wait-mount@opt-usr.service | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4