summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-ic-container/recipes-demo/pre-install/pre-install-video-data.bb31
-rw-r--r--meta-agl-ic-container/recipes-platform/images/guest-image-ivi-demo.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-demo/pre-install/pre-install-video-data.bb b/meta-agl-ic-container/recipes-demo/pre-install/pre-install-video-data.bb
new file mode 100644
index 00000000..e461fd9a
--- /dev/null
+++ b/meta-agl-ic-container/recipes-demo/pre-install/pre-install-video-data.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Demo video data for AGL demo"
+DESCRIPTION = "AGL demo video data aim to show demo information by video."
+HOMEPAGE = "https://github.com/agl-ic-eg/ic-demo-video"
+SECTION = "Multimedia"
+LICENSE = "CC-BY-NC-ND-4.0"
+LIC_FILES_CHKSUM = "file://CC-BY-NC-ND-4.0;md5=afe664d64109562c3fa9c309bd7f73bc"
+
+SRC_URI = " \
+ git://github.com/agl-ic-eg/ic-demo-video.git;branch=master;protocol=https \
+"
+SRCREV = "a58624c3e721330d11d389a68c58bfe8f2e05a41"
+
+inherit allarch
+
+S = "${WORKDIR}/git"
+
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+do_compile[noexec] = "1"
+do_install() {
+ install -d ${D}/home/root/Music
+ cp ${S}/ic-container-ces2024.mp4 ${D}/home/root/Music/
+}
+
+PACKAGES = "\
+ ${PN} \
+"
+
+FILES:${PN} = " \
+ /home/root/Music/* \
+"
diff --git a/meta-agl-ic-container/recipes-platform/images/guest-image-ivi-demo.bb b/meta-agl-ic-container/recipes-platform/images/guest-image-ivi-demo.bb
index 27f2fcbe..20f2ca86 100644
--- a/meta-agl-ic-container/recipes-platform/images/guest-image-ivi-demo.bb
+++ b/meta-agl-ic-container/recipes-platform/images/guest-image-ivi-demo.bb
@@ -17,6 +17,7 @@ IMAGE_INSTALL += " \
ttf-dejavu-mathtexgyre \
ttf-dejavu-common \
ca-certificates \
+ pre-install-video-data \
"
IMAGE_INSTALL:append:rpi = " mesa-megadriver"