[wic][PATCH] bootimg_pcbios: fix examples
Gaël PORTAY <[email protected]> Tue, 30 Jun 2026 18:47:01 +0200
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
The command part (or partition) takes the mountpoint as an optional
parameter. If set, mountpoint defines the path where the partition is
mounted, or swap.
This fixes the missing leading / to boot mountpoint, and replaces the
roots mountpoint, with its typo, by /.
See commit 5cc8c767e31 ("bootimg_pcbios: add help and usage comments")
Signed-off-by: Gaël PORTAY <[email protected]>
---
src/wic/plugins/source/bootimg_pcbios.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/wic/plugins/source/bootimg_pcbios.py b/src/wic/plugins/source/bootimg_pcbios.py
index f87c337..a8598ac 100644
--- a/src/wic/plugins/source/bootimg_pcbios.py
+++ b/src/wic/plugins/source/bootimg_pcbios.py
@@ -54,10 +54,10 @@ class BootimgPcbiosPlugin(SourcePlugin):
**************** Example kickstart Legacy Bios Grub Boot ****************
- part boot --label bios_boot --fstype ext4 --offset 1024 --fixed-size 78M
+ part /boot --label bios_boot --fstype ext4 --offset 1024 --fixed-size 78M
--source bootimg_pcbios --sourceparams="loader-bios=grub" --active
- part roots --label rootfs --fstype ext4 --source rootfs --use-uuid
+ part / --label rootfs --fstype ext4 --source rootfs --use-uuid
bootloader --ptable msdos --source bootimg_pcbios
**************** Example kickstart Legacy Bios Grub Boot ****************
@@ -66,7 +66,7 @@ class BootimgPcbiosPlugin(SourcePlugin):
part /boot --source bootimg_pcbios --sourceparams="loader-bios=syslinux"
--ondisk sda --label boot --fstype vfat --align 1024 --active
- part roots --label rootfs --fstype ext4 --source rootfs --use-uuid
+ part / --label rootfs --fstype ext4 --source rootfs --use-uuid
bootloader --ptable msdos --source bootimg_pcbios
"""
--
2.43.0