mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
oeqa/selftest/runtime_test: fix postinst_rootfs_and_boot
This test overrides IMAGE_FEATURES but failed to include package-management, which is essential for postinsts to work under dpkg. (From OE-Core rev: 7e73b84331a4ae8d93518feb68c748d98bac78c6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bd87dd5a8d
commit
f8ea81129d
@@ -244,7 +244,7 @@ postinst-delayed-t \
|
|||||||
with self.subTest(init_manager=init_manager, package_class=classes):
|
with self.subTest(init_manager=init_manager, package_class=classes):
|
||||||
features = 'MACHINE = "qemux86"\n'
|
features = 'MACHINE = "qemux86"\n'
|
||||||
features += 'CORE_IMAGE_EXTRA_INSTALL += "%s %s "\n'% (rootfs_pkg, boot_pkg)
|
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
|
features += 'PACKAGE_CLASSES = "%s"\n' % classes
|
||||||
if init_manager == "systemd":
|
if init_manager == "systemd":
|
||||||
features += 'DISTRO_FEATURES_append = " systemd"\n'
|
features += 'DISTRO_FEATURES_append = " systemd"\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user