agl-lxc: Stably start lxc service after drm-lease-manager 61/27761/2 13.91.0 needlefish/13.91.0 needlefish_13.91.0
authorHiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Tue, 12 Jul 2022 05:53:28 +0000 (14:53 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 14 Jul 2022 09:32:09 +0000 (09:32 +0000)
commit76599360b8dbe1307e6d38f39517668aa8239081
tree8a904f25d6a2517b9d2c92402577635045b1900e
parent98d98c11ceefa8846bc3c83d42644c2fdbd75c34
agl-lxc: Stably start lxc service after drm-lease-manager

Since there is some race condition between initialization of
drm-lease-manager and startup of lxc guest images in
lxc-host-image-demo currently, we sometimes observe a startup
failure of the cluster-guest, especially on refhw platform,
due to delay of lease device creation.

This change adds unit dependencies between lxc and
drm-lease-manager so that lxc guests can be started after lease
devices creation stably.

Bug-AGL: SPEC-4427

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I16183c784d8e1132ba316f842e5dedc664ec2853
meta-agl-lxc/recipes-container/lxc/files/lxc.service [new file with mode: 0644]
meta-agl-lxc/recipes-container/lxc/lxc_%.bbappend