Hi Jan, I forgot to reply one comment. > > +# for cip-core-sec/debsecan > > +ROOTFS_POSTPROCESS_COMMAND += "export_dpkg_status" > > +export_dpkg_status() { > > + sudo -E chroot --userspec=$(id -u):$(id -g) '${ROOTFSDIR}' \ > > + cat /var/lib/dpkg/status > \ > > + ${ROOTFS_MANIFEST_DEPLOY_DIR}/"${PF}".dpkg_status > > This is just a copy-out, I don't see the chroot need here. This was based on the generate_manifest function. For some reason, copying without chroot didn't work for me. I will give it another try. Thanks, Daniel