summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-11-20 19:35:47 +0000
committerAndrei Gherzan <andrei@gherzan.com>2018-07-16 16:54:32 +0100
commite8f9a4e8f80c44c6faf18af8d397d240e460b981 (patch)
treee4b56f74108889ee517212d638f22db53983f4e3 /docs
parentefa848ca84a5ed541d4a755d19e66855214bfa23 (diff)
downloadmeta-raspberrypi-e8f9a4e8f80c44c6faf18af8d397d240e460b981.tar.gz
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 <Martin.Jansa@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/extra-build-config.md3
1 files changed, 0 insertions, 3 deletions
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:
167 - `INITRAMFS_IMAGE = "<a name for your initramfs image>"` 167 - `INITRAMFS_IMAGE = "<a name for your initramfs image>"`
168 - `INITRAMFS_IMAGE_BUNDLE = "1"` 168 - `INITRAMFS_IMAGE_BUNDLE = "1"`
169 169
170* Set the meta-rasberrypi variable (in raspberrypi.conf for example)
171 - `KERNEL_INITRAMFS = "-initramfs"`
172
173## Enable SPI bus 170## Enable SPI bus
174 171
175When using device tree kernels, set this variable to enable the SPI bus: 172When using device tree kernels, set this variable to enable the SPI bus: