<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 13 December 2016 at 10:34, Robert P. J. Day <span dir="ltr">&lt;<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:1uj" class="gmail-a3s gmail-aXjCH gmail-m158f7c20162da57e">DEPENDS = &quot;kmod intltool-native gperf-native acl readline libcap<br>
   libcgroup qemu-native util-linux&quot;<br>
             ^^^^^^^^^^^ ?<br>
<br>
now, i *am* building for qemuppc for testing, but the above is an<br>
unconditional dependency on qemu-native. what does systemd need<br>
qemu-native for?<br>
<br>
  right below, we read:<br>
<br>
    inherit ... qemu ...<br>
<br>
so, again, qemu. yet a bit further down:<br></div></blockquote><div><br></div><div>Using the qemu class means you generally need to depend on qemu-native.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:1uj" class="gmail-a3s gmail-aXjCH gmail-m158f7c20162da57e">
SRC_URI_append_qemuall = &quot;<br>
 file://0001-core-device.c-<wbr>Change-the-default-device-<wbr>timeout-to-2.patch&quot;<br>
<br>
so now SRC_URI is modified *conditionally* based on qemuall.</div></blockquote></div><br>This is a MACHINE-specific tweak for qemu machines, and unrelated to the qemu class.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Carry on searching for qemu:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">pkg_postinst_udev-hwdb () {</div><div class="gmail_extra">        if test -n &quot;$D&quot;; then</div><div class="gmail_extra">                ${@qemu_run_binary(d, &#39;$D&#39;, &#39;${base_bindir}/udevadm&#39;)} hwdb --update \</div><div class="gmail_extra">                        --root $D</div><div class="gmail_extra">                chown root:root $D${sysconfdir}/udev/hwdb.bin</div><div class="gmail_extra">        else</div><div class="gmail_extra">                udevadm hwdb --update</div><div class="gmail_extra">        fi</div><div class="gmail_extra">}</div><div class="gmail_extra"><br></div><div class="gmail_extra">There is a rootfs-time postinst that uses qemu-user to run hwdb.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div>