public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH 2/8] meta-isar: Add more extra space to qemu ext4 images
Date: Fri, 18 Aug 2023 09:07:00 +0200	[thread overview]
Message-ID: <20230818070706.27913-3-ubely@ilbers.de> (raw)
In-Reply-To: <20230818070706.27913-1-ubely@ilbers.de>

Some qemu machines use IMAGE_FSTYPES="ext4". Default 64 MiB of extra
space passed to mke2fs seems to be not enough to deploy any files
on the target, because when the machine completes booting, `df` shows
0B available on rootfs.

This causes some SSH-bases tests fail with "no space left" error,
since we need test script to be first deployed on board and then
executed (with possible additional arguments).

Changing the default value of `ROOTFS_EXTRA` variable from 64 to 128
resolves the problem.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 meta-isar/conf/machine/qemuarm.conf     | 1 +
 meta-isar/conf/machine/qemuarm64.conf   | 1 +
 meta-isar/conf/machine/qemumipsel.conf  | 1 +
 meta-isar/conf/machine/qemuriscv64.conf | 1 +
 4 files changed, 4 insertions(+)

diff --git a/meta-isar/conf/machine/qemuarm.conf b/meta-isar/conf/machine/qemuarm.conf
index 6426a4a7..b70d6af0 100644
--- a/meta-isar/conf/machine/qemuarm.conf
+++ b/meta-isar/conf/machine/qemuarm.conf
@@ -6,6 +6,7 @@ DISTRO_ARCH ?= "armhf"
 KERNEL_NAME ?= "armmp"
 
 IMAGE_FSTYPES ?= "ext4"
+ROOTFS_EXTRA ?= "128"
 
 QEMU_ROOTFS_DEV ?= "vda"
 
diff --git a/meta-isar/conf/machine/qemuarm64.conf b/meta-isar/conf/machine/qemuarm64.conf
index f3b379c8..9706bbe0 100644
--- a/meta-isar/conf/machine/qemuarm64.conf
+++ b/meta-isar/conf/machine/qemuarm64.conf
@@ -8,6 +8,7 @@ KERNEL_NAME:ubuntu-focal ?= "generic"
 KERNEL_NAME:ubuntu-jammy ?= "generic"
 
 IMAGE_FSTYPES ?= "ext4"
+ROOTFS_EXTRA ?= "128"
 
 QEMU_ROOTFS_DEV ?= "vda"
 
diff --git a/meta-isar/conf/machine/qemumipsel.conf b/meta-isar/conf/machine/qemumipsel.conf
index 40f5e744..4c27ff2f 100644
--- a/meta-isar/conf/machine/qemumipsel.conf
+++ b/meta-isar/conf/machine/qemumipsel.conf
@@ -6,6 +6,7 @@ DISTRO_ARCH ?= "mipsel"
 KERNEL_NAME ?= "4kc-malta"
 
 IMAGE_FSTYPES ?= "ext4"
+ROOTFS_EXTRA ?= "128"
 
 QEMU_ROOTFS_DEV ?= "sda"
 
diff --git a/meta-isar/conf/machine/qemuriscv64.conf b/meta-isar/conf/machine/qemuriscv64.conf
index f7a7c8d5..15711054 100644
--- a/meta-isar/conf/machine/qemuriscv64.conf
+++ b/meta-isar/conf/machine/qemuriscv64.conf
@@ -9,6 +9,7 @@ DISTRO_ARCH ?= "riscv64"
 KERNEL_NAME ?= "riscv64"
 
 IMAGE_FSTYPES ?= "ext4"
+ROOTFS_EXTRA ?= "128"
 
 QEMU_ROOTFS_DEV ?= "vda"
 
-- 
2.20.1


  parent reply	other threads:[~2023-08-18  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18  7:06 [PATCH 0/8] Testsuite improvements for SSH-based tests Uladzimir Bely
2023-08-18  7:06 ` [PATCH 1/8] cibuilder.py: Support custom arguments passing to CI scripts Uladzimir Bely
2023-08-18  7:07 ` Uladzimir Bely [this message]
2023-08-18  7:07 ` [PATCH 3/8] cibuilder.py: Split vm_start function to smaller subfunctions Uladzimir Bely
2023-08-18  7:07 ` [PATCH 4/8] cibuilder.py: Simplify remote_run command Uladzimir Bely
2023-08-18  7:07 ` [PATCH 5/8] cibuilder.py: Reuse the same qemu machine in ssh-based tests Uladzimir Bely
2023-08-18  7:07 ` [PATCH 6/8] citest.py: Adapt tests to qemu reuse Uladzimir Bely
2023-08-18  7:07 ` [PATCH 7/8] cibuilder.py: enable output from remote scripts Uladzimir Bely
2023-08-18  7:07 ` [PATCH 8/8] testsuite: Switch to remote scripts with arguments Uladzimir Bely
2023-08-24 15:34 ` [PATCH 0/8] Testsuite improvements for SSH-based tests Uladzimir Bely

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=20230818070706.27913-3-ubely@ilbers.de \
    --to=ubely@ilbers.de \
    --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