public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Zk47T" <zizuzacker@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Zk47T <zizuzacker@gmail.com>
Subject: [PATCH] qemuarm/qemuarm64: add WKS_FILE for wic image creation
Date: Sat,  4 Apr 2026 08:28:59 +0700	[thread overview]
Message-ID: <20260404012859.2463603-1-zizuzacker@gmail.com> (raw)

Some of the oe-selftest test cases require generating a wic file, but
the qemuarm and qemuarm64 machines didn't have one defined, which
caused tests to fail when attempting to build WIC images.
This creates a default qemuarm.wks providing a single 5GB ext4 root
partition and assigns it via the WKS_FILE variable in both the
qemuarm.conf and qemuarm64.conf machine configurations.
[YOCTO #14963]

Signed-off-by: Zk47T <zizuzacker@gmail.com>
---
 meta/conf/machine/qemuarm.conf         | 2 ++
 meta/conf/machine/qemuarm64.conf       | 2 ++
 scripts/lib/wic/canned-wks/qemuarm.wks | 3 +++
 3 files changed, 7 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/qemuarm.wks

diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index 943ce7c16a..685483c545 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -29,3 +29,5 @@ QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device v
 QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon"
 
 KMACHINE:qemuarm = "qemuarma15"
+
+WKS_FILE ?= "qemuarm.wks"
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
index a096d964db..14b9f838e2 100644
--- a/meta/conf/machine/qemuarm64.conf
+++ b/meta/conf/machine/qemuarm64.conf
@@ -28,3 +28,5 @@ QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio
 # Virtio serial console
 QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
 QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon"
+
+WKS_FILE ?= "qemuarm.wks"
diff --git a/scripts/lib/wic/canned-wks/qemuarm.wks b/scripts/lib/wic/canned-wks/qemuarm.wks
new file mode 100644
index 0000000000..01d9fbf10b
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/qemuarm.wks
@@ -0,0 +1,3 @@
+# short-description: Create qcow2 image for ARM QEMU machines
+
+part / --source rootfs --fstype=ext4 --label root --align 4096 --size 5G
-- 
2.34.1



             reply	other threads:[~2026-04-04 18:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-04  1:28 Zk47T [this message]
2026-04-04 20:57 ` [OE-core] [PATCH] qemuarm/qemuarm64: add WKS_FILE for wic image creation Trevor Woerner

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=20260404012859.2463603-1-zizuzacker@gmail.com \
    --to=zizuzacker@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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