On 6 February 2017 at 16:56, Burton, Ross <ross.burton@intel.com> wrote:
On 6 February 2017 at 14:43, Sona Sarmadi <sona.sarmadi@enea.com> wrote:
bbdebug 2 "Updating cve-check-tool database located in $cve_dir"
if cve-check-update -d "$cve_dir" ; then
printf "CVE database was updated on %s UTC\n\n" "$(LANG=C date --utc +'%F %T')" > "$cve_file"
else
bbwarn "Error in executing cve-check-update" <<<<<<<<<<<<<<<<<<<<<<<<<
This definitely needs to be rewritten so you can see the output if it fails. Just run cve-check-update -d <dir> yourself and see what it says. Last time I had this failing it was because the mitre servers were offline.
Agreed about the error output.
I think recipe specific sysroots broke the setup somehow (so the tools are not actually in sysroot when they're needed). I'm taking a look at this tomorrow.