<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2017 at 18:31, Randy Witt <span dir="ltr">&lt;<a href="mailto:randy.e.witt@linux.intel.com" target="_blank">randy.e.witt@linux.intel.com</a>&gt;</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>
+                    &#39;./&#39;,<br>
+                    &#39;./bin/&#39;,<br>
+                    &#39;./bin/theapp&#39;,<br>
+                    &#39;./etc/&#39;,<br>
+                    &#39;./etc/default/&#39;,<br>
+                    &#39;./etc/default/postinst&#39;,<br>
+                    &#39;./etc/ld.so.cache&#39;,<br>
+                    &#39;./etc/timestamp&#39;,<br>
+                    &#39;./etc/version&#39;,<br>
+                    &#39;./run/&#39;,<br>
+                    &#39;./var/&#39;,<br>
+                    &#39;./var/cache/&#39;,<br>
+                    &#39;./var/cache/ldconfig/&#39;,<br>
+                    &#39;./var/cache/ldconfig/aux-<wbr>cache&#39;,<br>
+                    &#39;./var/cache/opkg/&#39;,<br>
+                    &#39;./var/lib/&#39;,<br>
+                    &#39;./var/lib/opkg/&#39;<br>
+                ]<br><br></div></blockquote><div>These should use ${bindir} etc so they&#39;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, &quot;tmp/deploy/images/qemux86/<wbr>container-test-image-qemux86.<wbr>tar.bz2&quot;)<br></div></blockquote></div><br>Don&#39;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>