Hi All,
I am trying to give our own defined names for sdcard boot partition and rootfs partitions which i created using yocto setup.
For Boot partition i can able to change in " /sources/meta-fsl-arm/classes$ vi image_types_fsl.bbclass" this file we need to change.
#BOOTDD_VOLUME_ID ?= "Boot ${MACHINE}"
BOOTDD_VOLUME_ID ?= "BOOT"
But for rootfs currently it is giving random digits like this " 52b25f42-b1b3-4091-a226-0952f04656c1" this one i need to change as "ROOTFS" how can i do it, can you please any one help me to sort it out.
Thanks & Regards,
Lavanya.
Solved! Go to Solution.
Hi all,
I found it
in /poky/meta/classes/image_types.bbclass we need to add like this
EXTRA_IMAGECMD_ext2 ?= "-i 4096 -L rootfs"
EXTRA_IMAGECMD_ext3 ?= "-i 4096 -L rootfs"
EXTRA_IMAGECMD_ext4 ?= "-i 4096 -L rootfs"
"-L rootfs" which will give name as rootfs instead of random digits.
Thanks & Regards,
Lavanya
Hi all,
I found it
in /poky/meta/classes/image_types.bbclass we need to add like this
EXTRA_IMAGECMD_ext2 ?= "-i 4096 -L rootfs"
EXTRA_IMAGECMD_ext3 ?= "-i 4096 -L rootfs"
EXTRA_IMAGECMD_ext4 ?= "-i 4096 -L rootfs"
"-L rootfs" which will give name as rootfs instead of random digits.
Thanks & Regards,
Lavanya