ffd90f21c7
1. Portage doesn't know anything about files installed in /lib/modules so, when mixing Portage and Entropy and syncing the two repositories it can happen to build wrong kernel dependencies. So, use modinfo to get kernel module version magic and use that as tag. Moreover, make sure that kernel dependency metadata is added only when really available. 2. This patch should also make metadata extraction "live-system" independent. Since package is always extracted (to collect extra metadata required nowadays), use the extract path in every metadata collection function. Also check against fake package files provided (ones with no content inside).