33 lines
920 B
BlitzBasic
33 lines
920 B
BlitzBasic
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"
|
|
|
|
# Components required by uboot to boot an installed image
|
|
IMAGE_INSTALL:append = "\
|
|
kernel-devicetree \
|
|
${@bb.utils.contains('MACHINE_FEATURES', 'fpga', 'fpga-image', '', d)} \
|
|
"
|
|
|
|
# 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 \
|
|
nwl-tests \
|
|
"
|
|
|
|
|
|
|
|
|
|
IMAGE_FSTYPES += "wic.xz wic.bmap"
|