On 27 February 2016 at 06:55, Andrei Gherzan <and...@gherzan.ro> wrote: > On Fri, Feb 26, 2016 at 07:04:28PM +0100, Andrei Gherzan wrote: >> -- >> Andrei Gherzan >> On Fri, Feb 26, 2016 at 6:48 PM, Petter Mabäcker >> <[1]pet...@technux.se> wrote: >> >> 2016-02-26 18:14 skrev Andrei Gherzan: >> >> On Fri, Feb 26, 2016 at 08:26:57PM +1100, Jonathan Liu wrote: >> >> The path had libexecdir hardcoded so it was no longer correct when >> libexecdir was changed in meta/conf/bitbake.conf from >> ${libdir}/${BPN} to ${prefix_native}/libexec for nativesdk recipes. >> Fixes "No such file or directory" error when executing >> do_rpiboot_mkimage. Signed-off-by: Jonathan Liu >> <[2]net...@gmail.com> --- recipes-kernel/linux/linux-raspberrypi.inc >> | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git >> a/recipes-kernel/linux/linux-raspberrypi.inc >> b/recipes-kernel/linux/linux-raspberrypi.inc index 70e8bfe..8c7c46c >> 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ >> b/recipes-kernel/linux/linux-raspberrypi.inc @@ -60,7 +60,7 @@ >> do_rpiboot_mkimage() { if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; >> then if test -n "${KERNEL_DEVICETREE}"; then # Add RPi bootloader >> trailer to kernel image to enable DeviceTree support - >> ${STAGING_DIR_NATIVE}/usr/lib/rpi-mkimage/mkknlimg --dtok >> ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} + >> ${STAGING_LIBEXECDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT} >> ${KERNEL_OUTPUT} fi fi } -- 2.7.1 >> >> Back alive. testing this. >> >> -- >> Andrei Gherzan >> >> >> Hi, >> I think we should use the older patchset from Maciej Borzecki (that >> solves this and some other minor stuffs) instead. It also keeps the >> rpi-mkimage structure: >> [3]https://lists.yoctoproject.org/pipermail/yocto/2016-February/028271. >> html >> BR Petter >> >> Very good catch Petter. I'll test that PR. > > Merged the patch set sent by Maciej. Which covers this patch too. > Thanks, > > -- > Andrei Gherzan
Note that Maciej's patch doesn't really preserve the path on older branches like you expect. On master branch: ${libexecdir}/rpi-mkimage expands to /usr/libexec/rpi-mkimage On daisy branch: ${libexecdir}/rpi-mkimage expands to /usr/lib/rpi-mkimage/rpi-mkimage Regards, Jonathan -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto