From e3dad1344fee65f54b639f541c7f10352088462b Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 26 Apr 2024 10:44:44 -0400 Subject: Rework demo image naming Rename the demo images to align with the following scheme: agl---(-) The intent is to make the naming more consistent in preparation for switching to preconfigured images as a replacement for the existing agl-demo-preload, agl-demo-cluster-support, agl-kvm-host-* aglsetup.sh features. Additionally, the prototype LXC demo image support has been removed as it is unused and would need updating for these and upcoming changes. Bug-AGL: SPEC-5138 Change-Id: I8d907713b09eb47c3cb0ebd5326ab063b2684ea2 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29903 Reviewed-by: Naoto YAMAGUCHI Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- .../images/agl-cluster-demo-flutter.bb | 37 +++++++++ .../images/agl-cluster-demo-platform-flutter.bb | 37 --------- .../images/agl-cluster-demo-platform.bb | 29 ------- recipes-platform/images/agl-cluster-demo-qt.bb | 29 +++++++ .../images/agl-demo-platform-crosssdk.bb | 1 - recipes-platform/images/agl-demo-platform-html5.bb | 1 - recipes-platform/images/agl-demo-platform.bb | 1 - recipes-platform/images/agl-image-ivi-crosssdk.bb | 11 --- recipes-platform/images/agl-image-ivi.bb | 23 ------ .../images/agl-ivi-demo-base-flutter.bb | 8 -- recipes-platform/images/agl-ivi-demo-base.bb | 19 ----- .../images/agl-ivi-demo-flutter-simple.bb | 20 +++++ recipes-platform/images/agl-ivi-demo-flutter.bb | 11 +++ recipes-platform/images/agl-ivi-demo-html5.bb | 13 +++ .../images/agl-ivi-demo-platform-crosssdk.bb | 16 ---- .../images/agl-ivi-demo-platform-flutter-simple.bb | 20 ----- .../images/agl-ivi-demo-platform-flutter.bb | 11 --- .../images/agl-ivi-demo-platform-html5.bb | 13 --- recipes-platform/images/agl-ivi-demo-platform.bb | 23 ------ .../images/agl-ivi-demo-qt-crosssdk.bb | 16 ++++ recipes-platform/images/agl-ivi-demo-qt.bb | 23 ++++++ recipes-platform/images/agl-ivi-image-crosssdk.bb | 11 +++ recipes-platform/images/agl-ivi-image-flutter.bb | 8 ++ recipes-platform/images/agl-ivi-image.bb | 32 ++++++++ recipes-platform/images/agl-kvm-demo-platform.bb | 96 ---------------------- recipes-platform/images/agl-kvm-demo.bb | 95 +++++++++++++++++++++ .../images/agl-telematics-demo-platform.bb | 13 --- recipes-platform/images/agl-telematics-demo.bb | 12 +++ 28 files changed, 307 insertions(+), 322 deletions(-) create mode 100644 recipes-platform/images/agl-cluster-demo-flutter.bb delete mode 100644 recipes-platform/images/agl-cluster-demo-platform-flutter.bb delete mode 100644 recipes-platform/images/agl-cluster-demo-platform.bb create mode 100644 recipes-platform/images/agl-cluster-demo-qt.bb delete mode 120000 recipes-platform/images/agl-demo-platform-crosssdk.bb delete mode 120000 recipes-platform/images/agl-demo-platform-html5.bb delete mode 120000 recipes-platform/images/agl-demo-platform.bb delete mode 100644 recipes-platform/images/agl-image-ivi-crosssdk.bb delete mode 100644 recipes-platform/images/agl-image-ivi.bb delete mode 100644 recipes-platform/images/agl-ivi-demo-base-flutter.bb delete mode 100644 recipes-platform/images/agl-ivi-demo-base.bb create mode 100644 recipes-platform/images/agl-ivi-demo-flutter-simple.bb create mode 100644 recipes-platform/images/agl-ivi-demo-flutter.bb create mode 100644 recipes-platform/images/agl-ivi-demo-html5.bb delete mode 100644 recipes-platform/images/agl-ivi-demo-platform-crosssdk.bb delete mode 100644 recipes-platform/images/agl-ivi-demo-platform-flutter-simple.bb delete mode 100644 recipes-platform/images/agl-ivi-demo-platform-flutter.bb delete mode 100644 recipes-platform/images/agl-ivi-demo-platform-html5.bb delete mode 100644 recipes-platform/images/agl-ivi-demo-platform.bb create mode 100644 recipes-platform/images/agl-ivi-demo-qt-crosssdk.bb create mode 100644 recipes-platform/images/agl-ivi-demo-qt.bb create mode 100644 recipes-platform/images/agl-ivi-image-crosssdk.bb create mode 100644 recipes-platform/images/agl-ivi-image-flutter.bb create mode 100644 recipes-platform/images/agl-ivi-image.bb delete mode 100644 recipes-platform/images/agl-kvm-demo-platform.bb create mode 100644 recipes-platform/images/agl-kvm-demo.bb delete mode 100644 recipes-platform/images/agl-telematics-demo-platform.bb create mode 100644 recipes-platform/images/agl-telematics-demo.bb (limited to 'recipes-platform/images') diff --git a/recipes-platform/images/agl-cluster-demo-flutter.bb b/recipes-platform/images/agl-cluster-demo-flutter.bb new file mode 100644 index 000000000..5cf3daf9f --- /dev/null +++ b/recipes-platform/images/agl-cluster-demo-flutter.bb @@ -0,0 +1,37 @@ +SUMMARY = "Baseline Flutter Image for Release" + +LICENSE = "MIT" + +require recipes-platform/images/agl-image-compositor.bb +require agl-demo-features.inc + +IMAGE_FEATURES += "splash package-management ssh-server-openssh" + +# KUKSA.val databroker is not installed with "agl-demo-preload" +# feature enabled, since demo unit configuration points at the +# databroker on the IVI board in that setup. +IMAGE_FEATURES += " \ + kuksa-val-databroker-client \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "kuksa-val-databroker", d)} \ +" + +# Generic +IMAGE_INSTALL += "\ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "psplash-inverted-config", "", d)} \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "weston-ini-conf-landscape-inverted", "weston-ini-conf-landscape", d)} \ + \ + packagegroup-agl-networking \ + cluster-receiver \ + \ + simple-can-simulator \ + " + +# Flutter +IMAGE_INSTALL += "\ + flutter-cluster-dashboard \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "flutter-cluster-dashboard-conf-demo", "flutter-cluster-dashboard-conf", d)} \ + cluster-demo-config-flutter \ + flutter-auto \ + " + +CLANGSDK = "1" diff --git a/recipes-platform/images/agl-cluster-demo-platform-flutter.bb b/recipes-platform/images/agl-cluster-demo-platform-flutter.bb deleted file mode 100644 index 5cf3daf9f..000000000 --- a/recipes-platform/images/agl-cluster-demo-platform-flutter.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "Baseline Flutter Image for Release" - -LICENSE = "MIT" - -require recipes-platform/images/agl-image-compositor.bb -require agl-demo-features.inc - -IMAGE_FEATURES += "splash package-management ssh-server-openssh" - -# KUKSA.val databroker is not installed with "agl-demo-preload" -# feature enabled, since demo unit configuration points at the -# databroker on the IVI board in that setup. -IMAGE_FEATURES += " \ - kuksa-val-databroker-client \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "kuksa-val-databroker", d)} \ -" - -# Generic -IMAGE_INSTALL += "\ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "psplash-inverted-config", "", d)} \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "weston-ini-conf-landscape-inverted", "weston-ini-conf-landscape", d)} \ - \ - packagegroup-agl-networking \ - cluster-receiver \ - \ - simple-can-simulator \ - " - -# Flutter -IMAGE_INSTALL += "\ - flutter-cluster-dashboard \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "flutter-cluster-dashboard-conf-demo", "flutter-cluster-dashboard-conf", d)} \ - cluster-demo-config-flutter \ - flutter-auto \ - " - -CLANGSDK = "1" diff --git a/recipes-platform/images/agl-cluster-demo-platform.bb b/recipes-platform/images/agl-cluster-demo-platform.bb deleted file mode 100644 index c427af66b..000000000 --- a/recipes-platform/images/agl-cluster-demo-platform.bb +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION = "AGL Cluster Demo Platform image currently contains a simple cluster interface." - -LICENSE = "MIT" - -require recipes-platform/images/agl-image-compositor.bb -require agl-demo-features.inc - -IMAGE_FEATURES += "splash package-management ssh-server-openssh" - -inherit features_check - -REQUIRED_DISTRO_FEATURES = "wayland" - -# KUKSA.val databroker is not installed with "agl-demo-preload" -# feature enabled, since demo unit configuration points at the -# databroker on the IVI board in that setup. -IMAGE_FEATURES += " \ - kuksa-val-databroker-client \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "kuksa-val-databroker", d)} \ -" - -# add packages for cluster demo platform (include demo apps) here -IMAGE_INSTALL += " \ - packagegroup-agl-cluster-demo-platform \ - kuksa-certificates-agl-ca \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "cluster-demo-config", "", d)} \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "weston-ini-conf-landscape-inverted", "weston-ini-conf-landscape", d)} \ - ${@bb.utils.contains("AGL_FEATURES", "AGLCI", "qemu-set-display", "", d)} \ - " diff --git a/recipes-platform/images/agl-cluster-demo-qt.bb b/recipes-platform/images/agl-cluster-demo-qt.bb new file mode 100644 index 000000000..c427af66b --- /dev/null +++ b/recipes-platform/images/agl-cluster-demo-qt.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "AGL Cluster Demo Platform image currently contains a simple cluster interface." + +LICENSE = "MIT" + +require recipes-platform/images/agl-image-compositor.bb +require agl-demo-features.inc + +IMAGE_FEATURES += "splash package-management ssh-server-openssh" + +inherit features_check + +REQUIRED_DISTRO_FEATURES = "wayland" + +# KUKSA.val databroker is not installed with "agl-demo-preload" +# feature enabled, since demo unit configuration points at the +# databroker on the IVI board in that setup. +IMAGE_FEATURES += " \ + kuksa-val-databroker-client \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "kuksa-val-databroker", d)} \ +" + +# add packages for cluster demo platform (include demo apps) here +IMAGE_INSTALL += " \ + packagegroup-agl-cluster-demo-platform \ + kuksa-certificates-agl-ca \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "cluster-demo-config", "", d)} \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "weston-ini-conf-landscape-inverted", "weston-ini-conf-landscape", d)} \ + ${@bb.utils.contains("AGL_FEATURES", "AGLCI", "qemu-set-display", "", d)} \ + " diff --git a/recipes-platform/images/agl-demo-platform-crosssdk.bb b/recipes-platform/images/agl-demo-platform-crosssdk.bb deleted file mode 120000 index 70daba005..000000000 --- a/recipes-platform/images/agl-demo-platform-crosssdk.bb +++ /dev/null @@ -1 +0,0 @@ -agl-ivi-demo-platform-crosssdk.bb \ No newline at end of file diff --git a/recipes-platform/images/agl-demo-platform-html5.bb b/recipes-platform/images/agl-demo-platform-html5.bb deleted file mode 120000 index fabf5e35f..000000000 --- a/recipes-platform/images/agl-demo-platform-html5.bb +++ /dev/null @@ -1 +0,0 @@ -agl-ivi-demo-platform-html5.bb \ No newline at end of file diff --git a/recipes-platform/images/agl-demo-platform.bb b/recipes-platform/images/agl-demo-platform.bb deleted file mode 120000 index ff29cf3e8..000000000 --- a/recipes-platform/images/agl-demo-platform.bb +++ /dev/null @@ -1 +0,0 @@ -agl-ivi-demo-platform.bb \ No newline at end of file diff --git a/recipes-platform/images/agl-image-ivi-crosssdk.bb b/recipes-platform/images/agl-image-ivi-crosssdk.bb deleted file mode 100644 index be008832b..000000000 --- a/recipes-platform/images/agl-image-ivi-crosssdk.bb +++ /dev/null @@ -1,11 +0,0 @@ -require agl-image-ivi.bb - -SUMMARY = "Cross SDK of minimal AGL Distribution for IVI profile" - -DESCRIPTION = "SDK image for minimal AGL Distribution for IVI profile. \ -It includes the full toolchain, plus development headers and libraries \ -to form a standalone cross SDK." - -inherit agl-crosssdk - -require agl-ivi-crosssdk.inc diff --git a/recipes-platform/images/agl-image-ivi.bb b/recipes-platform/images/agl-image-ivi.bb deleted file mode 100644 index 69d0ed991..000000000 --- a/recipes-platform/images/agl-image-ivi.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "A basic system of AGL distribution of IVI profile" - -DESCRIPTION = "Basic image for baseline of AGL Distribution for IVI profile." - -LICENSE = "MIT" - -require recipes-platform/images/agl-image-compositor.bb - -IMAGE_INSTALL += " \ - packagegroup-agl-ivi-connectivity \ - packagegroup-agl-ivi-graphics \ - packagegroup-agl-ivi-multimedia \ - packagegroup-agl-ivi-multimedia-hardware \ - packagegroup-agl-ivi-navigation \ - packagegroup-agl-ivi-identity \ - packagegroup-agl-ivi-services-applaunchd \ - ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-audio", "", "packagegroup-agl-ivi-services-platform", d)} \ - iproute2 \ - " - -IMAGE_FEATURES += "splash package-management ssh-server-openssh" - - diff --git a/recipes-platform/images/agl-ivi-demo-base-flutter.bb b/recipes-platform/images/agl-ivi-demo-base-flutter.bb deleted file mode 100644 index ce2ea6bb2..000000000 --- a/recipes-platform/images/agl-ivi-demo-base-flutter.bb +++ /dev/null @@ -1,8 +0,0 @@ -require agl-ivi-demo-base.bb - -DESCRIPTION = "AGL Flutter demo base image" - -IMAGE_INSTALL += " \ - packagegroup-agl-demo-platform-flutter \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "weston-terminal-conf", d)} \ -" diff --git a/recipes-platform/images/agl-ivi-demo-base.bb b/recipes-platform/images/agl-ivi-demo-base.bb deleted file mode 100644 index da4d26840..000000000 --- a/recipes-platform/images/agl-ivi-demo-base.bb +++ /dev/null @@ -1,19 +0,0 @@ -require agl-image-ivi.bb - -DESCRIPTION = "AGL demo base image" - -require agl-ivi-demo-features.inc -require agl-demo-container-guest-integration.inc - -AGL_DEVEL_INSTALL += "\ - simple-can-simulator \ - unzip \ - mpc \ -" - -AGL_APPS_INSTALL = "" - -IMAGE_INSTALL += " \ - ${AGL_APPS_INSTALL} \ - ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", "${AGL_DEVEL_INSTALL}" , "", d)} \ -" diff --git a/recipes-platform/images/agl-ivi-demo-flutter-simple.bb b/recipes-platform/images/agl-ivi-demo-flutter-simple.bb new file mode 100644 index 000000000..2e33f47b1 --- /dev/null +++ b/recipes-platform/images/agl-ivi-demo-flutter-simple.bb @@ -0,0 +1,20 @@ +require agl-ivi-image-flutter.bb + +SUMMARY = "AGL IVI demo simple Flutter image" + +AGL_APPS_INSTALL += " \ + flutter-homescreen \ + flutter-dashboard \ + flutter-hvac \ + ondemandnavi \ + settings \ + mediaplayer \ + messaging \ + phone \ + radio \ +" + +IMAGE_INSTALL += " \ + qtquickcontrols2-agl \ + qtquickcontrols2-agl-style \ +" diff --git a/recipes-platform/images/agl-ivi-demo-flutter.bb b/recipes-platform/images/agl-ivi-demo-flutter.bb new file mode 100644 index 000000000..75fd57c60 --- /dev/null +++ b/recipes-platform/images/agl-ivi-demo-flutter.bb @@ -0,0 +1,11 @@ +require agl-ivi-image-flutter.bb + +SUMMARY = "AGL IVI demo Flutter image" + +AGL_APPS_INSTALL += " \ + flutter-ics-homescreen \ + ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "flutter-ics-homescreen-conf-kvm-demo", "flutter-ics-homescreen-conf", d)} \ + camera-gstreamer \ + ondemandnavi \ + ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "ondemandnavi-conf-kvm-demo", "ondemandnavi-conf", d)} \ +" diff --git a/recipes-platform/images/agl-ivi-demo-html5.bb b/recipes-platform/images/agl-ivi-demo-html5.bb new file mode 100644 index 000000000..34de64bd7 --- /dev/null +++ b/recipes-platform/images/agl-ivi-demo-html5.bb @@ -0,0 +1,13 @@ +require agl-ivi-image.bb + +SUMMARY = "AGL IVI demo HTML5 image" +DESCRIPTION = "Contains the web runtime and sample web apps" + +require agl-demo-container-guest-integration.inc + +CLANGSDK = "1" + +# add packages for demo platform (include demo apps) here +IMAGE_INSTALL += " \ + packagegroup-agl-demo-platform-html5 \ +" diff --git a/recipes-platform/images/agl-ivi-demo-platform-crosssdk.bb b/recipes-platform/images/agl-ivi-demo-platform-crosssdk.bb deleted file mode 100644 index c9ed07a0a..000000000 --- a/recipes-platform/images/agl-ivi-demo-platform-crosssdk.bb +++ /dev/null @@ -1,16 +0,0 @@ -require agl-ivi-demo-platform.bb - -SUMMARY = "Cross SDK of demo AGL Distribution for IVI profile" - -DESCRIPTION = "SDK image for full AGL Distribution for IVI profile. \ -It includes the full toolchain, plus development headers and libraries \ -for everything in the demo platform to form a standalone cross SDK." - -inherit agl-crosssdk - -require agl-ivi-crosssdk.inc - -inherit populate_sdk_qt5 - -# Add qtwaylandscanner to the SDK -TOOLCHAIN_HOST_TASK += "nativesdk-qtwayland-tools" diff --git a/recipes-platform/images/agl-ivi-demo-platform-flutter-simple.bb b/recipes-platform/images/agl-ivi-demo-platform-flutter-simple.bb deleted file mode 100644 index f1932df5b..000000000 --- a/recipes-platform/images/agl-ivi-demo-platform-flutter-simple.bb +++ /dev/null @@ -1,20 +0,0 @@ -require agl-ivi-demo-base-flutter.bb - -DESCRIPTION = "AGL Flutter Demo Platform image" - -AGL_APPS_INSTALL += " \ - flutter-homescreen \ - flutter-dashboard \ - flutter-hvac \ - ondemandnavi \ - settings \ - mediaplayer \ - messaging \ - phone \ - radio \ -" - -IMAGE_INSTALL += " \ - qtquickcontrols2-agl \ - qtquickcontrols2-agl-style \ -" diff --git a/recipes-platform/images/agl-ivi-demo-platform-flutter.bb b/recipes-platform/images/agl-ivi-demo-platform-flutter.bb deleted file mode 100644 index 81a1c8046..000000000 --- a/recipes-platform/images/agl-ivi-demo-platform-flutter.bb +++ /dev/null @@ -1,11 +0,0 @@ -require agl-ivi-demo-base-flutter.bb - -DESCRIPTION = "AGL Flutter Demo Platform image" - -AGL_APPS_INSTALL += " \ - flutter-ics-homescreen \ - ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "flutter-ics-homescreen-conf-kvm-demo", "flutter-ics-homescreen-conf", d)} \ - camera-gstreamer \ - ondemandnavi \ - ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "ondemandnavi-conf-kvm-demo", "ondemandnavi-conf", d)} \ -" diff --git a/recipes-platform/images/agl-ivi-demo-platform-html5.bb b/recipes-platform/images/agl-ivi-demo-platform-html5.bb deleted file mode 100644 index 520b443e9..000000000 --- a/recipes-platform/images/agl-ivi-demo-platform-html5.bb +++ /dev/null @@ -1,13 +0,0 @@ -require agl-image-ivi.bb - -SUMMARY = "DEMO platform of AGL HTML5 profile" -DESCRIPTION = "Contains the web runtime and sample web apps" - -require agl-demo-container-guest-integration.inc - -CLANGSDK = "1" - -# add packages for demo platform (include demo apps) here -IMAGE_INSTALL += " \ - packagegroup-agl-demo-platform-html5 \ -" diff --git a/recipes-platform/images/agl-ivi-demo-platform.bb b/recipes-platform/images/agl-ivi-demo-platform.bb deleted file mode 100644 index 2854462cf..000000000 --- a/recipes-platform/images/agl-ivi-demo-platform.bb +++ /dev/null @@ -1,23 +0,0 @@ -require agl-ivi-demo-base.bb - -DESCRIPTION = "AGL Qt Demo Platform image" - -AGL_APPS_INSTALL += " \ - dashboard \ - hvac \ - ondemandnavi \ - ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "ondemandnavi-conf-kvm-demo", "ondemandnavi-conf", d)} \ - settings \ - mediaplayer \ - messaging \ - phone \ - radio \ - window-management-client-grpc \ - camera-gstreamer \ -" - -IMAGE_INSTALL += " \ - packagegroup-agl-demo-platform \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "weston-terminal-conf", d)} \ -" - diff --git a/recipes-platform/images/agl-ivi-demo-qt-crosssdk.bb b/recipes-platform/images/agl-ivi-demo-qt-crosssdk.bb new file mode 100644 index 000000000..d5a98b36d --- /dev/null +++ b/recipes-platform/images/agl-ivi-demo-qt-crosssdk.bb @@ -0,0 +1,16 @@ +require agl-ivi-demo-qt.bb + +SUMMARY = "Cross SDK of AGL IVI demo" + +DESCRIPTION = "SDK image for full AGL Distribution for IVI profile. \ +It includes the full toolchain, plus development headers and libraries \ +for everything in the demo platform to form a standalone cross SDK." + +inherit agl-crosssdk + +require agl-ivi-crosssdk.inc + +inherit populate_sdk_qt5 + +# Add qtwaylandscanner to the SDK +TOOLCHAIN_HOST_TASK += "nativesdk-qtwayland-tools" diff --git a/recipes-platform/images/agl-ivi-demo-qt.bb b/recipes-platform/images/agl-ivi-demo-qt.bb new file mode 100644 index 000000000..2f0e94276 --- /dev/null +++ b/recipes-platform/images/agl-ivi-demo-qt.bb @@ -0,0 +1,23 @@ +require agl-ivi-image.bb + +SUMMARY = "AGL IVI demo Qt image" + +AGL_APPS_INSTALL += " \ + dashboard \ + hvac \ + ondemandnavi \ + ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "ondemandnavi-conf-kvm-demo", "ondemandnavi-conf", d)} \ + settings \ + mediaplayer \ + messaging \ + phone \ + radio \ + window-management-client-grpc \ + camera-gstreamer \ +" + +IMAGE_INSTALL += " \ + packagegroup-agl-demo-platform \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "weston-terminal-conf", d)} \ +" + diff --git a/recipes-platform/images/agl-ivi-image-crosssdk.bb b/recipes-platform/images/agl-ivi-image-crosssdk.bb new file mode 100644 index 000000000..74b006026 --- /dev/null +++ b/recipes-platform/images/agl-ivi-image-crosssdk.bb @@ -0,0 +1,11 @@ +require agl-ivi-image.bb + +SUMMARY = "Cross SDK of minimal AGL Distribution for IVI profile" + +DESCRIPTION = "SDK image for minimal AGL Distribution for IVI profile. \ +It includes the full toolchain, plus development headers and libraries \ +to form a standalone cross SDK." + +inherit agl-crosssdk + +require agl-ivi-crosssdk.inc diff --git a/recipes-platform/images/agl-ivi-image-flutter.bb b/recipes-platform/images/agl-ivi-image-flutter.bb new file mode 100644 index 000000000..56a8b2f85 --- /dev/null +++ b/recipes-platform/images/agl-ivi-image-flutter.bb @@ -0,0 +1,8 @@ +require agl-ivi-image.bb + +SUMMARY = "AGL IVI demo base Flutter image" + +IMAGE_INSTALL += " \ + packagegroup-agl-demo-platform-flutter \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "weston-terminal-conf", d)} \ +" diff --git a/recipes-platform/images/agl-ivi-image.bb b/recipes-platform/images/agl-ivi-image.bb new file mode 100644 index 000000000..12122cafb --- /dev/null +++ b/recipes-platform/images/agl-ivi-image.bb @@ -0,0 +1,32 @@ +SUMMARY = "AGL IVI demo base image" +LICENSE = "MIT" + +require recipes-platform/images/agl-image-compositor.bb + +require agl-ivi-demo-features.inc +require agl-demo-container-guest-integration.inc + +IMAGE_FEATURES += "splash package-management ssh-server-openssh" + +AGL_DEVEL_INSTALL += "\ + simple-can-simulator \ + unzip \ + mpc \ +" + +AGL_APPS_INSTALL = "" + +IMAGE_INSTALL += " \ + packagegroup-agl-ivi-connectivity \ + packagegroup-agl-ivi-graphics \ + packagegroup-agl-ivi-multimedia \ + packagegroup-agl-ivi-multimedia-hardware \ + packagegroup-agl-ivi-navigation \ + packagegroup-agl-ivi-identity \ + packagegroup-agl-ivi-services-applaunchd \ + iproute2 \ + ${AGL_APPS_INSTALL} \ + ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", "${AGL_DEVEL_INSTALL}" , "", d)} \ + ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-audio", "", "packagegroup-agl-ivi-services-platform", d)} \ +" + diff --git a/recipes-platform/images/agl-kvm-demo-platform.bb b/recipes-platform/images/agl-kvm-demo-platform.bb deleted file mode 100644 index ddb2ddb45..000000000 --- a/recipes-platform/images/agl-kvm-demo-platform.bb +++ /dev/null @@ -1,96 +0,0 @@ -DESCRIPTION = "AGL KVM+QEMU Demo Platform image." - -LICENSE = "MIT" - -require recipes-platform/images/agl-image-compositor.bb -require agl-demo-features.inc - -IMAGE_FEATURES += "splash package-management ssh-server-openssh" - -# If building with "agl-kvm-host-kuksa", the databroker and likely -# some clients run on the host -IMAGE_FEATURES += " \ - ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "kuksa-val-databroker kuksa-val-databroker-client", "", d)} \ - ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", "can-test-tools" , "", d)} \ -" - -# Add packages for KVM+QEMU demo platform here -IMAGE_INSTALL += " \ - packagegroup-agl-core-connectivity \ - kernel-image \ - agl-compositor \ - weston-ini-conf-kvm \ - output-udev-conf \ - native-shell-client \ - qemu \ - ${QEMU_GUEST_CONFIGS} \ - util-linux-taskset \ - screen \ - simple-can-simulator \ - alsa-utils \ -" - -# Until virtio sound is workable with QEMU, run the audio using -# services on the host for a better demo experience. At the -# moment, this also includes the HVAC service since it does not -# make sense to try to make things more fine-grained with respect -# to configuration for where things expect to find the databroker. -# It will need to be revisited when virtio-snd, virtio-gpio, etc. -# become feasible to use. -HOST_AUDIO_INSTALL = " \ - packagegroup-agl-ivi-services-platform \ - agl-service-radio-conf-kvm-demo \ - packagegroup-pipewire \ - wireplumber-config-agl \ - wireplumber-policy-config-agl \ - mpd \ - udisks2 \ - ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", "packagegroup-pipewire-tools mpc" , "", d)} \ -" - -IMAGE_INSTALL += "\ - ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "kuksa-databroker-agl-demo-cluster", "", d)} \ - ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-audio", "${HOST_AUDIO_INSTALL}", "", d)} \ -" - -# Potential size reduction options -#IMAGE_LINGUAS = " " -#NO_RECOMMENDATIONS = "1" - -GUEST_MACHINE ?= "virtio-${TUNE_ARCH}" - -GUEST_VM1_IMAGE ?= "agl-ivi-demo-platform-flutter" -GUEST_VM2_IMAGE ?= "agl-cluster-demo-platform-flutter" - -GUEST_IMAGES ?= "agl-kvm-guest:${GUEST_VM1_IMAGE} agl-kvm-guest:${GUEST_VM2_IMAGE}" - -QEMU_GUEST_CONFIGS ?= "" - -python __anonymous() { - for c in (d.getVar('GUEST_IMAGES') or "").split(): - (mc, image) = c.split(':') - dependency = 'mc::' + mc + ':' + image + ':do_image_complete' - d.appendVarFlag('do_rootfs', 'mcdepends', ' ' + dependency) - - # Assume there is a qemu-config-X package for guest image X - d.appendVar('QEMU_GUEST_CONFIGS', ' ' + 'qemu-config-' + image) -} - -install_guest_images() { - for c in ${GUEST_IMAGES}; do - config=${c%:*} - image=${c#*:} - name=${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/${GUEST_MACHINE}/${image}-${GUEST_MACHINE}.ext4" - bbnote "Installing ${src}" - install -m 0600 ${src} ${IMAGE_ROOTFS}/var/lib/machines/${name}/ - # Placeholder until booting from kernel in VM image is worked out - install -m 0600 ${TOPDIR}/tmp-${config}/deploy/images/${GUEST_MACHINE}/Image-${GUEST_MACHINE}.bin ${IMAGE_ROOTFS}/var/lib/machines/${name}/ - done -} - -ROOTFS_POSTPROCESS_COMMAND += "install_guest_images; " - -IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}" diff --git a/recipes-platform/images/agl-kvm-demo.bb b/recipes-platform/images/agl-kvm-demo.bb new file mode 100644 index 000000000..c27757005 --- /dev/null +++ b/recipes-platform/images/agl-kvm-demo.bb @@ -0,0 +1,95 @@ +SUMMARY = "AGL KVM+QEMU Demo Platform image." +LICENSE = "MIT" + +require recipes-platform/images/agl-image-compositor.bb +require agl-demo-features.inc + +IMAGE_FEATURES += "splash package-management ssh-server-openssh" + +# If building with "agl-kvm-host-kuksa", the databroker and likely +# some clients run on the host +IMAGE_FEATURES += " \ + ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "kuksa-val-databroker kuksa-val-databroker-client", "", d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", "can-test-tools" , "", d)} \ +" + +# Add packages for KVM+QEMU demo platform here +IMAGE_INSTALL += " \ + packagegroup-agl-core-connectivity \ + kernel-image \ + agl-compositor \ + weston-ini-conf-kvm \ + output-udev-conf \ + native-shell-client \ + qemu \ + ${QEMU_GUEST_CONFIGS} \ + util-linux-taskset \ + screen \ + simple-can-simulator \ + alsa-utils \ +" + +# Until virtio sound is workable with QEMU, run the audio using +# services on the host for a better demo experience. At the +# moment, this also includes the HVAC service since it does not +# make sense to try to make things more fine-grained with respect +# to configuration for where things expect to find the databroker. +# It will need to be revisited when virtio-snd, virtio-gpio, etc. +# become feasible to use. +HOST_AUDIO_INSTALL = " \ + packagegroup-agl-ivi-services-platform \ + agl-service-radio-conf-kvm-demo \ + packagegroup-pipewire \ + wireplumber-config-agl \ + wireplumber-policy-config-agl \ + mpd \ + udisks2 \ + ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", "packagegroup-pipewire-tools mpc" , "", d)} \ +" + +IMAGE_INSTALL += "\ + ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-kuksa", "kuksa-databroker-agl-demo-cluster", "", d)} \ + ${@bb.utils.contains("AGL_FEATURES", "agl-kvm-host-audio", "${HOST_AUDIO_INSTALL}", "", d)} \ +" + +# Potential size reduction options +#IMAGE_LINGUAS = " " +#NO_RECOMMENDATIONS = "1" + +GUEST_MACHINE ?= "virtio-${TUNE_ARCH}" + +GUEST_VM1_IMAGE ?= "agl-ivi-demo-flutter" +GUEST_VM2_IMAGE ?= "agl-cluster-demo-flutter" + +GUEST_IMAGES ?= "agl-kvm-guest:${GUEST_VM1_IMAGE} agl-kvm-guest:${GUEST_VM2_IMAGE}" + +QEMU_GUEST_CONFIGS ?= "" + +python __anonymous() { + for c in (d.getVar('GUEST_IMAGES') or "").split(): + (mc, image) = c.split(':') + dependency = 'mc::' + mc + ':' + image + ':do_image_complete' + d.appendVarFlag('do_rootfs', 'mcdepends', ' ' + dependency) + + # Assume there is a qemu-config-X package for guest image X + d.appendVar('QEMU_GUEST_CONFIGS', ' ' + 'qemu-config-' + image) +} + +install_guest_images() { + for c in ${GUEST_IMAGES}; do + config=${c%:*} + image=${c#*:} + name=${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/${GUEST_MACHINE}/${image}-${GUEST_MACHINE}.ext4" + bbnote "Installing ${src}" + install -m 0600 ${src} ${IMAGE_ROOTFS}/var/lib/machines/${name}/ + # Placeholder until booting from kernel in VM image is worked out + install -m 0600 ${TOPDIR}/tmp-${config}/deploy/images/${GUEST_MACHINE}/Image-${GUEST_MACHINE}.bin ${IMAGE_ROOTFS}/var/lib/machines/${name}/ + done +} + +ROOTFS_POSTPROCESS_COMMAND += "install_guest_images; " + +IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}" diff --git a/recipes-platform/images/agl-telematics-demo-platform.bb b/recipes-platform/images/agl-telematics-demo-platform.bb deleted file mode 100644 index 7a113b65b..000000000 --- a/recipes-platform/images/agl-telematics-demo-platform.bb +++ /dev/null @@ -1,13 +0,0 @@ -DESCRIPTION = "AGL Telematics Demo Platform image." - -LICENSE = "MIT" - -require recipes-platform/images/agl-image-minimal.bb - -inherit features_check - -REQUIRED_DISTRO_FEATURES = "3g" - -IMAGE_INSTALL += " \ - packagegroup-agl-telematics-demo-platform \ -" diff --git a/recipes-platform/images/agl-telematics-demo.bb b/recipes-platform/images/agl-telematics-demo.bb new file mode 100644 index 000000000..987bd3878 --- /dev/null +++ b/recipes-platform/images/agl-telematics-demo.bb @@ -0,0 +1,12 @@ +SUMMARY = "AGL Telematics Demo Platform image." +LICENSE = "MIT" + +require recipes-platform/images/agl-image-minimal.bb + +inherit features_check + +REQUIRED_DISTRO_FEATURES = "3g" + +IMAGE_INSTALL += " \ + packagegroup-agl-telematics-demo-platform \ +" -- cgit 1.2.3-korg