From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, henning.schild@siemens.com,
florian.bezdeka@siemens.com, amikan@ilbers.de,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v4 2/5] meta-isar: add example how to split rootfs across partitions
Date: Sat, 28 May 2022 16:50:39 +0200 [thread overview]
Message-ID: <20220528145042.130894-3-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20220528145042.130894-1-felix.moessbauer@siemens.com>
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
diff --git a/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks b/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
new file mode 100644
index 00000000..b3abb3d0
--- /dev/null
+++ b/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
@@ -0,0 +1,8 @@
+# Example showing how to split a single rootfs across partitions
+part /boot --ondisk sda --source bootimg-efi-isar --sourceparams="loader=grub-efi" --label boot --active --align 1024
+# when excluding paths, just specify --exclude-path once and separate paths using spaces
+part / --ondisk sda --source rootfs --fstype=ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --exclude-path boot home --extra-space 1G
+# put home last to support auto-expand of this partition
+part /home --ondisk sda --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --fstype=ext4 --mkfs-extraopts "-T default" --label platform --align 1024
+
+bootloader --ptable gpt --timeout 3 --append "rootwait console=ttyS0,115200 console=tty0"
--
2.30.2
next prev parent reply other threads:[~2022-05-28 14:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-28 14:50 [PATCH v4 0/5] wic: Update to the latest revision Felix Moessbauer
2022-05-28 14:50 ` [PATCH v4 1/5] " Felix Moessbauer
2022-06-01 12:22 ` Schmidl, Tobias
2022-06-01 14:10 ` Anton Mikanovich
2022-06-02 7:44 ` Moessbauer, Felix
2022-06-02 11:22 ` Anton Mikanovich
2022-05-28 14:50 ` Felix Moessbauer [this message]
2022-05-28 14:50 ` [PATCH v4 3/5] use multipart image for qemuamd64-bookworm target Felix Moessbauer
2022-05-28 14:50 ` [PATCH v4 4/5] ci: test partition layout of splitted-rootfs image Felix Moessbauer
2022-05-28 14:50 ` [PATCH v4 5/5] ci: upload all logs from testsuite Felix Moessbauer
2022-06-03 15:53 ` [PATCH v4 0/5] wic: Update to the latest revision Anton Mikanovich
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=20220528145042.130894-3-felix.moessbauer@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=amikan@ilbers.de \
--cc=florian.bezdeka@siemens.com \
--cc=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.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