diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-07-15 15:46:23 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-07-29 11:54:14 +0100 |
commit | c883daa802027abde6c5a3ff87dac6923e7b5b1a (patch) | |
tree | f31ef98e6bdc930e0f255445568e6f5cca9297b7 /docs/conf.py | |
parent | eaf4a5f17e6adb50d7115a5eb995b0b5674d6b02 (diff) | |
download | meta-raspberrypi-c883daa802027abde6c5a3ff87dac6923e7b5b1a.tar.gz |
sdcard_image-rpi.bbclass: enable extensible inclusion into boot
Add DEPLOYPAYLOAD, similar to the existing FATPAYLOAD, to enable
adding files to the boot partition from the image deploy directory.
Files such as hypervisor binaries may not be present (and in fact
unwanted) within the root filesystem, so FATPAYLOAD is not sufficient.
DEPLOYPAYLOAD is implemented with support for file renaming from the
source file in the image deploy directory to the filename written into
the boot image. DEPLOYPAYLOAD is a space-separated list of entries for
additions, each of which can optionally be colon-separated:
<image deploy directory file>:<destination filename>
If the colon separator is omitted, the source deploy directory filename
is used as the destination filename.
The support for specifying the destination filename is used for
including Xen, which produces a machine-specific file in the image
deploy directory, and is written to the image partition with its
expected filename: xen.
Files that are to be included from the image deploy directory will
be produced by tasks that the do_image_rpi_sdimg[depends] must list,
so enable adding entries to that via a new variable:
RPI_SDIMG_EXTRA_DEPENDS.
These changes enable retiring a Xen-specific Raspberry Pi SD card
bbclass from meta-virtualization and have been tested on the
Raspberry Pi 4.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions