<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Changes were tested on 1.8 and 2.0 branches for core-image-sato and<br class="">meta-sdk images.<br class=""><br class="">Additional changes since last sent patch:<br class=""><br class="">- New test cases were added to cover absolute paths in SRC_URI for<br class="">local files.<br class="">- Fixed recipe nativesdk-qemu-helper_1.0.bb: it was based on<br class="">incorrect copying behavior which had been changed by this patch.<br class=""><br class="">Please review my changes.<br class=""></blockquote><br class="">Could you have a look at master please? I already took one of your<br class="">earlier patches which I followed with a changes to correctly handle<br class="">absolute paths:<br class=""><br class=""><a href="http://git.yoctoproject.org/cgit.cgi/poky/commit/bitbake/lib?id=2a73181" class="">http://git.yoctoproject.org/cgit.cgi/poky/commit/bitbake/lib?id=2a73181</a><br class="">33bbd64f5dcb2ddf400229d4627925580<br class=""><br class="">I wasn't convinced the behaviour in the qemu-helper recipe was<br class="">incorrect. If you still believe it is, I'm happy to consider that.<br class=""><br class="">I'm also very interested in getting some updated test cases in.<br class=""><br class=""></blockquote><br class="">Documentation have no mentions how bitbake handles absolute paths, so I propose to discuss it here. I see&nbsp;it (and have implemented) as this: only last file/dir from whole path should be taken:<div class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="file:///some/abs/path/to/file" class="">file:///some/abs/path/to/file</a>&nbsp;→ ${WORKDIR}/file<br class=""><br class="">Behavior&nbsp;prior to this patch and how it works in current master:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>file:///some/abs/path/to/file&nbsp;→ ${WORKDIR}/some/abs/path/to/file<div class=""><br class=""></div><div class="">qemu_helper recipe relies as well on last one:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>file://${COREBASE}/scripts/runqemu&nbsp;→ ${WORKDIR}/home/user/projects/yocto/scripts/runqemu<br class=""><br class="">But I believe that recipe authors wouldn't have 'home/user/projects/yocto/scripts' dir in ${WORKDIR} as it completely host specific and useless. For such reason I have implemented behavior that copies only last file/dir entity from absolute path to ${WORKDIR} and changed qemu_helper recipe accordingly. New test cases are covering this behavior too.</div><div class=""><br class=""></div><div class="">If you agree with such behavior, then you can integrate patch v2 and remove your fix for qemu_helper in master since it conflicts with my changes.</div><div class=""><br class=""></div><div class="">BTW, I want to add one more test case in upcoming patch: absolute paths with wildcards. This should be covered also.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Alexander</div></div></body></html>