mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
dnf: add dummy packages for testing
oeqa/runtime needs packages which are always built, but we don't want to use packages which have large side effects (unlike the current test recipe, run-postinsts). As finding a package that is both of these things isn't easy, for now dnf can generate its own. Moving forward this should be generalised and all of the package manager tests unified. (From OE-Core rev: 061b9cf35a63b38a34356580395c5694579cbb98) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7d5419d7bc
commit
8f4ebf2453
@@ -88,3 +88,9 @@ SYSTEMD_SERVICE:${PN} = "dnf-makecache.service dnf-makecache.timer \
|
||||
SYSTEMD_AUTO_ENABLE ?= "disable"
|
||||
|
||||
SKIP_RECIPE[dnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
|
||||
|
||||
# Packages for testing purposes
|
||||
PACKAGES += "${PN}-test-main ${PN}-test-dep"
|
||||
ALLOW_EMPTY:${PN}-test-main = "1"
|
||||
ALLOW_EMPTY:${PN}-test-dep = "1"
|
||||
RRECOMMENDS:${PN}-test-main = "${PN}-test-dep"
|
||||
|
||||
Reference in New Issue
Block a user