From e8f9a4e8f80c44c6faf18af8d397d240e460b981 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 20 Nov 2017 19:35:47 +0000 Subject: sdcard_image-rpi.bbclass: drop KERNEL_INITRAMFS variable * use INITRAMFS_SYMLINK_NAME from new kernel-artifact-names.bbclass instead of KERNEL_INITRAMFS * the documentation says that KERNEL_INITRAMFS should be used to define extension of initramfs, but in linux-raspberrypi.inc it's defined only to 1 or empty based on INITRAMFS_IMAGE_BUNDLE variable and I don't see any code in meta-raspberry or oe-core which would use KERNEL_INITRAMFS to actualy name the initramfs artifact to create: ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin used in classes/sdcard_image-rpi.bbclass * also fix the assumption that there is -${MACHINE} suffix in: ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin because that's defined as KERNEL_IMAGE_SYMLINK_NAME and some DISTROs might use different value * this depends on oe-core changes which were merged today: http://git.openembedded.org/openembedded-core/commit/?id=7d0ef0eaa1bfe97015a774c26f5791622e7e8b12 * this is the last piece of previous pull-request: https://github.com/agherzan/meta-raspberrypi/pull/159 Signed-off-by: Martin Jansa --- docs/extra-build-config.md | 3 --- 1 file changed, 3 deletions(-) (limited to 'docs') diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index 04314aa..79cf3c7 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md @@ -167,9 +167,6 @@ To build an initramfs image: - `INITRAMFS_IMAGE = ""` - `INITRAMFS_IMAGE_BUNDLE = "1"` -* Set the meta-rasberrypi variable (in raspberrypi.conf for example) - - `KERNEL_INITRAMFS = "-initramfs"` - ## Enable SPI bus When using device tree kernels, set this variable to enable the SPI bus: -- cgit v1.2.3-54-g00ecf