summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/meta/cve-update-nvd2-native.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb b/meta/recipes-core/meta/cve-update-nvd2-native.bb
index 5fbe9095cc..c05c47d42e 100644
--- a/meta/recipes-core/meta/cve-update-nvd2-native.bb
+++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb
@@ -85,6 +85,8 @@ python do_fetch() {
85 if update_db_file(db_tmp_file, d, database_time) == True: 85 if update_db_file(db_tmp_file, d, database_time) == True:
86 # Update downloaded correctly, can swap files 86 # Update downloaded correctly, can swap files
87 shutil.move(db_tmp_file, db_file) 87 shutil.move(db_tmp_file, db_file)
88 # Need to 'touch' the file to ensure NFS sees the data
89 os.utime(db_file)
88 else: 90 else:
89 # Update failed, do not modify the database 91 # Update failed, do not modify the database
90 bb.warn("CVE database update failed") 92 bb.warn("CVE database update failed")