- Timestamp:
- 06/20/2020 05:16:22 PM (4 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 49f8b03
- Parents:
- 706e5bf
- Location:
- common/libs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_book_parser
r706e5bf r13e52a5 157 157 lfs) 158 158 echo -n " ${L_arrow}${BOLD}LFS${R_arrow} build... " 159 # The scripts pages are xincluded by the book, so must 160 # be generated for running xsltproc 159 161 pushd $BOOK > /dev/null 160 162 if [ -f process-scripts.sh ]; then … … 163 165 popd > /dev/null 164 166 167 # First profile the book, for revision and arch. Note that 168 # MULTIBLIB is set to "default" if pure 64 bit book. In this 169 # profiling on arch is useless, but does not hurt either. 165 170 xsltproc --nonet \ 166 171 --xinclude \ 167 --stringparam revision "$INITSYS" \ 172 --stringparam profile.revision "$INITSYS" \ 173 --stringparam profile.arch "$MULTILIB" \ 174 --output prbook.xml \ 175 $BOOK/stylesheets/lfs-xsl/profile.xsl \ 176 $BOOK/index.xml >> $LOGDIR/$LOG 2>&1 177 178 # Use the profiled book for generating the scriptlets 179 xsltproc --nonet \ 168 180 --stringparam testsuite "$TEST" \ 169 181 --stringparam bomb-testsuite "$BOMB_TEST" \ … … 195 207 --output ./${PROGNAME}-commands/ \ 196 208 $XSL \ 197 $BOOK/index.xml >> $LOGDIR/$LOG 2>&1209 prbook.xml >> $LOGDIR/$LOG 2>&1 198 210 # Remove flags requesting user action in some cases. Much easier here than 199 211 # in the stylesheet... -
common/libs/func_wrt_Makefile
r706e5bf r13e52a5 421 421 LUSER_wrt_LogNewFiles() { # 422 422 #----------------------------------# 423 ( 424 cat << EOF 425 @\$(call log_new_files_LUSER,$1) 426 EOF 427 ) >> $MKFILE.tmp 428 } 429 430 #----------------------------------# 431 CHROOT_wrt_LogNewFiles() { # 432 #----------------------------------# 433 ( 434 cat << EOF 435 @\$(call log_new_files,$1) 436 EOF 437 ) >> $MKFILE.tmp 438 } 439 440 #======================= 441 442 443 #==== RM BUILD DIRS ==== 444 445 #----------------------------------# 446 LUSER_RemoveBuildDirs() { # 447 #----------------------------------# 423 448 local name=`echo ${1} | sed 's/[0-9]-//'` 424 449 ( 425 450 cat << EOF 426 @\$(call log_new_files_LUSER,$name)427 EOF 428 ) >> $MKFILE.tmp 429 } 430 431 #----------------------------------# 432 CHROOT_wrt_ LogNewFiles() {#451 @\$(call remove_build_dirs,$name) 452 EOF 453 ) >> $MKFILE.tmp 454 } 455 456 #----------------------------------# 457 CHROOT_wrt_RemoveBuildDirs() { # 433 458 #----------------------------------# 434 459 local name=`echo ${1} | sed 's/[0-9]-//'` 435 460 ( 436 461 cat << EOF 437 @\$(call log_new_files,$name)438 EOF439 ) >> $MKFILE.tmp440 }441 442 #=======================443 444 445 #==== RM BUILD DIRS ====446 447 #----------------------------------#448 LUSER_RemoveBuildDirs() { #449 #----------------------------------#450 local name=`echo ${1} | sed 's/[0-9]-//'`451 (452 cat << EOF453 @\$(call remove_build_dirs,$name)454 EOF455 ) >> $MKFILE.tmp456 }457 458 #----------------------------------#459 CHROOT_wrt_RemoveBuildDirs() { #460 #----------------------------------#461 local name=`echo ${1} | sed 's/[0-9]-//'`462 (463 cat << EOF464 462 @\$(call remove_build_dirs2,$name) 465 463 EOF
Note:
See TracChangeset
for help on using the changeset viewer.