How disable hwdb files in Yocto ?

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

How disable hwdb files in Yocto ?

ソリューションへジャンプ
5,767件の閲覧回数
Raana
Contributor III

Dear Team,

Right now, I'm doing rootfs optimization in Yocto 'sumo' version (L4.14.62).

Now, my extracted rootfs size is "81MB" (including kernel Image 11MB).

While doing rootfs optimization, I have seen many 'hwdb' file. It's taking around 14MB (7.3M    etc/udev/hwdb.bin and 5.9M    lib/udev/hwdb.d/).

My question is,

Is 'hwdb' really needed ?

How to disable it permanently in Yocto ?

Thank You.

Best Regards,

J.P.Raja

1 解決策
5,325件の閲覧回数
shivanipatel
Senior Contributor II

Hi, Raana

HWDB is mainly a database of device classes and vendors which generally prints udev properties to stdout.

You can remove these "hwdb" files in Yocto by adding following line in local.conf file.

  • BAD_RECOMMENDATIONS += "udev-hwdb"

Regards,

Shivani

元の投稿で解決策を見る

4 返答(返信)
5,326件の閲覧回数
shivanipatel
Senior Contributor II

Hi, Raana

HWDB is mainly a database of device classes and vendors which generally prints udev properties to stdout.

You can remove these "hwdb" files in Yocto by adding following line in local.conf file.

  • BAD_RECOMMENDATIONS += "udev-hwdb"

Regards,

Shivani

3,936件の閲覧回数
MichaelBMiner
Contributor IV

Is there any major risk to removing udev-hwdb?

0 件の賞賛
返信
5,325件の閲覧回数
Raana
Contributor III

Hi Shivani,


Thanks a lot for your reply. It's working fine.
Will it cause any performance issue ?

Thank You.

Best Regards,

J.P.Raja

0 件の賞賛
返信
3,984件の閲覧回数
MichaelBMiner
Contributor IV

I too am trying to trim my kernel size. udev-hwdb is the largest package I have installed. I will be removing it and testing the system. 

Did you ever run into any issues doing this?

0 件の賞賛
返信