summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-09-26 12:15:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-26 22:04:35 +0100
commit8f4ebf24538e8a5469e5da93ac2b43deb10118fe (patch)
tree3762a6d9bce378fa1565ea4e6835b9604378049b
parent7d5419d7bcf09bf5f53abbd0790bc2180dafafd7 (diff)
downloadpoky-8f4ebf24538e8a5469e5da93ac2b43deb10118fe.tar.gz
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>
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.14.0.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_4.14.0.bb b/meta/recipes-devtools/dnf/dnf_4.14.0.bb
index 48f7e28418..62df8c4ace 100644
--- a/meta/recipes-devtools/dnf/dnf_4.14.0.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.14.0.bb
@@ -88,3 +88,9 @@ SYSTEMD_SERVICE:${PN} = "dnf-makecache.service dnf-makecache.timer \
88SYSTEMD_AUTO_ENABLE ?= "disable" 88SYSTEMD_AUTO_ENABLE ?= "disable"
89 89
90SKIP_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)}" 90SKIP_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)}"
91
92# Packages for testing purposes
93PACKAGES += "${PN}-test-main ${PN}-test-dep"
94ALLOW_EMPTY:${PN}-test-main = "1"
95ALLOW_EMPTY:${PN}-test-dep = "1"
96RRECOMMENDS:${PN}-test-main = "${PN}-test-dep"