Ignore:
Timestamp:
04/11/2019 07:40:50 AM (5 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
0e4ddfa
Parents:
adbd09b
Message:

Use sect1info for getting informations on LFS packages:

  • add sect1info sections to packagemanager.xml.xxx + various fixes
  • add templates in LFS/lfs.xsl for script start and script end:
    • script start: define variables containing package information

print disk usage
unpack and change dir

  • script end: print disk usage

remove build dir

  • remove the corresponding operations from master.sh
File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_wrt_Makefile

    radbd09b r2758d94  
    181181${NO_PROGRESS}  @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
    182182        @echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@$version
    183         @\$(PRT_DU) >>logs/\$@$version
     183        @ : > envars
    184184EOF
    185185) >> $MKFILE.tmp
     
    202202${NO_PROGRESS}  @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
    203203        @echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@$version
    204         @\$(PRT_DU_CR) >>logs/\$@$version
     204        @ : > envars
    205205EOF
    206206) >> $MKFILE.tmp
     
    228228(
    229229cat << EOF
     230        @\$(PRT_DU) >>logs/\$@$version
    230231        @\$(call unpack,$FILE)
    231232        @\$(call get_pkg_root_LUSER)
     
    247248) >> $MKFILE.tmp
    248249  fi
    249 (
    250 cat  << EOF
     250
     251(
     252cat << EOF
     253        @\$(PRT_DU_CR) >>logs/\$@$version
    251254        @\$(call unpack2,$FILE)
    252255        @\$(call get_pkg_root2)
     
    337340cat << EOF
    338341        @source ~/.bashrc && \\
    339         \$(CMDSDIR)/`dirname $file`/\$@ >> logs/\$@$version 2>&1 && \\
    340         \$(PRT_DU) >>logs/\$@$version
     342        \$(CMDSDIR)/`dirname $file`/\$@ >> \$(LOGDIR)/\$@$version 2>&1 && \\
     343        if [ "${PROGNAME}" != lfs ]; then \$(PRT_DU) >>logs/\$@$version; fi
    341344EOF
    342345) >> $MKFILE.tmp
     
    354357cat << EOF
    355358        @source envars && \\
    356         \$(crCMDSDIR)/`dirname $file`/\$@ >>logs/\$@$version 2>&1 && \\
    357         \$(PRT_DU_CR) >>logs/\$@$version
     359        \$(crCMDSDIR)/`dirname $file`/\$@ >>\$(crLOGDIR)/\$@$version 2>&1 && \\
     360        if [ "${PROGNAME}" != lfs ]; then \$(PRT_DU_CR) >>logs/\$@$version; fi
    358361EOF
    359362) >> $MKFILE.tmp
Note: See TracChangeset for help on using the changeset viewer.