* why does OE's systemd have a hard dependency on qemu-native?
@ 2016-12-13 10:34 Robert P. J. Day
2016-12-13 10:48 ` Burton, Ross
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2016-12-13 10:34 UTC (permalink / raw)
To: OE Core mailing list
currently messing with systemd-coredump and, in systemd_232.bb, i
see:
DEPENDS = "kmod intltool-native gperf-native acl readline libcap
libcgroup qemu-native util-linux"
^^^^^^^^^^^ ?
now, i *am* building for qemuppc for testing, but the above is an
unconditional dependency on qemu-native. what does systemd need
qemu-native for?
right below, we read:
inherit ... qemu ...
so, again, qemu. yet a bit further down:
SRC_URI_append_qemuall = "
file://0001-core-device.c-Change-the-default-device-timeout-to-2.patch"
so now SRC_URI is modified *conditionally* based on qemuall.
can someone clarify what relationship systemd has with qemu?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: why does OE's systemd have a hard dependency on qemu-native?
2016-12-13 10:34 why does OE's systemd have a hard dependency on qemu-native? Robert P. J. Day
@ 2016-12-13 10:48 ` Burton, Ross
0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2016-12-13 10:48 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]
On 13 December 2016 at 10:34, Robert P. J. Day <rpjday@crashcourse.ca>
wrote:
> DEPENDS = "kmod intltool-native gperf-native acl readline libcap
> libcgroup qemu-native util-linux"
> ^^^^^^^^^^^ ?
>
> now, i *am* building for qemuppc for testing, but the above is an
> unconditional dependency on qemu-native. what does systemd need
> qemu-native for?
>
> right below, we read:
>
> inherit ... qemu ...
>
> so, again, qemu. yet a bit further down:
>
Using the qemu class means you generally need to depend on qemu-native.
SRC_URI_append_qemuall = "
> file://0001-core-device.c-Change-the-default-device-timeout-to-2.patch"
>
> so now SRC_URI is modified *conditionally* based on qemuall.
>
This is a MACHINE-specific tweak for qemu machines, and unrelated to the
qemu class.
Carry on searching for qemu:
pkg_postinst_udev-hwdb () {
if test -n "$D"; then
${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb
--update \
--root $D
chown root:root $D${sysconfdir}/udev/hwdb.bin
else
udevadm hwdb --update
fi
}
There is a rootfs-time postinst that uses qemu-user to run hwdb.
Ross
[-- Attachment #2: Type: text/html, Size: 2635 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-13 10:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-13 10:34 why does OE's systemd have a hard dependency on qemu-native? Robert P. J. Day
2016-12-13 10:48 ` Burton, Ross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox