I have generated an image and have enabled build history. One interesting file I get from this is the installed-package-sizes.txt. It lists all packages installed along with their size in KiB. By far the largest is udev-hwdb.
This can easily be removed by adding
BAD_RECOMMENDATIONS += "udev-hwdb"
to a bb file.
What are the risks to removing this package? This question was asked in a previous question after an answer to the initial question was found.
HWDB is a database of devices for udev diagnostic output.
So I suppose everything should be running fine after udev-hwdb removing except the diagnostic may become unclearю
Would I still be able to insert a USB device and have it enumerate? If I understand correctly the answer is yes, but if there was an error I could not easily find out why.
Is there a way to trim the udev-hwdb so it does not take so much space in my image?