* [PATCH] wic: rename /home partition label in multipart-efi.wks
@ 2025-11-01 5:49 'Cedric Hombourger' via isar-users
2025-11-04 14:19 ` Zhihang Wei
0 siblings, 1 reply; 2+ messages in thread
From: 'Cedric Hombourger' via isar-users @ 2025-11-01 5:49 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Both the root file-system and /home partitions were assigned
"platform" as their PARTLABEL. Boot of the image may fail
if the kernel command line uses root=PARTLABEL=platform as
both would match this criteria. Rename the latter to "home"
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
---
meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks b/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
index b3abb3d0..a9745edd 100644
--- a/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
+++ b/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
@@ -3,6 +3,6 @@ part /boot --ondisk sda --source bootimg-efi-isar --sourceparams="loader=grub-ef
# 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
+part /home --ondisk sda --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --fstype=ext4 --mkfs-extraopts "-T default" --label home --align 1024
bootloader --ptable gpt --timeout 3 --append "rootwait console=ttyS0,115200 console=tty0"
--
2.47.3
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251101054939.3356150-1-cedric.hombourger%40siemens.com.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] wic: rename /home partition label in multipart-efi.wks
2025-11-01 5:49 [PATCH] wic: rename /home partition label in multipart-efi.wks 'Cedric Hombourger' via isar-users
@ 2025-11-04 14:19 ` Zhihang Wei
0 siblings, 0 replies; 2+ messages in thread
From: Zhihang Wei @ 2025-11-04 14:19 UTC (permalink / raw)
To: Cedric Hombourger, isar-users
Applied to next, thanks.
Best regards,
Zhihang
On 11/1/25 06:49, 'Cedric Hombourger' via isar-users wrote:
> Both the root file-system and /home partitions were assigned
> "platform" as their PARTLABEL. Boot of the image may fail
> if the kernel command line uses root=PARTLABEL=platform as
> both would match this criteria. Rename the latter to "home"
>
> Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
> ---
> meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks b/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
> index b3abb3d0..a9745edd 100644
> --- a/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
> +++ b/meta-isar/scripts/lib/wic/canned-wks/multipart-efi.wks
> @@ -3,6 +3,6 @@ part /boot --ondisk sda --source bootimg-efi-isar --sourceparams="loader=grub-ef
> # 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
> +part /home --ondisk sda --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --fstype=ext4 --mkfs-extraopts "-T default" --label home --align 1024
>
> bootloader --ptable gpt --timeout 3 --append "rootwait console=ttyS0,115200 console=tty0"
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/0f0b341b-b3d1-44b2-80b0-af49228294d7%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-04 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-01 5:49 [PATCH] wic: rename /home partition label in multipart-efi.wks 'Cedric Hombourger' via isar-users
2025-11-04 14:19 ` Zhihang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox