<div>Hi All,</div><div> </div><div>I need to query, via rpm command, the packages installed building an own image recipe.</div><div>I know the populate_rootfs step for images uses rpm to install the packages (if we set PACKAGE_CLASSES).</div>
<div>To do this it sets a dbpath and a root path for installing the packages.</div><div>I need to know how to query them (rpm -qa ....) given that dbpath is set to /var/lib/rpm but I think it actually doesn&#39;t override</div>
<div>the real /var/lib/rpm database (also I&#39;m not building as superuser).</div><div> </div><div>Please can you help me?</div><div>Best Regards,</div><div>Giuseppe</div>