<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2017 at 18:31, Randy Witt <span dir="ltr"><<a href="mailto:randy.e.witt@linux.intel.com" target="_blank">randy.e.witt@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2ne" class="a3s aXjCH m159b2db3be1e4392">+ expected_files = [<br>
+ './',<br>
+ './bin/',<br>
+ './bin/theapp',<br>
+ './etc/',<br>
+ './etc/default/',<br>
+ './etc/default/postinst',<br>
+ './etc/ld.so.cache',<br>
+ './etc/timestamp',<br>
+ './etc/version',<br>
+ './run/',<br>
+ './var/',<br>
+ './var/cache/',<br>
+ './var/cache/ldconfig/',<br>
+ './var/cache/ldconfig/aux-<wbr>cache',<br>
+ './var/cache/opkg/',<br>
+ './var/lib/',<br>
+ './var/lib/opkg/'<br>
+ ]<br><br></div></blockquote><div>These should use ${bindir} etc so they're resilient to distros changing the paths (please use get_bb_vars() to only invoke bitbake once).</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2ne" class="a3s aXjCH m159b2db3be1e4392">+ image = os.path.join(self.builddir, "tmp/deploy/images/qemux86/<wbr>container-test-image-qemux86.<wbr>tar.bz2")<br></div></blockquote></div><br>Don't hardcode this path, use ${DEPLOY_DIR_IMAGE} (fetch it with the paths above for speed) which will get you to tmp/deploy/images/[machine]. Again, these paths can change (poky sets TMPDIR to tmp, nodistro uses tmp-${TCLIBC}).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>