summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-platform
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-ic-container/recipes-platform')
-rw-r--r--meta-agl-ic-container/recipes-platform/images/agl-cluster-demo-lxc-host.bb35
-rw-r--r--meta-agl-ic-container/recipes-platform/images/agl-lxc-autostart.inc19
-rw-r--r--meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc21
3 files changed, 0 insertions, 75 deletions
diff --git a/meta-agl-ic-container/recipes-platform/images/agl-cluster-demo-lxc-host.bb b/meta-agl-ic-container/recipes-platform/images/agl-cluster-demo-lxc-host.bb
deleted file mode 100644
index 03a49d33..00000000
--- a/meta-agl-ic-container/recipes-platform/images/agl-cluster-demo-lxc-host.bb
+++ /dev/null
@@ -1,35 +0,0 @@
-SUMMARY = "LXC host demo image"
-LICENSE = "MIT"
-
-require lxc-host-image-minimal.bb
-require recipes-platform/images/agl-lxc-install-single-image.inc
-require recipes-platform/images/agl-lxc-autostart.inc
-
-CONTAINER_IMAGES ?= "agl-container-cluster:guest-image-cluster-demo \
- agl-container-ivi:guest-image-ivi-demo \
- "
-
-IMAGE_INSTALL += " \
- kernel-modules \
- alsa-utils \
- packagegroup-pipewire \
- pipewire-ic-ipc \
- wireplumber-config-agl \
-"
-
-# packages required for network bridge settings via lxc-net
-IMAGE_INSTALL += " \
- lxc-networking \
- iptables-modules \
- dnsmasq \
- systemd-netif-config \
- kernel-module-xt-addrtype \
- kernel-module-xt-multiport \
-"
-
-# network manager to use
-VIRTUAL-RUNTIME_net_manager = "systemd"
-
-
-# Under the this line, shall describe machine specific package.
-IMAGE_INSTALL:append:rcar-gen3 = " kernel-module-gles gles-user-module-firmware"
diff --git a/meta-agl-ic-container/recipes-platform/images/agl-lxc-autostart.inc b/meta-agl-ic-container/recipes-platform/images/agl-lxc-autostart.inc
deleted file mode 100644
index 41a925e3..00000000
--- a/meta-agl-ic-container/recipes-platform/images/agl-lxc-autostart.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-# Integration type support for lxc autostart based startup.
-
-IMAGE_INSTALL += " \
- ${LXC_CONTAINER_CONFIGS} \
- lxc-autostart \
-"
-
-LXC_CONTAINER_CONFIGS ?= ""
-
-python __anonymous() {
- for c in (d.getVar('CONTAINER_IMAGES') or "").split():
- (mc, image) = c.split(':')
-
- # Assume there is a X-lxc-config package for guest-image-X
- config = image
- if config.startswith('guest-image-'):
- config = config[len('guest-image-'):]
- d.appendVar('LXC_CONTAINER_CONFIGS', ' ' + 'lxc-config-' + config)
-}
diff --git a/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc b/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc
deleted file mode 100644
index 4f230298..00000000
--- a/meta-agl-ic-container/recipes-platform/images/agl-lxc-install-single-image.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-# Integration type support for install guest root filesystem into host image.
-
-require recipes-platform/images/agl-lxc-multiconfig-build.inc
-
-# Handle modification of IMAGE_LINK_NAME done by ULCB builds with Kingfisher support
-MACHINE_SUFFIX = "${@bb.utils.contains('AGL_FEATURES', 'kingfisher', '-kf', '', d)}"
-
-install_container_images() {
- for c in ${CONTAINER_IMAGES}; do
- config=${c%:*}
- image=${c#*:}
- name=${image#guest-image-}
- rm -rf ${IMAGE_ROOTFS}/var/lib/machines/${name}
- install -m 0755 -d ${IMAGE_ROOTFS}/var/lib/machines/${name}
- src="${TOPDIR}/tmp-${config}/deploy/images/${MACHINE}/${image}-${MACHINE}${MACHINE_SUFFIX}${IMAGE_NAME_SUFFIX}.tar.bz2"
- bbnote "Installing ${src}"
- tar -C ${IMAGE_ROOTFS}/var/lib/machines/${name} -xf ${src}
- done
-}
-
-ROOTFS_POSTPROCESS_COMMAND += "install_container_images; "