mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-23 01:12:32 -04:00
builder: Checksum cleanup-platform for platform
This commit is contained in:
@@ -1357,6 +1357,8 @@ builder_manifest_checksum_for_platform (BuilderManifest *self,
|
||||
BuilderCache *cache,
|
||||
BuilderContext *context)
|
||||
{
|
||||
GList *l;
|
||||
|
||||
builder_cache_checksum_str (cache, BUILDER_MANIFEST_CHECKSUM_PLATFORM_VERSION);
|
||||
builder_cache_checksum_str (cache, self->id_platform);
|
||||
builder_cache_checksum_str (cache, self->runtime_commit);
|
||||
@@ -1378,6 +1380,12 @@ builder_manifest_checksum_for_platform (BuilderManifest *self,
|
||||
else
|
||||
g_warning ("Can't load metadata-platform file %s: %s", self->metadata_platform, my_error->message);
|
||||
}
|
||||
|
||||
for (l = self->expanded_modules; l != NULL; l = l->next)
|
||||
{
|
||||
BuilderModule *m = l->data;
|
||||
builder_module_checksum_for_platform (m, cache, context);
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
||||
@@ -1411,6 +1411,14 @@ builder_module_checksum_for_cleanup (BuilderModule *self,
|
||||
builder_cache_checksum_strv (cache, self->cleanup);
|
||||
}
|
||||
|
||||
void
|
||||
builder_module_checksum_for_platform (BuilderModule *self,
|
||||
BuilderCache *cache,
|
||||
BuilderContext *context)
|
||||
{
|
||||
builder_cache_checksum_strv (cache, self->cleanup_platform);
|
||||
}
|
||||
|
||||
void
|
||||
builder_module_set_json_path (BuilderModule *self,
|
||||
const char *json_path)
|
||||
|
||||
@@ -73,6 +73,9 @@ void builder_module_checksum (BuilderModule *self,
|
||||
void builder_module_checksum_for_cleanup (BuilderModule *self,
|
||||
BuilderCache *cache,
|
||||
BuilderContext *context);
|
||||
void builder_module_checksum_for_platform (BuilderModule *self,
|
||||
BuilderCache *cache,
|
||||
BuilderContext *context);
|
||||
void builder_module_cleanup_collect (BuilderModule *self,
|
||||
gboolean platform,
|
||||
BuilderContext *context,
|
||||
|
||||
Reference in New Issue
Block a user