From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: henning.schild@siemens.com, jan.kiszka@siemens.com,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v2 2/4] meta-isar: add example how to split rootfs across partitions
Date: Thu, 12 May 2022 11:45:22 +0200 [thread overview]
Message-ID: <20220512094524.216340-3-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20220512094524.216340-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..c8d876ae
--- /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 --exclude-path boot home
+
+bootloader --ptable gpt --timeout 3 --append "rootwait console=ttyS0,115200 console=tty0"
--
2.30.2
next prev parent reply other threads:[~2022-05-12 9:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 9:45 [PATCH v2 0/4] wic: Update to the latest revision Felix Moessbauer
2022-05-12 9:45 ` [PATCH v2 1/4] " Felix Moessbauer
2022-05-12 9:45 ` Felix Moessbauer [this message]
2022-05-12 10:54 ` [PATCH v2 2/4] meta-isar: add example how to split rootfs across partitions Bezdeka, Florian
2022-05-12 11:37 ` Moessbauer, Felix
2022-05-12 9:45 ` [PATCH v2 3/4] use multipart image for qemuamd64-bookworm target Felix Moessbauer
2022-05-12 9:45 ` [PATCH v2 4/4] ci: test partition layout of splitted-rootfs image Felix Moessbauer
2022-05-12 10:16 ` [PATCH v2 0/4] wic: Update to the latest revision 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=20220512094524.216340-3-felix.moessbauer@siemens.com \
--to=felix.moessbauer@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