mbox series

[v3,0/7] Add iso9660 image support for ISAR

Message ID 20250124123545.3500274-1-felix.moessbauer@siemens.com
Headers show
Series Add iso9660 image support for ISAR | expand

Message

Felix Moessbauer Jan. 24, 2025, 12:35 p.m. UTC
This series adds support to create hybrid iso9660 images for ISAR
which can be used as live images for booting from USB sticks or
DVDs. Currently, only syslinux and EFI (grub) bootloaders are supported.

Changes since v2:

- qemuamd64-iso: derive (include) from qemuamd64.
- add run test for qemuamd64-iso machine (based on Uladzimirs proposal, thanks!)

Changes since v1:

- fixed typo in machine name
- add multiconfig target
- kas-menu: exclude container image packages if qemuamd64-iso is selected
  (as overlay2 fs cannot be stacked and Debian also does not support containers
  in the live image)
- add test for building the image

Further, I tested the image with the Test-Single CI target and that also worked:

avocado --show=app,test run --max-parallel-tasks=1 \
testsuite/citest.py:SingleTest.test_single_run -p machine=qemuamd64-iso \
-p distro=bookworm -p image=isar-image-ci

Best regards,
Felix Moessbauer

Felix Moessbauer (7):
  Import isoimage-isohybrid from oe
  wic: add ISAR version of isohybrid-efi plugin
  move squashfs imagetype class from CIP to ISAR
  add qemuamd64-iso target for hybrid iso9660 image
  add kas menu target for qemuamd64-iso machine
  testsuite: add qemuamd64-iso machine to start_vm script
  testsuite: test mc:qemuamd64-iso-bookworm:isar-image-base

 kas/machine/Kconfig                           |   7 +
 kas/machine/qemuamd64-iso.yaml                |   7 +
 kas/package/Kconfig                           |   3 +
 meta-isar/classes/squashfs.bbclass            |  47 ++
 meta-isar/conf/machine/qemuamd64-iso.conf     |  19 +
 meta-isar/conf/mc.conf                        |   1 +
 .../multiconfig/qemuamd64-iso-bookworm.conf   |   4 +
 .../lib/wic/canned-wks/isohybrid-efi.wks.in   |   2 +
 meta/classes/image.bbclass                    |   2 +-
 .../plugins/source/isoimage-isohybrid-isar.py | 535 ++++++++++++++++++
 testsuite/citest.py                           |  12 +
 testsuite/scripts/test_system_running.sh      |  22 +
 testsuite/start_vm.py                         |   2 +-
 13 files changed, 661 insertions(+), 2 deletions(-)
 create mode 100644 kas/machine/qemuamd64-iso.yaml
 create mode 100644 meta-isar/classes/squashfs.bbclass
 create mode 100644 meta-isar/conf/machine/qemuamd64-iso.conf
 create mode 100644 meta-isar/conf/multiconfig/qemuamd64-iso-bookworm.conf
 create mode 100644 meta-isar/scripts/lib/wic/canned-wks/isohybrid-efi.wks.in
 create mode 100644 meta/scripts/lib/wic/plugins/source/isoimage-isohybrid-isar.py
 create mode 100755 testsuite/scripts/test_system_running.sh