[poky] [PATCH 6/6] meta-yocto-bsp: beaglebone: Use the uuid for the block device naming in wic image
Tom Rini
trini at konsulko.com
Thu Aug 16 07:11:08 PDT 2018
On Tue, Aug 14, 2018 at 09:31:26AM +0800, Kevin Hao wrote:
> Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
> ---
> meta-yocto-bsp/wic/beaglebone-yocto.wks | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-yocto-bsp/wic/beaglebone-yocto.wks b/meta-yocto-bsp/wic/beaglebone-yocto.wks
> index 0b5d793b73ec..b75f238df937 100644
> --- a/meta-yocto-bsp/wic/beaglebone-yocto.wks
> +++ b/meta-yocto-bsp/wic/beaglebone-yocto.wks
> @@ -2,5 +2,5 @@
> # long-description: Creates a partitioned SD card image for Beaglebone.
> # Boot files are located in the first vfat partition.
>
> -part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 --sourceparams="loader=u-boot"
> -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4
> +part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 --sourceparams="loader=u-boot" --use-uuid
> +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 --use-uuid
You should drop the --ondisk part here entirely so that UUID is used.
--
Tom
More information about the poky
mailing list