diff options
author | hwspeedy <ns@bigbear.dk> | 2024-02-28 07:30:34 +0100 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-02-28 07:30:34 +0100 |
commit | d7b80385dea105d99b0e3666bce87c68b5511b54 (patch) | |
tree | 6f0533a6ccaca507853dc5cd302f0e034985efac /modules | |
parent | 968f3caf1b2b5a77229943ff76eb7f18778e277d (diff) |
ADD Sync blobversion check - only update if new on server
Diffstat (limited to 'modules')
-rw-r--r-- | modules/benchmark.c | 2 | ||||
-rw-r--r-- | modules/computer/modules.c | 1 | ||||
-rw-r--r-- | modules/devices.c | 6 |
3 files changed, 9 insertions, 0 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c index 018e30fe..69c6eebb 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -923,10 +923,12 @@ void hi_module_init(void) .name = N_("Send benchmark results"), .file_name = "benchmark.json", .generate_contents_for_upload = get_benchmark_results, + .optional = FALSE, }, { .name = N_("Receive benchmark results"), .file_name = "benchmark.json", + .optional = FALSE, }, }; diff --git a/modules/computer/modules.c b/modules/computer/modules.c index ae47947c..4c0c54ea 100644 --- a/modules/computer/modules.c +++ b/modules/computer/modules.c @@ -167,6 +167,7 @@ void kernel_module_icon_init(void) static SyncEntry sync_entry = { .name = N_("Update kernel module icon table"), .file_name = "kernel-module-icons.json", + .optional = TRUE, }; sync_manager_add_entry(&sync_entry); diff --git a/modules/devices.c b/modules/devices.c index dd51b482..7e9eef6d 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -840,28 +840,34 @@ void hi_module_init(void) { .name = N_("Update PCI ID listing"), .file_name = "pci.ids", + .optional = TRUE, }, { .name = N_("Update USB ID listing"), .file_name = "usb.ids", + .optional = TRUE, }, { .name = N_("Update EDID vendor codes"), .file_name = "edid.ids", + .optional = TRUE, }, { .name = N_("Update IEEE OUI vendor codes"), .file_name = "ieee_oui.ids", + .optional = TRUE, }, { .name = N_("Update SD card manufacturer information"), .file_name = "sdcard.ids", + .optional = TRUE, }, #ifdef ARCH_x86 #if JSON_CHECK_VERSION(0,20,0) { .name = N_("Update CPU flags database"), .file_name = "cpuflags.json", + .optional = TRUE, }, #endif #endif |