How to change Rootfs name in yocto setup?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to change Rootfs name in yocto setup?

ソリューションへジャンプ
1,470件の閲覧回数
bandarulavanya
Contributor V

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.

タグ(4)
1 解決策
1,084件の閲覧回数
bandarulavanya
Contributor V

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

元の投稿で解決策を見る

1 返信
1,085件の閲覧回数
bandarulavanya
Contributor V

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