diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-06-29 18:54:52 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-07-06 16:25:56 -0400 |
commit | e6e471f3fb2833a334f2945da0130066d55321cf (patch) | |
tree | 04e917efdb2ba4edb8bebaf8a909b11df5c6e89e /conf | |
parent | abed1be72d4ddac02087e9e549f70ecf3a9a0322 (diff) | |
download | meta-virtualization-e6e471f3fb2833a334f2945da0130066d55321cf.tar.gz |
xen, raspberry pi: add Xen-specific SD card class
At the moment the regular meta-raspberrypi SD card class does not allow
for optional inclusion of extra files in the SD card boot partition
without requiring those same files be present in the root filesystem.
This affects hypervisor binaries, such as Xen, which do not necessarily
belong within the guest filesystem.
As a workaround, inherit the sdcard_image-rpi.bbclass and clone the
main IMAGE_CMD function, adding the Xen-specific deploy that is needed.
This can be retired when the parent class has extensibility added.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/include/meta-virt-xen.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/distro/include/meta-virt-xen.inc b/conf/distro/include/meta-virt-xen.inc index 2ada83a3..b4a20fe5 100644 --- a/conf/distro/include/meta-virt-xen.inc +++ b/conf/distro/include/meta-virt-xen.inc | |||
@@ -12,3 +12,6 @@ SERIAL_CONSOLES = "115200;hvc0" | |||
12 | # - Xen uses u-boot for configuration and uses the uart | 12 | # - Xen uses u-boot for configuration and uses the uart |
13 | RPI_USE_U_BOOT = "1" | 13 | RPI_USE_U_BOOT = "1" |
14 | ENABLE_UART = "1" | 14 | ENABLE_UART = "1" |
15 | # Build the bootable SD card image | ||
16 | IMAGE_CLASSES_append_raspberrypi4-64 = " sdcard_image-rpi-xen" | ||
17 | IMAGE_FSTYPES_append_raspberrypi4-64 = " rpi-xen-sdimg" | ||