mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 15:29:29 +00:00
mixer integration: add more state files to ingore list
These additional files are files that change on the system due to the local mix. Add these to the ignore list for file colision checks. Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
+6
-1
@@ -1434,7 +1434,12 @@ static int is_version_data(const char *filename)
|
||||
{
|
||||
if (strcmp(filename, "/usr/lib/os-release") == 0 ||
|
||||
strcmp(filename, "/usr/share/clear/version") == 0 ||
|
||||
strcmp(filename, "/usr/share/clear/versionstamp") == 0) {
|
||||
strcmp(filename, "/usr/share/clear/versionstamp") == 0 ||
|
||||
strcmp(filename, "/usr/share/defaults/swupd/versionurl") == 0 ||
|
||||
strcmp(filename, "/usr/share/defaults/swupd/contenturl") == 0 ||
|
||||
strcmp(filename, "/usr/share/defaults/swupd/format") == 0 ||
|
||||
strcmp(filename, "/usr/share/clear/update-ca/Swupd_Root.pem") == 0 ||
|
||||
strcmp(filename, "/usr/share/clear/os-core-update-index") == 0) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user