Change image name to new naming.
Remove dropped image from multi container integration.
Bug-AGL: SPEC-5158
Change-Id: I5fad2dbac1f0302f170f08d4a6d538db43fd1e4c
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
+++ /dev/null
-{
- "name": "agl-html5-ivi-demo"
-}
+++ /dev/null
-{
- "name": "agl-html5-ivi-demo",
- "role": "ivi",
- "base": {
- "autoboot": false,
- "bootpriority": 10,
- "rootfs": {
- "path": "/opt/container/guests/agl-html5-ivi-demo/rootfs",
- "filesystem": "ext4",
- "mode": "rw",
- "blockdev": [
- "/dev/mmcblk0p8",
- "/dev/mmcblk0p8"
- ]
- },
- "lifecycle": {
- "halt": "SIGRTMIN+3",
- "reboot": "SIGTERM",
- "timeout": 15000
- },
- "cap": {
- "drop": "sys_module mac_admin mac_override",
- "keep": ""
- },
- "environment": [
- "PIPEWIRE_RUNTIME_DIR=/var",
- "HOME=/home/root"
- ]
- },
- "fs": {
- "mount": [
- {
- "type": "filesystem",
- "from": "tmpfs",
- "to": "run",
- "fstype": "tmpfs",
- "option": "defaults 0 0"
- },
- {
- "type": "directory",
- "from": "/sys/kernel/security",
- "to": "sys/kernel/security",
- "fstype": "none",
- "option": "ro,bind,optional 0 0"
- },
- {
- "type": "directory",
- "from": "/run/udev/data",
- "to": "run/udev/data",
- "fstype": "none",
- "option": "ro,bind,optional,create=dir"
- },
- {
- "type": "directory",
- "from": "/run/drm-lease-manager/lease-ivi",
- "to": "var/display/drm-lease-manager/lease",
- "fstype": "none",
- "option": "bind,create=file"
- },
- {
- "type": "directory",
- "from": "/run/pipewire/pipewire-0",
- "to": "var/pipewire-0",
- "fstype": "none",
- "option": "bind,optional,create=file"
- },
- {
- "type": "directory",
- "from": "/run/dlt",
- "to": "run/dlt",
- "fstype": "none",
- "option": "bind,optional,create=dir"
- },
- {
- "type": "directory",
- "from": "/opt/container/guests/agl-html5-ivi-demo/system.conf",
- "to": "etc/systemd/system.conf.d/10-environment.conf",
- "fstype": "none",
- "option": "bind,optional,create=file"
- }
- ]
- },
- "device": {
- "static": [
- {
- "type": "devdir",
- "from": "/dev/dri",
- "to": "dev/dri",
- "devnode": "/dev/dri/card0",
- "optional": 0,
- "wideallow": 1,
- "exclusive": 0
- },
- {
- "type": "devdir",
- "from": "/dev/input",
- "to": "dev/input",
- "devnode": "/dev/input/event0",
- "optional": 1,
- "wideallow": 1,
- "exclusive": 0
- }
- ],
- "dynamic": [
- {
- "devpath": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/",
- "items": [
- {
- "subsystem": "usb",
- "rule": {
- "devtype": ["usb_device","usb_interface"],
- "action": ["add", "remove"]
- },
- "behavior": {
- "injection": 1,
- "devnode": 0,
- "allow": 0,
- "permission": "rw"
- }
- },
- {
- "subsystem": "block",
- "rule": {
- "action": ["add", "remove","change"],
- "extra" : [
- {
- "checker": "exclude-fs",
- "value": "ext4"
- }
- ]
- },
- "behavior": {
- "injection": 1,
- "devnode": 0,
- "allow": 1,
- "permission": "rwm"
- }
- }
- ]
- },
- {
- "devpath": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/",
- "items": [
- {
- "subsystem": "hid",
- "rule": {
- "action": ["add", "remove"]
- },
- "behavior": {
- "injection": 1,
- "devnode": 1,
- "allow": 1,
- "permission": "rw"
- }
- }
- ]
- }
- ]
- },
- "network": {
- "static": [
- {
- "type": "veth",
- "param": {
- "name": "veth0",
- "link": "lxcbr0",
- "flags": "up",
- "hwaddr": "00:16:3e:xx:xx:xx",
- "mode": "bridge"
- }
- }
- ]
- }
-}
+++ /dev/null
-{
- "name": "agl-html5-ivi-demo",
- "role": "ivi",
- "base": {
- "autoboot": false,
- "bootpriority": 10,
- "rootfs": {
- "path": "/opt/container/guests/agl-html5-ivi-demo/rootfs",
- "filesystem": "ext4",
- "mode": "rw",
- "blockdev": [
- "/dev/mmcblk1p6",
- "/dev/mmcblk1p6"
- ]
- },
- "lifecycle": {
- "halt": "SIGRTMIN+3",
- "reboot": "SIGTERM",
- "timeout": 15000
- },
- "cap": {
- "drop": "sys_module mac_admin mac_override",
- "keep": ""
- },
- "environment": [
- "PIPEWIRE_RUNTIME_DIR=/var",
- "HOME=/home/root"
- ]
- },
- "fs": {
- "mount": [
- {
- "type": "filesystem",
- "from": "tmpfs",
- "to": "run",
- "fstype": "tmpfs",
- "option": "defaults 0 0"
- },
- {
- "type": "directory",
- "from": "/sys/kernel/security",
- "to": "sys/kernel/security",
- "fstype": "none",
- "option": "ro,bind,optional 0 0"
- },
- {
- "type": "directory",
- "from": "/run/udev/data",
- "to": "run/udev/data",
- "fstype": "none",
- "option": "ro,bind,optional,create=dir"
- },
- {
- "type": "directory",
- "from": "/run/drm-lease-manager/lease-ivi",
- "to": "var/display/drm-lease-manager/lease",
- "fstype": "none",
- "option": "bind,create=file"
- },
- {
- "type": "directory",
- "from": "/run/pipewire/pipewire-0",
- "to": "var/pipewire-0",
- "fstype": "none",
- "option": "bind,optional,create=file"
- },
- {
- "type": "directory",
- "from": "/run/dlt",
- "to": "run/dlt",
- "fstype": "none",
- "option": "bind,optional,create=dir"
- },
- {
- "type": "directory",
- "from": "/opt/container/guests/agl-html5-ivi-demo/system.conf",
- "to": "etc/systemd/system.conf.d/10-environment.conf",
- "fstype": "none",
- "option": "bind,optional,create=file"
- }
- ]
- },
- "device": {
- "static": [
- {
- "type": "devdir",
- "from": "/dev/dri",
- "to": "dev/dri",
- "devnode": "/dev/dri/card0",
- "optional": 0,
- "wideallow": 1,
- "exclusive": 0
- },
- {
- "type": "devdir",
- "from": "/dev/input",
- "to": "dev/input",
- "devnode": "/dev/input/event0",
- "optional": 1,
- "wideallow": 1,
- "exclusive": 0
- },
- {
- "type": "devnode",
- "from": "/dev/pvr_sync",
- "to": "dev/pvr_sync",
- "devnode": "/dev/pvr_sync",
- "optional": 0,
- "wideallow": 0,
- "exclusive": 0
- }
- ],
- "dynamic": [
- {
- "devpath": "/devices/platform/soc/ee0a0100.usb/usb2/",
- "items": [
- {
- "subsystem": "usb",
- "rule": {
- "devtype": ["usb_device","usb_interface"],
- "action": ["add", "remove"]
- },
- "behavior": {
- "injection": 1,
- "devnode": 0,
- "allow": 0,
- "permission": "rw"
- }
- },
- {
- "subsystem": "block",
- "rule": {
- "action": ["add", "remove","change"],
- "extra" : [
- {
- "checker": "exclude-fs",
- "value": "ext4"
- }
- ]
- },
- "behavior": {
- "injection": 1,
- "devnode": 0,
- "allow": 1,
- "permission": "rwm"
- }
- }
- ]
- },
- {
- "devpath": "/devices/platform/soc/ee0a0100.usb/usb2/",
- "items": [
- {
- "subsystem": "hid",
- "rule": {
- "action": ["add", "remove"]
- },
- "behavior": {
- "injection": 1,
- "devnode": 1,
- "allow": 1,
- "permission": "rw"
- }
- }
- ]
- }
- ]
- },
- "network": {
- "static": [
- {
- "type": "veth",
- "param": {
- "name": "veth0",
- "link": "lxcbr0",
- "flags": "up",
- "hwaddr": "00:16:3e:xx:xx:xx",
- "mode": "bridge"
- }
- }
- ]
- }
-}
+++ /dev/null
-[Manager]
-DefaultEnvironment = PIPEWIRE_RUNTIME_DIR=/var
+++ /dev/null
-DESCRIPTION = "Container Manager config for meta-agl-demo based AGL HTML5 IVI demo"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
-
-SRC_URI = "file://agl-html5-ivi-demo.json \
- file://system.conf.agl-html5-ivi-demo.in \
- "
-
-inherit cm-config
-
-do_install:append() {
- install -Dm644 ${WORKDIR}/agl-html5-ivi-demo.json ${D}/opt/container/conf/agl-html5-ivi-demo.json
- install -d ${D}/opt/container/guests/agl-html5-ivi-demo/rootfs
- install -d ${D}/opt/container/guests/agl-html5-ivi-demo/nv
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-FILES:${PN} += " \
- /opt/container/conf/* \
- /opt/container/guests/agl-html5-ivi-demo/* \
- "
OUT_OF_TREE_CONTAINER_IMAGE_DEPLOY_DIR ??= ""
OUT_OF_TREE_CONTAINER_IMAGES ??= " \
- agl-ivi-demo-platform \
- agl-ivi-demo-platform-flutter \
- agl-ivi-demo-platform-html5 \
+ agl-ivi-demo-qt \
+ agl-ivi-demo-flutter \
"
OUT_OF_TREE_CONTAINER_CONFIGS ??= " \
cm-config-agl-qt-ivi-demo \
cm-config-agl-flutter-ivi-demo \
- cm-config-agl-html5-ivi-demo \
"
CONTAINER_EXCHANGE_DEMO_UI ??= "momiweb momikey"
er=0
for image in ${OUT_OF_TREE_CONTAINER_IMAGES}; do
rm -f "${DEPLOY_DIR_IMAGE}/${image}.ext4"
- src="${OUT_OF_TREE_CONTAINER_IMAGE_DEPLOY_DIR}/images/${MACHINE}/${image}-${MACHINE}${MACHINE_SUFFIX}.ext4"
+ src="${OUT_OF_TREE_CONTAINER_IMAGE_DEPLOY_DIR}/images/${MACHINE}/${image}-${MACHINE}${MACHINE_SUFFIX}${IMAGE_NAME_SUFFIX}.ext4"
if [ ! -e ${src} ]; then
bberror "File not found at ${src}."
er=1
part / --source rootfs --fstype=ext4 --label host --align 4096 --size 1024
part --source rawcopy --sourceparams="file=guest-image-cluster-demo.ext4"
part --source rawcopy --sourceparams="file=guest-image-ivi-demo.ext4"
-part --source rawcopy --sourceparams="file=agl-ivi-demo-platform.ext4"
-part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-flutter.ext4"
-part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-html5.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-qt.ext4"
+part --source rawcopy --sourceparams="file=cm-config-agl-flutter-ivi-demo.ext4"
part --source rawcopy --sourceparams="file=guest-image-ivi-demo.ext4"
part --fstype=ext4 --label agl-qt-ivi --align 4096 --size 3072
part --fstype=ext4 --label agl-flutter-ivi --align 4096 --size 3072
-part --fstype=ext4 --label agl-html5-ivi --align 4096 --size 3072
part / --source rootfs --fstype=ext4 --label host --align 4096 --size 1024
part --source rawcopy --sourceparams="file=guest-image-cluster-demo.ext4"
part --source rawcopy --sourceparams="file=guest-image-ivi-demo.ext4"
-part --source rawcopy --sourceparams="file=agl-ivi-demo-platform.ext4"
-part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-flutter.ext4"
-part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-html5.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-qt.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-flutter.ext4"
part --source rawcopy --sourceparams="file=guest-image-ivi-demo.ext4"
part --fstype=ext4 --label agl-qt-ivi --align 4096 --size 3072
part --fstype=ext4 --label agl-flutter-ivi --align 4096 --size 3072
-part --fstype=ext4 --label agl-html5-ivi --align 4096 --size 3072