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
Solved! Go to Solution.
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.
Regards,
Shivani
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.
Regards,
Shivani
Is there any major risk to removing udev-hwdb?
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
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?