Hi Gaurang, Are you sure that the patch solves the described issue? Because I have tested with: MACHINE=qemuppc bitbake core-image-sato and I am still seeing the issue in rootfs log.
Can you please clarify how you tested this? Regards, Cristian Iorga Yocto Project Intel Corporation -----Original Message----- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Gaurang Shastri Sent: Thursday, November 27, 2014 1:17 PM To: openembedded-core@lists.openembedded.org Cc: gmshas...@gmail.com Subject: [OE-core] [PATCH] When building with systemd based image, udev-hwdb postinstall script will fail because of not passing correct CPU option. So fix it by passing correct QEMU_OPTIONS. Signed-off-by: Gaurang Shastri <gshas...@juniper.net> --- meta/classes/qemu.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index b2cf85d..c373855 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass @@ -30,8 +30,9 @@ def qemu_run_binary(data, rootfs_path, binary): libdir = rootfs_path + data.getVar("libdir", False) base_libdir = rootfs_path + data.getVar("base_libdir", False) oldest_kernel = data.getVar("OLDEST_KERNEL", True) + qemu_option = data.getVar("QEMU_OPTIONS",True) - return "PSEUDO_UNLOAD=1 " + qemu_binary + " -r " + oldest_kernel + " -L " + rootfs_path\ + return "PSEUDO_UNLOAD=1 " + qemu_binary + " " + qemu_option + " -r + " + oldest_kernel + " -L " + rootfs_path\ + " -E LD_LIBRARY_PATH=" + libdir + ":" + base_libdir + " "\ + rootfs_path + binary -- 1.7.9.5 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core