initramfs-*-test-image: drop test images

The test initramfs images are kept in meta-qcom (at least for now), drop
them from this layer.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
Dmitry Baryshkov
2024-11-30 04:14:40 +02:00
parent 8f74f649d0
commit 48aeec6ee6
5 changed files with 0 additions and 165 deletions

View File

@@ -1,3 +0,0 @@
require initramfs-test-full-image.bb
PACKAGE_INSTALL += "${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"

View File

@@ -1,3 +0,0 @@
require initramfs-test-image.bb
PACKAGE_INSTALL += "${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"

View File

@@ -1,46 +0,0 @@
require recipes-test/images/initramfs-test-image.bb
DESCRIPTION = "Relatively larger ramdisk image for running tests (bootrr, etc)"
PACKAGE_INSTALL += " \
bootrr \
coreutils \
hdparm \
kexec \
lsof \
ncurses \
ncurses-terminfo \
ncurses-terminfo-base \
stress-ng \
util-linux \
util-linux-chrt \
util-linux-lsblk \
"
PACKAGE_INSTALL:append:libc-glibc = " \
rt-tests \
"
# We'd like to include extra packages provided by layers which we do not depend
# on. This can be handled by .bbappends, but then image recipes including this
# one would not get all these tools. So simulate dynamic bbappend here.
# ncurses-terminfo is provided by oe-core layer, but it's only needed for gps (cgps), so include it here
PACKAGE_INSTALL_openembedded-layer += " \
${@['crash', '']['${TCLIBC}' == 'musl']} \
dhrystone \
gpsd \
gpsd-machine-conf \
gps-utils \
iozone3 \
libgpiod \
libgpiod-tools \
lmbench \
makedumpfile \
mbw \
ncurses-terminfo-base \
sysbench \
tinymembench \
tiobench \
whetstone \
"

View File

@@ -1,64 +0,0 @@
require recipes-test/images/initramfs-tiny-image.bb
DESCRIPTION = "Small ramdisk image for running tests (bootrr, etc)"
PACKAGE_INSTALL += " \
alsa-utils-alsaucm \
alsa-utils-amixer \
alsa-utils-aplay \
alsa-utils-speakertest \
bluez5 \
bootrr \
debugcc \
dhcpcd \
diag \
dropbear \
e2fsprogs \
e2fsprogs-e2fsck \
e2fsprogs-mke2fs \
e2fsprogs-resize2fs \
e2fsprogs-tune2fs \
ethtool \
fastrpc \
gptfdisk \
i2c-tools \
iw \
lava-test-shell \
libdrm-tests \
lrzsz \
mybw \
pciutils \
pd-mapper \
qrtr \
rmtfs \
strace \
tqftpserv \
usbutils \
util-linux-lscpu \
util-linux-taskset \
wpa-supplicant \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'kmscube', '', d)} \
"
# We'd like to include extra packages provided by layers which we do not depend
# on. This can be handled by .bbappends, but then image recipes including this
# one would not get all these tools. So simulate dynamic bbappend here.
PACKAGE_INSTALL_openembedded-layer += " \
android-tools-adbd \
android-tools-adbd-cmdline \
cpufrequtils \
cryptsetup \
devmem2 \
lmsensors-config-libsensors \
lmsensors-sensors \
media-ctl \
read-edid \
yavta \
"
PACKAGE_INSTALL_networking-layer += " \
iperf2 \
iperf3 \
phytool \
tcpdump \
"

View File

@@ -1,49 +0,0 @@
DESCRIPTION = "Tiny ramdisk image for board bringup"
PACKAGE_INSTALL = " \
${ROOTFS_BOOTSTRAP_INSTALL} \
busybox \
base-passwd \
packagegroup-core-boot \
udev \
"
# Do not pollute the initrd image with rootfs features
IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login post-install-logging"
IMAGE_LINGUAS = ""
LICENSE = "MIT"
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
IMAGE_NAME_SUFFIX ?= ""
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
# Disable installation of kernel and modules via packagegroup-core-boot
NO_RECOMMENDATIONS ?= "1"
# Enable local auto-login (on systemd) of the root user (local = serial port and
# virtual console by default, can be configured).
LOCAL_GETTY ?= " \
${IMAGE_ROOTFS}${systemd_system_unitdir}/serial-getty@.service \
${IMAGE_ROOTFS}${systemd_system_unitdir}/getty@.service \
"
local_autologin () {
sed -i -e 's/^\(ExecStart *=.*getty \)/\1--autologin root /' ${LOCAL_GETTY}
}
ROOTFS_POSTPROCESS_COMMAND += "${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'local_autologin;', '', d)}"
# We'd like to include extra packages provided by layers which we do not depend
# on. This can be handled by .bbappends, but then image recipes including this
# one would not get all these tools. So simulate dynamic bbappend here.
#
# To use it define PACKAGE_INSTALL_foo-layer variable containing the list of
# packages to be installed if (and only if) layer foo-layer is enabled.
python() {
for layer in d.getVar("BBFILE_COLLECTIONS", True).split():
extra = d.getVar("PACKAGE_INSTALL_%s" % layer)
if extra:
d.appendVar("PACKAGE_INSTALL", " " + extra)
}