Openembedded Core Discussions
 help / color / mirror / Atom feed
* [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.
@ 2014-11-27 11:17 Gaurang Shastri
  2014-12-04 19:03 ` Iorga, Cristian
  2014-12-04 19:11 ` Iorga, Cristian
  0 siblings, 2 replies; 7+ messages in thread
From: Gaurang Shastri @ 2014-11-27 11:17 UTC (permalink / raw)
  To: openembedded-core; +Cc: gmshastri

Signed-off-by: Gaurang Shastri <gshastri@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



^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [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.
@ 2014-11-27 11:35 Gaurang Shastri
  0 siblings, 0 replies; 7+ messages in thread
From: Gaurang Shastri @ 2014-11-27 11:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: gmshastri

Signed-off-by: Gaurang Shastri <gshastri@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



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-05 18:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-27 11:17 [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 Gaurang Shastri
2014-12-04 19:03 ` Iorga, Cristian
2014-12-04 19:11 ` Iorga, Cristian
2014-12-04 19:49   ` Richard Purdie
2014-12-04 21:48     ` Martin Jansa
2014-12-05 18:03       ` Richard Purdie
  -- strict thread matches above, loose matches on Subject: below --
2014-11-27 11:35 Gaurang Shastri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox