summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/cases/imagefeatures.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index 8c95432e00..aed63e5476 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -236,3 +236,29 @@ USERADD_GID_TABLES += "files/static-group"
236""" 236"""
237 self.write_config(config) 237 self.write_config(config)
238 bitbake("core-image-base") 238 bitbake("core-image-base")
239
240 def test_no_busybox_base_utils(self):
241 config = """
242# Enable x11
243DISTRO_FEATURES_append += "x11"
244
245# Switch to systemd
246DISTRO_FEATURES += "systemd"
247VIRTUAL-RUNTIME_init_manager = "systemd"
248VIRTUAL-RUNTIME_initscripts = ""
249VIRTUAL-RUNTIME_syslog = ""
250VIRTUAL-RUNTIME_login_manager = "shadow-base"
251DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
252
253# Replace busybox
254PREFERRED_PROVIDER_virtual/base-utils = "packagegroup-core-base-utils"
255VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
256VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
257VIRTUAL-RUNTIME_base-utils-syslog = ""
258
259# Blacklist busybox
260PNBLACKLIST[busybox] = "Don't build this"
261"""
262 self.write_config(config)
263
264 bitbake("--graphviz core-image-sato")