Changeset 6a7c218


Ignore:
Timestamp:
06/29/2017 05:01:00 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4
Children:
f7d1386
Parents:
e218205
Message:

merge trunk r3972-3973

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen_pkg_book.sh

    re218205 r6a7c218  
    179179rm -rf scripts
    180180xsltproc --xinclude --nonet \
    181          --stringparam sudo $SUDO \
     181         --stringparam sudo "$SUDO" \
    182182         -o ./scripts/ ${MakeScripts} \
    183183         ${BookXml}
  • CLFS/master.sh

    re218205 r6a7c218  
    11221122        @\$(call echo_message, Building)
    11231123        @if [ "\$(ADD_REPORT)" = "y" ]; then \\
    1124           ./create-sbu_du-report.sh logs $VERSION; \\
     1124          ./create-sbu_du-report.sh logs $VERSION $(date --iso-8601); \\
    11251125          \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\
    11261126        fi;
  • CLFS2/master.sh

    re218205 r6a7c218  
    503503        @\$(call echo_message, Building)
    504504        @if [ "\$(ADD_REPORT)" = "y" ]; then \\
    505           ./create-sbu_du-report.sh logs $VERSION; \\
     505          ./create-sbu_du-report.sh logs $VERSION $(date --iso-8601); \\
    506506          \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\
    507507        fi;
  • CLFS3/master.sh

    re218205 r6a7c218  
    552552        @\$(call echo_message, Building)
    553553        @if [ "\$(ADD_REPORT)" = "y" ]; then \\
    554           ./create-sbu_du-report.sh logs $VERSION; \\
     554          ./create-sbu_du-report.sh logs $VERSION $(date --iso-8601); \\
    555555          \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\
    556556        fi;
  • HLFS/master.sh

    re218205 r6a7c218  
    617617        @\$(call echo_message, Building)
    618618        @if [ "\$(ADD_REPORT)" = "y" ]; then \\
    619           ./create-sbu_du-report.sh logs $VERSION; \\
     619          ./create-sbu_du-report.sh logs $VERSION $(date --iso-8601); \\
    620620          \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\
    621621        fi;
  • LFS/master.sh

    re218205 r6a7c218  
    575575        @\$(call echo_message, Building)
    576576        @if [ "\$(ADD_REPORT)" = "y" ]; then \\
    577           sudo ./create-sbu_du-report.sh logs $VERSION; \\
     577          sudo ./create-sbu_du-report.sh logs $VERSION $(date --iso-8601); \\
    578578          \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\
    579579        fi;
  • common/create-sbu_du-report.sh

    re218205 r6a7c218  
    66LOGSDIR=$1
    77VERSION=$2
     8DATE=$3
    89
    910LINE="================================================================================"
     
    1112# Make sure that we have a directory as first argument
    1213[[ ! -d "$LOGSDIR" ]] && \
    13   echo -e "\nUSAGE: create-sbu_du-report.sh logs_directory [book_version]\n" && exit
     14  echo -e "\nUSAGE: create-sbu_du-report.sh logs_directory [book_version] [date]\n" && exit
    1415
    1516# Make sure that the first argument is a jhalfs logs directory
     
    1920# If this script is run manually, the book version may be unknown
    2021[[ -z "$VERSION" ]] && VERSION=unknown
     22[[ -z "$DATE" ]] && DATE=$(date --iso-8601)
    2123
    2224# If there is iteration logs directories, copy the logs inside iteration-1
     
    2628
    2729# Set the report file
    28 REPORT="$VERSION"-SBU_DU-$(date --iso-8601).report
     30REPORT="$VERSION"-SBU_DU-"$DATE".report
    2931
    3032[ -f $REPORT ] && : >$REPORT
  • common/libs/func_book_parser

    re218205 r6a7c218  
    143143        xsltproc --nonet                                                \
    144144                 --xinclude                                             \
    145                  --stringparam model $MODEL                             \
    146                  --stringparam kernel $KERNEL                           \
    147                  --stringparam testsuite $TEST                          \
    148                  --stringparam bomb-testsuite $BOMB_TEST                \
     145                 --stringparam model "$MODEL"                           \
     146                 --stringparam kernel "$KERNEL"                         \
     147                 --stringparam testsuite "$TEST"                        \
     148                 --stringparam bomb-testsuite "$BOMB_TEST"              \
    149149                 --stringparam features                                 \
    150150                     x$SSP$ASLR$PAX$HARDENED_TMP$WARNINGS$MISC$BLOWFISH \
    151                  --stringparam timezone $TIMEZONE                       \
    152                  --stringparam page $PAGE                               \
    153                  --stringparam lang $LANG                               \
    154                  --stringparam grsecurity_host $GRSECURITY_HOST         \
     151                 --stringparam timezone "$TIMEZONE"                     \
     152                 --stringparam page "$PAGE"                             \
     153                 --stringparam lang "$LANG"                             \
     154                 --stringparam grsecurity_host "$GRSECURITY_HOST"       \
    155155                 --output ./${PROGNAME}-commands/                       \
    156156                 $XSL                                                   \
Note: See TracChangeset for help on using the changeset viewer.