summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-cluster-demo_1.0.bb
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-04 16:31:00 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-09 08:13:10 +0900
commitd74a85f6c8f7f54065cd4fbcd0e876e77de1ceb4 (patch)
treec92bb2eef6a9352cabe92c76a2d5b94853101f45 /meta-agl-ic-container/recipes-container/container-manager-config/cm-config-cluster-demo_1.0.bb
parent55d5b9a017f110c829585a57fa55763b15b9dd8d (diff)
Add initial container manager config for r-car gen3
This patch add config files for container manager to launch guest by container manager. Bug-AGL: SPEC-4777 Change-Id: I0b2fd8f87f3cdffbbda0688f3d6b4b980bdc2c2b Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-container/container-manager-config/cm-config-cluster-demo_1.0.bb')
-rw-r--r--meta-agl-ic-container/recipes-container/container-manager-config/cm-config-cluster-demo_1.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-cluster-demo_1.0.bb b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-cluster-demo_1.0.bb
new file mode 100644
index 00000000..4417974d
--- /dev/null
+++ b/meta-agl-ic-container/recipes-container/container-manager-config/cm-config-cluster-demo_1.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Container Manager config for cluster demo"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+
+SRC_URI = "file://cluster-demo.json \
+ file://system.conf.cluster-demo.in \
+ "
+
+inherit allarch
+
+do_install:append() {
+ install -Dm644 ${WORKDIR}/cluster-demo.json ${D}/opt/container/conf/cluster-demo.json
+ install -d ${D}/opt/container/guests/cluster-demo/rootfs
+ install -d ${D}/opt/container/guests/cluster-demo/nv
+ install -Dm644 ${WORKDIR}/system.conf.cluster-demo.in ${D}/opt/container/guests/cluster-demo/system.conf
+}
+
+FILES:${PN} += " \
+ /opt/container/conf/* \
+ /opt/container/guests/cluster-demo/* \
+ "
+