From c17270bbef3959bc7dbfdf20f68d2a7f70bb818a Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Sat, 17 Dec 2022 14:15:12 +0900 Subject: Disable guest reboot by lxc-monitor When guest container use reboot command, lxc-monitor will reboot guest automatically. In this case, the container management daemon catch exit from guest init, but it cant reboot guest. This mean container manager can't re-assign dynamic devices. This patch disable automatic reboot. Bug-AGL: SPEC-4777 Change-Id: I3fbd3fca61db29e483b782b0db9c64707b3e488c Signed-off-by: Naoto Yamaguchi --- meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend') diff --git a/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend b/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend index 1b78edfa..cbfc6135 100644 --- a/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend +++ b/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend @@ -1,6 +1,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI += " \ + file://0001-Remove-container-automatic-rebooting.patch \ file://lxc.service \ file://lxc-net.service \ " @@ -37,6 +38,3 @@ FILES:${PN}-networking += " \ # This needs to be replaced with a rework of the upstream packaging # to do a proper split of core from the template support. RDEPENDS:${PN} = "" - - - -- cgit 1.2.3-korg