public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v4 0/7] vm-img improvements and fixes
@ 2021-12-15 15:48 Henning Schild
  2021-12-15 15:48 ` [PATCH v4 1/7] vm-img: Move template out of package into SRC_URI file Henning Schild
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Henning Schild @ 2021-12-15 15:48 UTC (permalink / raw)
  To: isar-users; +Cc: Henning Schild

changes since v3:
 - change the way we play with the SRC_URI path in p1
 - adding cover letter again

changes since v2:
 - change avocado code and move renamed bullseye test into another test

changes since v1:
 - rebase on next/avocado


The vm-img support we currently have is a bit broken in various aspects.
Most prominently the resulting ova files are accepted by vmware only
with warnings. And UEFI booting did not really work in virtualbox or
vmware.

This series makes the template for the appliance a file one can override
with a custom template. Which should allow close to any special
configuration that the VMMs can express in their respective ovf
dialects. It further makes changes to the templates we ship with isar to
hopefully give people a decent baseline so they will not even need
custom templates. And there is some code cleanup to the vm-img class.

Henning Schild (7):
  vm-img: Move template out of package into SRC_URI file.
  vm-img: Use two different ovf templates for vmware/virtualbox.
  vm-img: Shorten code by using variables we have.
  vm-img: Drop not used variables.
  vm-img: Set vmware machine type to 64bit in our template.
  vm-img: Make use of isars template class for most of the tmpl
    variables.
  meta-isar: Switch virtualbox test from buster to bullseye.

 meta-isar/conf/local.conf.sample              |   2 +-
 meta-isar/conf/machine/vmware.conf            |   2 +
 ...a-buster.conf => virtualbox-bullseye.conf} |   2 +-
 meta/classes/vm-img.bbclass                   |  35 ++---
 .../vm-img/vm-img-virtualbox.ovf.tmpl}        | 132 +++++++-----------
 meta/classes/vm-img/vm-img-vmware.ovf.tmpl    | 127 +++++++++++++++++
 .../vm-template/vm-template_0.1.bb            |  16 ---
 testsuite/build_test/build_test.py            |   6 +-
 8 files changed, 199 insertions(+), 123 deletions(-)
 rename meta-isar/conf/multiconfig/{virtualbox-ova-buster.conf => virtualbox-bullseye.conf} (77%)
 rename meta/{recipes-devtools/vm-template/files/vm-template.ovf.tmpl => classes/vm-img/vm-img-virtualbox.ovf.tmpl} (54%)
 create mode 100644 meta/classes/vm-img/vm-img-vmware.ovf.tmpl
 delete mode 100644 meta/recipes-devtools/vm-template/vm-template_0.1.bb

-- 
2.32.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-12-16 13:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 15:48 [PATCH v4 0/7] vm-img improvements and fixes Henning Schild
2021-12-15 15:48 ` [PATCH v4 1/7] vm-img: Move template out of package into SRC_URI file Henning Schild
2021-12-15 15:48 ` [PATCH v4 2/7] vm-img: Use two different ovf templates for vmware/virtualbox Henning Schild
2021-12-15 15:48 ` [PATCH v4 3/7] vm-img: Shorten code by using variables we have Henning Schild
2021-12-15 15:48 ` [PATCH v4 4/7] vm-img: Drop not used variables Henning Schild
2021-12-15 15:48 ` [PATCH v4 5/7] vm-img: Set vmware machine type to 64bit in our template Henning Schild
2021-12-15 15:48 ` [PATCH v4 6/7] vm-img: Make use of isars template class for most of the tmpl variables Henning Schild
2021-12-15 15:48 ` [PATCH v4 7/7] meta-isar: Switch virtualbox test from buster to bullseye Henning Schild
2021-12-15 15:50 ` [PATCH v4 0/7] vm-img improvements and fixes Henning Schild
2021-12-15 15:57   ` Jan Kiszka
2021-12-15 16:21   ` Anton Mikanovich
2021-12-15 16:35     ` Henning Schild
2021-12-16 13:23       ` Baurzhan Ismagulov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox