diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-12-02 18:46:45 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-01-09 19:49:47 +0100 |
commit | 799543474481325b72d3032a3b456ef635e9eb04 (patch) | |
tree | 2217ae0affcc9f21c180b830fd0982621c09ae13 /recipes-images/images/console-tdx-image.bb | |
parent | dddc4b9e88e861afa2cfe61660c8d294c622da8d (diff) |
images: add a new console/graphical/verification image
This is meant to replace the current demo images.
The console and graphical image can be used as a base to create tailored
images to the requirment of a specific use case.
The verification image is meant to test the BSP. It provides the tools
to exercise the CPU / GPU / VPU and the various SOC peripherals.
Related-to: ELB-1284
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-images/images/console-tdx-image.bb')
-rw-r--r-- | recipes-images/images/console-tdx-image.bb | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/recipes-images/images/console-tdx-image.bb b/recipes-images/images/console-tdx-image.bb index c8fc120..cb9634e 100644 --- a/recipes-images/images/console-tdx-image.bb +++ b/recipes-images/images/console-tdx-image.bb @@ -1,23 +1,28 @@ -SUMMARY = "Toradex Embedded Linux Console Demo" +inherit core-image + +SUMMARY = "Toradex Embedded Linux Console Image" SUMMARY_append_apalis-tk1-mainline = " (Mainline)" DESCRIPTION = "Image without graphical interface" LICENSE = "MIT" -inherit core-image - -#start of the resulting deployable tarball name +#Prefix to the resulting deployable tarball name export IMAGE_BASENAME = "Console-Image" MACHINE_NAME ?= "${MACHINE}" IMAGE_NAME = "${MACHINE_NAME}_${IMAGE_BASENAME}" -SYSTEMD_DEFAULT_TARGET = "graphical.target" +# Copy Licenses to image /usr/share/common-license +COPY_LIC_MANIFEST ?= "1" +COPY_LIC_DIRS ?= "1" -IMAGE_FEATURES += " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ - bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ - '', d), d)} \ -" +add_rootfs_version () { + printf "${DISTRO_NAME} ${DISTRO_VERSION} (${DISTRO_CODENAME}) \\\n \\\l\n" > ${IMAGE_ROOTFS}/etc/issue + printf "${DISTRO_NAME} ${DISTRO_VERSION} (${DISTRO_CODENAME}) %%h\n" > ${IMAGE_ROOTFS}/etc/issue.net + printf "${IMAGE_NAME}\n\n" >> ${IMAGE_ROOTFS}/etc/issue + printf "${IMAGE_NAME}\n\n" >> ${IMAGE_ROOTFS}/etc/issue.net +} +# add the rootfs version to the welcome banner +ROOTFS_POSTPROCESS_COMMAND += " add_rootfs_version;" IMAGE_LINGUAS = "en-us" #IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" @@ -30,20 +35,15 @@ CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-p IMAGE_INSTALL += " \ packagegroup-boot \ packagegroup-basic \ + packagegroup-base-tdx-cli \ + packagegroup-machine-tdx-cli \ + packagegroup-wifi-tdx-cli \ udev-extra-rules \ ${CONMANPKGS} \ ${ROOTFS_PKGMANAGE_PKGS} \ timestamp-service \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - 'weston weston-init wayland-terminal-launch', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \ - 'weston-xwayland xterm', \ - bb.utils.contains('DISTRO_FEATURES', 'x11', \ - 'x-window-xterm', '', d), d)} \ " -require recipes-images/images/tdx-extra.inc - IMAGE_DEV_MANAGER = "udev" IMAGE_INIT_MANAGER = "systemd" IMAGE_INITSCRIPTS = " " |