[yocto] [meta-raspberrypi][PATCH 1/3] rpi-base.inc: Don't install kernel image into rootfs

Paul Barker paul at paulbarker.me.uk
Sun Jul 10 16:17:54 PDT 2016


The kernel image is installed into the FAT32 boot partition and does not need to
also be installed into the rootfs.

Signed-off-by: Paul Barker <paul at paulbarker.me.uk>
---
 conf/machine/include/rpi-base.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index 56ca83e..98c047a 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -51,3 +51,9 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
 SPLASH = "psplash-raspberrypi"
 
 IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
+
+# Don't install kernel image into rootfs
+#
+# The kernel image is installed into the FAT32 boot partition and does not need
+# to also be installed into the rootfs.
+RDEPENDS_kernel-base = ""
-- 
2.1.4




More information about the yocto mailing list