reports.c: add epoch to pkg_header of build-*.sh files

This commit is contained in:
Silvan Calarco 2022-06-08 09:54:13 +02:00
parent e455bbe9b4
commit d744c16571

View File

@ -1954,7 +1954,7 @@ int print_datatables(struct configTag *ct, int arch) {
while (currheadersourcelist != NULL) { while (currheadersourcelist != NULL) {
currchild = currheadersourcelist->firstchild[arch]; currchild = currheadersourcelist->firstchild[arch];
if (currchild) { if (currchild) {
fprintf(fbsh,"[ \"$pkg\" = \"%s\" ] && { pkg_header=(%s %s %s %s \"%s\" \"%s\" %ld %ld %d %s); ", fprintf(fbsh,"[ \"$pkg\" = \"%s\" ] && { pkg_header=(%s %s %s %s \"%s\" \"%s\" %ld %ld %d %s %ld); ",
currheadersourcelist->name, currheadersourcelist->name,
currheadersourcelist->name, currheadersourcelist->name,
currchild->arch, currchild->arch,
@ -1965,7 +1965,8 @@ int print_datatables(struct configTag *ct, int arch) {
currheadersourcelist->size, currheadersourcelist->size,
currheadersourcelist->buildtime, currheadersourcelist->buildtime,
currheadersourcelist->altrepository, currheadersourcelist->altrepository,
ct->repository[currheadersourcelist->altrepository]->tag); ct->repository[currheadersourcelist->altrepository]->tag,
currheadersourcelist->epoch);
fprintf(fb,"%s:", fprintf(fb,"%s:",
currheadersourcelist->name); currheadersourcelist->name);
fprintf(fbsh,"pkg_builds=("); fprintf(fbsh,"pkg_builds=(");