Changeset f546320 for HLFS/master.sh
- Timestamp:
- 06/03/2007 09:06:13 AM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 05760bc
- Parents:
- 350625a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
HLFS/master.sh
r350625a rf546320 332 332 # as a dependency. Also call the echo_message function. 333 333 if [[ ${name} = "butterfly-toolchain" ]]; then 334 CHROOT_wrt_target "${this_script}" "$PREV" 335 process_toolchain "${this_script}" "${file}" 336 wrt_touch 337 PREV=$this_script 338 continue 334 CHROOT_wrt_target "${this_script}" "$PREV" 335 # Touch timestamp file if installed files logs will be created. 336 # But only for the firt build when running iterative builds. 337 if [ "${INSTALL_LOG}" = "y" ] && [ "x${N}" = "x" ] ; then 338 CHROOT_wrt_TouchTimestamp 339 fi 340 process_toolchain "${this_script}" "${file}" 341 if [ "${INSTALL_LOG}" = "y" ] && [ "x${N}" = "x" ] ; then 342 CHROOT_wrt_LogNewFiles "$name" 343 fi 344 wrt_touch 345 PREV=$this_script 346 continue 339 347 fi 340 348 # kernfs is run in SUDO target … … 347 355 # Insert instructions for unpacking the package and changing directories 348 356 if [ "$pkg_tarball" != "" ] ; then 357 # Touch timestamp file if installed files logs will be created. 358 # But only for the firt build when running iterative builds. 359 if [ "${INSTALL_LOG}" = "y" ] && [ "x${N}" = "x" ] ; then 360 CHROOT_wrt_TouchTimestamp 361 fi 349 362 CHROOT_Unpack "$pkg_tarball" 350 363 # If the testsuites must be run, initialize the log file … … 366 379 esac 367 380 # 368 # Remove the build directory(ies) except if the package build fails. 381 # Write installed files log and remove the build directory(ies) 382 # except if the package build fails. 369 383 if [ "$pkg_tarball" != "" ] ; then 370 384 CHROOT_wrt_RemoveBuildDirs "$name" 385 if [ "${INSTALL_LOG}" = "y" ] && [ "x${N}" = "x" ] ; then 386 CHROOT_wrt_LogNewFiles "$name" 387 fi 371 388 fi 372 389 # … … 428 445 case "${this_script}" in 429 446 *bootscripts*) 447 if [ "${INSTALL_LOG}" = "y" ] ; then 448 CHROOT_wrt_TouchTimestamp 449 fi 430 450 CHROOT_Unpack $(get_package_tarball_name "lfs-bootscripts") 431 451 blfs_bootscripts=$(get_package_tarball_name "blfs-bootscripts" | sed -e 's/.tar.*//' ) … … 435 455 name="linux" 436 456 pkg_tarball=$(get_package_tarball_name $name) 457 if [ "${INSTALL_LOG}" = "y" ] ; then 458 CHROOT_wrt_TouchTimestamp 459 fi 437 460 CHROOT_Unpack "$pkg_tarball" 438 461 ;; 439 462 esac 440 463 … … 463 486 EOF 464 487 ) >> $MKFILE.tmp 488 if [ "${INSTALL_LOG}" = "y" ] ; then 489 CHROOT_wrt_LogNewFiles "$name" 490 fi 465 491 ;; 466 *kernel) CHROOT_wrt_RemoveBuildDirs "dummy" ;; 492 *kernel) CHROOT_wrt_RemoveBuildDirs "dummy" 493 if [ "${INSTALL_LOG}" = "y" ] ; then 494 CHROOT_wrt_LogNewFiles "$name" 495 fi ;; 467 496 esac 468 497
Note:
See TracChangeset
for help on using the changeset viewer.