diff mbox series

[wic] bootimg_pcbios: fix examples

Message ID 20260630164701.651165-1-gael.portay+rtone@gmail.com
State New
Headers show
Series [wic] bootimg_pcbios: fix examples | expand

Commit Message

Gaël PORTAY June 30, 2026, 4:47 p.m. UTC
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 <gael.portay+rtone@gmail.com>
---
 src/wic/plugins/source/bootimg_pcbios.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

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
     """