netmodule-wireless-linux/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb

43 lines
1014 B
BlitzBasic

SUMMARY = "A minimal ramdisk image."
MAINTAINER = "Lucien Müller <lucien.mueller@netmodule.com>"
COREOS_IMAGE_GENERATE_INSTALLER = "0"
COREOS_IMAGE_GENERATE_UKI = "0"
COREOS_IMAGE_GENERATE_SWU = "0"
COREOS_IMAGE_EXTRACLASSES += "coreos-image-ci"
inherit nwl-image
inherit nwl-image-fitimage
# Overwrite definition from nwl-image-fitimage to get rid of default artifacts from
# coreos like u-boot
COREOS_CI_DEPLOY_ARTIFACTS = "${@get_nwl_fitimage_ci_artifacts(d)}"
IMAGE_FSTYPES = "cpio.xz"
# Keep only the minimum packages
NO_RECOMMENDATIONS = "1"
TI_WIFI_PACKAGES = " \
firmware-ti-wl18xx \
"
WIFI_PACKAGES = " \
${@bb.utils.contains("MACHINE_FEATURES", "ti-wifi", "${TI_WIFI_PACKAGES}", "", d)} \
"
IMAGE_INSTALL:append = " \
coreutils \
ncurses-terminfo-base \
kernel-module-board-descriptor \
kernel-module-system-info \
kernel-module-pcie \
\
networkmanager-nmcli \
systemd-conf \
nwl-tests-kernel \
\
${@bb.utils.contains("MACHINE_FEATURES", "wifi", "${WIFI_PACKAGES}", "", d)} \
"