[bootlin/training-materials updates] master: yocto-image: move wks from ondisk to use-uuid (dc86a9f7)

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Aug 24 22:35:16 CEST 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/dc86a9f752802139f17a213e9666f85627ff208f

>---------------------------------------------------------------

commit dc86a9f752802139f17a213e9666f85627ff208f
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date:   Wed Aug 24 22:35:16 2022 +0200

    yocto-image: move wks from ondisk to use-uuid
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


>---------------------------------------------------------------

dc86a9f752802139f17a213e9666f85627ff208f
 slides/yocto-image/yocto-image.tex | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/slides/yocto-image/yocto-image.tex b/slides/yocto-image/yocto-image.tex
index 72c4d5f6..4ffd3689 100644
--- a/slides/yocto-image/yocto-image.tex
+++ b/slides/yocto-image/yocto-image.tex
@@ -152,11 +152,11 @@ IMAGE_FSTYPES = "wic.bmap wic"
       \begin{block}{}
         \fontsize{7}{7}\selectfont
         \begin{minted}{sh}
-part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk sda --no-table --align ${IMX_BOOT_SEEK}
-part /boot --source bootimg-partition --ondisk sda --fstype=vfat --label boot --active --align 8192 --size 64
-part / --source rootfs --ondisk sda --fstype=ext4 --label root --exclude-path=home/ --exclude-path=opt/ --align 8192
-part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --ondisk sda --fstype=ext4 --label home --align 8192
-part /opt --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/opt --ondisk sda --fstype=ext4 --label opt --align 8192
+part u-boot --source rawcopy --sourceparams="file=imx-boot" --no-table --align ${IMX_BOOT_SEEK}
+part /boot --source bootimg-partition --use-uuid --fstype=vfat --label boot --active --align 8192 --size 64
+part / --source rootfs --use-uuid --fstype=ext4 --label root --exclude-path=home/ --exclude-path=opt/ --align 8192
+part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --use-uuid --fstype=ext4 --label home --align 8192
+part /opt --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/opt --use-uuid --fstype=ext4 --label opt --align 8192
 
 bootloader --ptable msdos
         \end{minted}




More information about the training-materials-updates mailing list