mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
This greatly reduces build times needed for those images, as they no longer need anything graphical, or -dev packages for everything. (From OE-Core rev: 2db500793d9c39caf7a94050df20684fe703e9f6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
904 B
BlitzBasic
25 lines
904 B
BlitzBasic
inherit features_check
|
|
REQUIRED_DISTRO_FEATURES = "ptest"
|
|
|
|
require core-image-minimal.bb
|
|
require conf/distro/include/ptest-packagelists.inc
|
|
|
|
# Include only fast (< 30 sec) ptests
|
|
IMAGE_INSTALL += "${PTESTS_FAST}"
|
|
|
|
DESCRIPTION += "Also includes ptest packages with fast execution times to allow for more automated QA."
|
|
HOMEPAGE = "https://www.yoctoproject.org/"
|
|
|
|
# This image is sufficiently large (~1.8GB) that it can't actually fit in a live
|
|
# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
|
|
# box) and explicitly add just 1500MB.
|
|
# strace-ptest in particular needs more than 500MB
|
|
IMAGE_OVERHEAD_FACTOR = "1.0"
|
|
IMAGE_ROOTFS_EXTRA_SPACE = "1524288"
|
|
|
|
# ptests need more memory than standard to avoid the OOM killer
|
|
QB_MEM = "-m 1024"
|
|
|
|
# Sadly at the moment the fast set of ptests is not robust enough and sporadically fails in a couple of places
|
|
PTEST_EXPECT_FAILURE = "1"
|