"ia64", "ia64:i686:i586:i486:i386",
"ppc64", "ppc64:ppc",
"ppc", "ppc",
- "armv7nhl", "armv7nhl:armv7hl",
- "armv7hl", "armv7hl",
+ "ppc64p7", "ppc64p7:ppc64:ppc",
+ "ppc64le", "ppc64le",
+ "aarch64", "aarch64",
+ "armv6hl", "armv6hl",
+ "armv7hnl", "armv7hnl:armv7hl:armv6hl",
+ "armv7hl", "armv7hl:armv6hl",
"armv7l", "armv7l:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l",
"armv6l", "armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l",
"armv5tejl", "armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l",
"armv5tel", "armv5tel:armv5l:armv4tl:armv4l:armv3l",
+ "armv5tl", "armv5l:armv4tl:armv4l:armv3l",
"armv5l", "armv5l:armv4tl:armv4l:armv3l",
"armv4tl", "armv4tl:armv4l:armv3l",
"armv4l", "armv4l:armv3l",
"sparcv9", "sparcv9:sparcv8:sparc",
"sparcv8", "sparcv8:sparc",
"sparc", "sparc",
+ "mipsel", "mipsel",
+ "m68k", "m68k",
0
};
pool->lastarch = 0;
return;
}
-#ifndef DEBIAN_SEMANTICS
- id = ARCH_NOARCH;
-#else
- id = ARCH_ALL;
-#endif
+ id = pool->noarchid;
lastarch = id + 255;
id2arch = solv_calloc(lastarch + 1, sizeof(Id));
id2arch[id] = 1; /* the "noarch" class */
if (!pool->id2color)
pool->id2color = solv_calloc(pool->lastarch + 1, 1);
s = pool_id2str(pool, arch);
- if (arch == ARCH_NOARCH || arch == ARCH_ALL)
+ if (arch == ARCH_NOARCH || arch == ARCH_ALL || arch == ARCH_ANY)
color = ARCHCOLOR_ALL;
else if (!strcmp(s, "s390x") || strstr(s, "64"))
color = ARCHCOLOR_64;
else
color = ARCHCOLOR_32;
+ pool->id2color[arch] = color;
return color;
}