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.