At the end of a build process the metadata information files .packages and .verified are created. On rpm based systems, rpm is invoked as chrooted operation inside the new root tree. For images that gets installed exclusively from the bootstrap phase there is no rpm inside of the image and the call fails. The result are empty metadata files. This patch prevents calling rpm inside of the image root tree if it's not installed and also uses the RpmDataBase interface instead of directly calling rpm. This Fixes #1037 |
||
|---|---|---|
| .. | ||
| data | ||
| unit | ||