coredump: print build-id only when package version is missing
The build-id is quite verbose, and probably not very useful to a user when they already know the nvra of the package.
This commit is contained in:
@@ -314,7 +314,7 @@ static void report_module_metadata(StackContext *c, const char *name, JsonVarian
|
||||
fprintf(c->f, " from %s", strnull(id));
|
||||
}
|
||||
|
||||
if (build_id)
|
||||
if (build_id && !(package && version))
|
||||
fprintf(c->f, ", build-id=%s", build_id);
|
||||
|
||||
fputs("\n", c->f);
|
||||
|
||||
Reference in New Issue
Block a user