linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task
PATCH 1/1 linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task
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(-)
recipes-kernel/linux/linux-raspberrypi.inc +1 -1
@@ -61,7 +61,7 @@ do_bundle_initramfs_append() { 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
Signature · 1 line
2.7.4
recipes-kernel/linux/linux-raspberrypi.inc do_bundle_initramfs_append() {
Quoted 11 lines · Piotr Lewicki
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(-)recipes-kernel/linux/linux-raspberrypi.inc +0
-0@@ -61,7 +61,7 @@ do_bundle_initramfs_append() {
The entire append here can be removed as mkknlimg tool was removed completely. See fe92cc7e1428ba7f982c371101150851c621532a.
Quoted 11 lines
recipes-kernel/linux/linux-raspberrypi.inc +1
-2if 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
Quoted 5 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
--
Andrei Gherzan