[yocto] [meta-raspberrypi][PATCH] linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task

Andrei Gherzan andrei at gherzan.ro
Mon Oct 31 07:47:11 PDT 2016


On Mon, Oct 31, 2016 at 02:42:35PM +0100, Piotr Lewicki wrote:
> Task do_bundle_initramfs() was failing because of "mkknlimg: not found"
> The path to "mkknlimg" is now updated.
> ---
>  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 6184402..9d6ef5f 100644
> --- a/recipes-kernel/linux/linux-raspberrypi.inc
> +++ b/recipes-kernel/linux/linux-raspberrypi.inc
> @@ -61,7 +61,7 @@ do_bundle_initramfs_append() {

The entire append here can be removed as mkknlimg tool was removed
completely. See fe92cc7e1428ba7f982c371101150851c621532a.

>              if test -n "${KERNEL_DEVICETREE}"; then
>                  # Add RPi bootloader trailer to kernel image to enable DeviceTree support
>                  for type in ${KERNEL_IMAGETYPES} ; do
> -                    ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs
> +                    ${STAGING_KERNEL_DIR}/scripts/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs
>                  done
>              fi
>          fi
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161031/8f4a9911/attachment.pgp>


More information about the yocto mailing list