reports.c: add needport_list() in builds-[arch].sh files
This commit is contained in:
parent
513c96ecb2
commit
67b53d8af7
@ -1240,7 +1240,7 @@ main(int argc, char *argv[])
|
||||
for (i = 0; i < ARCHS_MAX && configtag->arch[i]; i++) {
|
||||
|
||||
if (!quietmode)
|
||||
fprintf(stdout, "Scanning binary packages for %s arch ...\n",configtag->arch[i]);
|
||||
fprintf(stdout, "Scanning binary packages for %s arch...\n",configtag->arch[i]);
|
||||
else
|
||||
logmsg(LOG_MARK, "%s binary packages check for %s:", configtag->arch[i],configtag->tag);
|
||||
|
||||
|
@ -2024,6 +2024,18 @@ print_datatables(struct configTag *ct, int arch) {
|
||||
}
|
||||
fprintf(fbsh,");\n");
|
||||
|
||||
fprintf(fbsh,"needport_list=(");
|
||||
currheadersourcelist = ct->headersourcelist;
|
||||
while (currheadersourcelist != NULL) {
|
||||
if (!currheadersourcelist->firstchild[arch] &&
|
||||
currheadersourcelist->old &&
|
||||
currheadersourcelist->old->firstchild[arch]) {
|
||||
fprintf(fbsh,"%s ",currheadersourcelist->name);
|
||||
}
|
||||
currheadersourcelist = currheadersourcelist->next;
|
||||
}
|
||||
fprintf(fbsh,");\n");
|
||||
|
||||
currheadersourcelist = ct->headersourcelist;
|
||||
logmsg(LOG_DEBUG,"writing builds and sources files (2)");
|
||||
while (currheadersourcelist != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user