[poky] [PATCH 6/6] meta-yocto-bsp: beaglebone: Use the uuid for the block device naming in wic image

Kevin Hao kexin.hao at windriver.com
Sun Aug 19 22:58:59 PDT 2018


On Thu, Aug 16, 2018 at 10:11:08AM -0400, Tom Rini wrote:
> 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.

The '--use-uuid' does take effect even there is a '--ondisk' parameter.
Yes, it seems a bit confusion. I will make a patch to drop the '--ondisk'
parameter.

Thanks,
Kevin

> 
> -- 
> Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180820/b85748cc/attachment.pgp>


More information about the poky mailing list