public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: isar-users@googlegroups.com
Cc: Henning Schild <henning.schild@siemens.com>
Subject: [PATCH v2 4/7] vm-img: drop not used variables
Date: Tue, 14 Dec 2021 21:35:59 +0100	[thread overview]
Message-ID: <20211214203602.21996-4-henning.schild@siemens.com> (raw)
In-Reply-To: <20211214203602.21996-1-henning.schild@siemens.com>

some variables are not used in the template we had before, nor in the
new templates, drop them

Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
 meta/classes/vm-img.bbclass | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/classes/vm-img.bbclass b/meta/classes/vm-img.bbclass
index e94b6de2d799..db390769b29f 100644
--- a/meta/classes/vm-img.bbclass
+++ b/meta/classes/vm-img.bbclass
@@ -53,7 +53,6 @@ OVA_VRAM ?= "64"
 OVA_FIRMWARE ?= "efi"
 OVA_ACPI ?= "true"
 OVA_3D_ACCEL ?= "false"
-OVA_CLIPBOARD ?= "bidirectional"
 OVA_SHA_ALG = "1"
 
 # Generate random MAC addresses just as VirtualBox does, the format is
@@ -65,7 +64,7 @@ macgen() {
 }
 
 OVA_VARS = "OVA_NAME OVA_MEMORY OVA_NUMBER_OF_CPU OVA_VRAM \
-            OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL OVA_CLIPBOARD \
+            OVA_FIRMWARE OVA_ACPI OVA_3D_ACCEL \
             OVA_SHA_ALG VIRTUAL_MACHINE_IMAGE_FILE"
 
 # the ovf template is updated with ensubst
@@ -91,8 +90,6 @@ do_create_ova() {
     rm -f '${DEPLOY_DIR_IMAGE}/${OVA_NAME}.mf'
 
     export PRIMARY_MAC=$(macgen)
-    export SECONDARY_MAC=$(macgen)
-    export DISK_NAME=$(basename -s .vmdk ${VIRTUAL_MACHINE_DISK})
     export LAST_CHANGE=$(date -u "+%Y-%m-%dT%H:%M:%SZ")
     export OVA_FIRMWARE_UPPERCASE=$(echo ${OVA_FIRMWARE} | tr '[a-z]' '[A-Z]')
 
-- 
2.32.0


  parent reply	other threads:[~2021-12-14 20:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 20:35 [PATCH v2 1/7] vm-img: move template out of package into SRC_URI file Henning Schild
2021-12-14 20:35 ` [PATCH v2 2/7] vm-img: use two different ovf templates for vmware/virtualbox Henning Schild
2021-12-14 20:35 ` [PATCH v2 3/7] vm-img: shorten code by using variables we have Henning Schild
2021-12-14 20:35 ` Henning Schild [this message]
2021-12-14 20:36 ` [PATCH v2 5/7] vm-img: set vmware machine type to 64bit in our template Henning Schild
2021-12-14 20:36 ` [PATCH v2 6/7] vm-img: make use of isars template class for most of the tmpl variables Henning Schild
2021-12-14 20:36 ` [PATCH v2 7/7] meta-isar: switch virtualbox test from buster to bullseye Henning Schild
2021-12-15  3:04   ` Uladzimir Bely
2021-12-15  9:39     ` Henning Schild
2021-12-14 20:37 ` [PATCH v2 1/7] vm-img: move template out of package into SRC_URI file Henning Schild
  -- strict thread matches above, loose matches on Subject: below --
2021-12-14 16:17 Henning Schild
2021-12-14 16:18 ` [PATCH v2 4/7] vm-img: drop not used variables Henning Schild
2021-12-14 16:10 [PATCH v2 1/7] vm-img: move template out of package into SRC_URI file Henning Schild
2021-12-14 16:10 ` [PATCH v2 4/7] vm-img: drop not used variables Henning Schild

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211214203602.21996-4-henning.schild@siemens.com \
    --to=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox