]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/runtime_test: fix postinst_rootfs_and_boot
authorRoss Burton <ross.burton@intel.com>
Mon, 6 Nov 2017 17:54:48 +0000 (17:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Dec 2017 17:14:24 +0000 (17:14 +0000)
This test overrides IMAGE_FEATURES but failed to include package-management,
which is essential for postinsts to work under dpkg.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
meta/lib/oeqa/selftest/cases/runtime_test.py

index 7ce81c3ff0fcf8b2c1a715fd5abc34ebe8aeeea9..7a3653ddfe478b1e937e9918cdfe9cf29dd2aacf 100644 (file)
@@ -244,7 +244,7 @@ postinst-delayed-t \
                 with self.subTest(init_manager=init_manager, package_class=classes):
                     features = 'MACHINE = "qemux86"\n'
                     features += 'CORE_IMAGE_EXTRA_INSTALL += "%s %s "\n'% (rootfs_pkg, boot_pkg)
-                    features += 'IMAGE_FEATURES += "empty-root-password ssh-server-openssh"\n'
+                    features += 'IMAGE_FEATURES += "package-management empty-root-password"\n'
                     features += 'PACKAGE_CLASSES = "%s"\n' % classes
                     if init_manager == "systemd":
                         features += 'DISTRO_FEATURES_append = " systemd"\n'