feat(images): add nwl-image-minimal and nwl-image-testable

This commit is contained in:
Samuel Dolt 2023-04-24 11:04:25 +02:00
parent 0d804aa79a
commit 7e44f31bb9
3 changed files with 23 additions and 3 deletions

View File

@ -0,0 +1,4 @@
SUMMARY = "A small image just capable of allowing a device to boot."
MAINTAINER = "Samuel Dolt <samuel.dolt@netmodule.com>"
inherit nwl-image

View File

@ -0,0 +1,17 @@
SUMMARY = "Image used to run test inside our CI environment."
MAINTAINER = "Samuel Dolt <samuel.dolt@netmodule.com>"
# Ensure that the .ci-artifacts file that list artifacts that is important
# for the CI is generated
COREOS_IMAGE_EXTRACLASSES += "coreos-image-ci"
inherit nwl-image
# The coreos-image-ci class generate a default list of files to write
# to the .ci-artficats file
# NWL specific files can be added as well:
# COREOS_CI_DEPLOY_ARTIFACTS += "${IMAGE_LINK_NAME}.custom.binary"
# Add features and packages that are used in our tests:
IMAGE_FEATURES += "ssh-server networkmanager swupdate"
IMAGE_INSTALL:append = " packagegroup-core-full-cmdline swupdate-www"

View File

@ -27,9 +27,8 @@
You can now run 'bitbake <target>' You can now run 'bitbake <target>'
Common targets are: Common targets are:
coreos-image-minimal nwl-image-minimal
coreos-image-all-features nwl-image-testable
coreos-image-demo
You can also run generated qemu images with a command like 'runqemu qemuarm64'. You can also run generated qemu images with a command like 'runqemu qemuarm64'.