From 261769808117585a84046e8d3ab566f40d31d5da Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Sun, 21 May 2023 07:58:26 +0900 Subject: Enable logging solution in AGL IC container integration In case of container isolation, a logs of each container record inside a container. When developer want to analyze system using logs, they need to combine log file between host and guest. This patch enable system wide logging solution for AGL IC container integration. This architecture describe in https://confluence.automotivelinux.org/display/IC/Architecture+design+for+logging Bug-AGL: SPEC-4005 Change-Id: I331474530131e6a87b41639444d705c8293d4c0c Signed-off-by: Naoto Yamaguchi --- .../recipes-platform/images/guest-image-minimal.bb | 1 + .../images/lxc-host-image-minimal.bb | 1 + .../packagegroup-agl-container-feature-logging.bb | 31 ++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 meta-agl-ic-container/recipes-platform/packagegroups/packagegroup-agl-container-feature-logging.bb (limited to 'meta-agl-ic-container/recipes-platform') diff --git a/meta-agl-ic-container/recipes-platform/images/guest-image-minimal.bb b/meta-agl-ic-container/recipes-platform/images/guest-image-minimal.bb index 6a47cfe5..5e2025a7 100644 --- a/meta-agl-ic-container/recipes-platform/images/guest-image-minimal.bb +++ b/meta-agl-ic-container/recipes-platform/images/guest-image-minimal.bb @@ -8,4 +8,5 @@ IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "syst IMAGE_INSTALL:append = " \ packagegroup-agl-ic-core \ + packagegroup-agl-container-feature-logging-guest \ " diff --git a/meta-agl-ic-container/recipes-platform/images/lxc-host-image-minimal.bb b/meta-agl-ic-container/recipes-platform/images/lxc-host-image-minimal.bb index 1b4f7a27..305d1dd8 100644 --- a/meta-agl-ic-container/recipes-platform/images/lxc-host-image-minimal.bb +++ b/meta-agl-ic-container/recipes-platform/images/lxc-host-image-minimal.bb @@ -6,6 +6,7 @@ IMAGE_INSTALL += " \ kernel-image \ lxc \ drm-lease-manager \ + packagegroup-agl-container-feature-logging-host \ " CONTAINER_IMAGES ??= "" diff --git a/meta-agl-ic-container/recipes-platform/packagegroups/packagegroup-agl-container-feature-logging.bb b/meta-agl-ic-container/recipes-platform/packagegroups/packagegroup-agl-container-feature-logging.bb new file mode 100644 index 00000000..3b218005 --- /dev/null +++ b/meta-agl-ic-container/recipes-platform/packagegroups/packagegroup-agl-container-feature-logging.bb @@ -0,0 +1,31 @@ +SUMMARY = "AGL container integration feature packages for logging." +DESCRIPTION = "This pacage group including AGL container integration feature packages \ + for logging." +HOMEPAGE = "https://confluence.automotivelinux.org/display/IC" + +LICENSE = "Apache-2.0" + +PACKAGE_ARCH = "${TUNE_PKGARCH}" + +inherit packagegroup + +PACKAGES = "\ + ${PN}-host \ + ${PN}-guest \ + ${PN}-hostdev \ + ${PN}-guestdev \ +" +RDEPENDS:${PN}-host += "\ + dlt-daemon \ + dlt-daemon-system \ +" +RDEPENDS:${PN}-guest += "\ + dlt-daemon-system \ +" +RDEPENDS:${PN}-hostdev += "\ + ${PN}-host \ + dlt-daemon-command \ +" +RDEPENDS:${PN}-guestdev += "\ + ${PN}-guest\ +" -- cgit 1.2.3-korg