From: Henning Schild <henning.schild@siemens.com>
To: <isar-users@googlegroups.com>
Cc: Florian Bezdeka <florian.bezdeka@siemens.com>,
Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>,
<jan.kiszka@siemens.com>
Subject: Re: [PATCH v2 6/7] wic: mount /boot and exlude it from root for efi
Date: Fri, 3 Sep 2021 18:06:10 +0200 [thread overview]
Message-ID: <20210903180610.58842db3@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <20210903125355.12279-7-henning.schild@siemens.com>
Am Fri, 3 Sep 2021 14:53:54 +0200
schrieb Henning Schild <henning.schild@siemens.com>:
> We now have everything in a boot-partition also for efi, so mount that
> and exclude it from root to save space.
>
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
> meta-isar/scripts/lib/wic/canned-wks/hikey.wks | 4 ++--
> meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta-isar/scripts/lib/wic/canned-wks/hikey.wks
> b/meta-isar/scripts/lib/wic/canned-wks/hikey.wks index
> 1b7a64e1b55c..0c966e65622d 100644 ---
> a/meta-isar/scripts/lib/wic/canned-wks/hikey.wks +++
> b/meta-isar/scripts/lib/wic/canned-wks/hikey.wks @@ -3,8 +3,8 @@
> #
> # SPDX-License-Identifier: MIT
>
> -part --source bootimg-efi-isar --sourceparams "loader=grub-efi"
> --ondisk mmcblk1 --label efi --part-type EF00 --align 1024
> +part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi"
> --ondisk mmcblk1 --label efi --part-type EF00 --align 1024
This and the other similar one could probably use a "--use-uuid". So
that we could also boot this in qemu where mmcblk1 would become vda.
Henning
> -part /
> --source rootfs --ondisk mmcblk1 --fstype ext4 --mkfs-extraopts "-T
> default" --label platform --align 1024 --use-uuid +part / --source
> rootfs --ondisk mmcblk1 --fstype ext4 --mkfs-extraopts "-T default"
> --label platform --align 1024 --use-uuid --exclude-path boot/
> bootloader --ptable gpt --timeout=3 diff --git
> a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks
> b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks index
> be468430a7d6..f3addbc7515d 100644 ---
> a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks +++
> b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks @@ -2,8 +2,8
> @@ # long-description: Creates a partitioned EFI disk image without
> any swap that # the user can directly dd to boot media. -part
> --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk
> sda --label efi --part-type EF00 --align 1024 +part /boot --source
> bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk sda
> --label efi --part-type EF00 --align 1024 -part / --source rootfs
> --ondisk sda --fstype ext4 --mkfs-extraopts "-T default" --label
> platform --align 1024 --use-uuid +part / --source rootfs --ondisk sda
> --fstype ext4 --mkfs-extraopts "-T default" --label platform --align
> 1024 --use-uuid --exclude-path boot/ bootloader --ptable gpt
> --timeout 3 --append "rootwait console=ttyS0,115200 console=tty0"
next prev parent reply other threads:[~2021-09-03 16:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 12:53 [PATCH v2 0/7] re-fork wic pcbios and efi plugins Henning Schild
2021-09-03 12:53 ` [PATCH v2 1/7] wic: reset our plugin forks to OE upstream for re-forking Henning Schild
2021-09-03 12:53 ` [PATCH v2 2/7] wic: add utility library for common bits of isar plugins Henning Schild
2021-09-03 12:53 ` [PATCH v2 3/7] wic: apply the actual fork changes to our pcbios plugin fork Henning Schild
2021-09-03 12:53 ` [PATCH v2 4/7] wic: clean up wic class in terms of isar variables Henning Schild
2021-09-03 12:53 ` [PATCH v2 5/7] wic: apply the actual fork changes to our efi plugin fork Henning Schild
2021-09-03 12:53 ` [PATCH v2 6/7] wic: mount /boot and exlude it from root for efi Henning Schild
2021-09-03 16:06 ` Henning Schild [this message]
2021-09-03 12:53 ` [PATCH v2 7/7] meta-isar: use "systemd-boot" for one test target Henning Schild
2021-09-06 5:05 ` [PATCH v2 0/7] re-fork wic pcbios and efi plugins Jan Kiszka
2021-09-06 8:59 ` Henning Schild
2021-09-06 9:48 ` Anton Mikanovich
2021-09-06 10:51 ` Henning Schild
2021-09-07 7:15 ` Bezdeka, Florian
2021-09-07 8:00 ` Henning Schild
2021-09-13 13:05 ` 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=20210903180610.58842db3@md1za8fc.ad001.siemens.net \
--to=henning.schild@siemens.com \
--cc=Vijaikumar_Kanagarajan@mentor.com \
--cc=florian.bezdeka@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