X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-sysinfo.c;h=c01b35275ea6572bb0ad481673321f8712f124db;hp=5ced871127b33a2ea01391a07a04e892a5af9e75;hb=d974c3c39237c8e94bb3a51d3511d18dea01043e;hpb=cecbe53013e9ed85fd5b2429c230759d59025644 diff --git a/ui/ncurses/nc-sysinfo.c b/ui/ncurses/nc-sysinfo.c index 5ced871..c01b352 100644 --- a/ui/ncurses/nc-sysinfo.c +++ b/ui/ncurses/nc-sysinfo.c @@ -65,6 +65,22 @@ static void sysinfo_screen_populate(struct sysinfo_screen *screen, line("%-12s %s", _("System type:"), sysinfo->type ?: ""); line("%-12s %s", _("System id:"), sysinfo->identifier ?: ""); + if (sysinfo->n_current) { + line(NULL); + line("%s", _("Current platform versions:")); + for (i = 0; i < sysinfo->n_current; i++) { + line("\t%s", sysinfo->platform_current[i] ?: ""); + } + } + + if (sysinfo->n_other) { + line(NULL); + line("%s", _("Alternate platform versions:")); + for (i = 0; i < sysinfo->n_other; i++) { + line("\t%s", sysinfo->platform_other[i] ?: ""); + } + } + if (sysinfo->n_blockdevs) { line(NULL); line(_("Storage devices"));