From 177629094cdd0cd7ad87eaecfad15c85f7172fd9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 22 Nov 2014 22:57:12 +0100 Subject: [PATCH] webbuild: other layout changes --- webbuild/webbuild-cgi | 41 +++++++++++++++++++++++------ webbuild/webbuild-functions-private | 25 +----------------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index 2cb2064..7f61e9a 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -652,6 +652,10 @@ echo -n "" +# rpm manager +echo -n "" # expert mode checkbox [ "$STATE_ADVANCEDCONTROLS" ] && CHECKED="checked=checked" || CHECKED= echo -n " Autodist:" + if [ "$PACKAGE" ]; then + echo -n "Package: $PACKAGE
Version: " + [ "${SPECVAR_Epoch[0]}" ] && echo -n "${SPECVAR_Epoch[0]}:" + echo -n "${SPECVAR_Version[0]}-${SPECVAR_Release[0]}
" + fi showEnvironmentPanel - [ "$PACKAGE" ] && { - echo -n "
" - echo -n "Package: $PACKAGE
Version: " - [ "${SPECVAR_Epoch[0]}" ] && echo -n "${SPECVAR_Epoch[0]}:" || echo -n "0:" - echo -n "${SPECVAR_Version[0]}-${SPECVAR_Release[0]}
" - } - echo -n "
Arch:" for f in i586 arm x86_64 ppc; do SELECTED= if [ "$f" = "$RPMBUILDARCH" ]; then @@ -1285,7 +1290,7 @@ if [ "$MAINTAINERMODE" != "true" ]; then echo -n "" done echo -n "
" - [ "${AUTOPORT_UPDATE[$ENVIRONMENT]}" -o "$STATE_ADVANCEDCONTROLS" ] && echo -n "
Autodist batch builds:
" + [ "${AUTOPORT_UPDATE[$ENVIRONMENT]}" -o "$STATE_ADVANCEDCONTROLS" ] && echo -n "
Autodist batch builds:
" if [ "$PACKAGE" ]; then if [ "${AUTOPORT_UPDATE[$ENVIRONMENT]}" ]; then echo -n "Patch for $PACKAGE:
" @@ -1581,7 +1586,27 @@ if [ "$MAINTAINERMODE" != "true" ]; then done echo -n "
" echo -n "
" + fi + echo -n "
Host maintainance:
" + ## run ldconfig + #echo -n "" + + # environment search + echo -n "
Provides:
" + + # system upgrade + echo -n "" + echo -n "]]>" fi diff --git a/webbuild/webbuild-functions-private b/webbuild/webbuild-functions-private index 6e51d7c..c371147 100644 --- a/webbuild/webbuild-functions-private +++ b/webbuild/webbuild-functions-private @@ -84,7 +84,7 @@ function showlog() { function showEnvironmentPanel() { - echo -n "Build host: `hostname`
" + echo -n "Host: `hostname`
" echo -n "Environment: " if [ "${AUTOPORT_CHROOT_USER[$ENVIRONMENT]}" ]; then echo -n "${AUTOPORT_CHROOT_USER[$ENVIRONMENT]} - " @@ -121,29 +121,6 @@ function showEnvironmentPanel() { fi echo "Toolchain: $toolchain_text" - # system upgrade - echo -n "
" - - ## run ldconfig - #echo -n "" - - # rpm manager - echo -n "" - - # environment search - echo -n "
Provides:
" - } function print_showlogcontrols() {