Changeset 1f1d6a1
- Timestamp:
- 10/14/2005 08:24:22 PM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 50408d5
- Parents:
- 3e67a77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r3e67a77 r1f1d6a1 455 455 456 456 # Dump the path to the Binutils or TCL sources directory. 457 if [ "$i" = "027-binutils-pass1" -o "$i" = "032-tcl" -o "$i" = "036-binutils-pass2" ] ; then457 if [ ${i:4:8} = "binutils" -o ${i:4:3} = "tcl" ] ; then 458 458 ( 459 459 cat << EOF … … 463 463 464 464 # For the Adjusting phase we must to cd to the binutils-build directory. 465 elif [ "$i" = "031-adjusting" ] ; then465 elif [ ${i:4:9} = "adjusting" ] ; then 466 466 ( 467 467 cat << EOF … … 472 472 473 473 # For the Expect build we need to set the TCLPATH envar. 474 elif [ "$i" = "033-expect" ] ; then474 elif [ ${i:4:6} = "expect" ] ; then 475 475 ( 476 476 cat << EOF … … 503 503 # For Binutils and TCL the sources must be retained some time. 504 504 if [ "$vrs" != "" ] ; then 505 if [ "$i" != "027-binutils-pass1" ] && [ "$i" != "032-tcl" ] && [ "$i" != "036-binutils-pass2" ] ; then505 if [ ${i:4:8} != "binutils" ] && [ ${i:4:3} != "tcl" ] ; then 506 506 ( 507 507 cat << EOF … … 517 517 518 518 # Remove the Binutils pass 1 sources after a successful Adjusting phase. 519 if [ "$i" = "031-adjusting" ] ; then519 if [ ${i:4:9} = "adjusting" ] ; then 520 520 ( 521 521 cat << EOF … … 528 528 529 529 # Remove the TCL sources after a successful Expect build. 530 if [ "$i" = "033-expect" ] ; then530 if [ ${i:4:6} = "expect" ] ; then 531 531 ( 532 532 cat << EOF … … 565 565 # Grab the name of the target 566 566 name=`echo $i | sed -e 's@[0-9]\{3\}-@@'` 567 568 # Set the dependency for the first target.569 if [ -z $PREV ] ; then PREV=055-stripping ; fi570 567 571 568 # Drop in the name of the target on a new line, and the previous target … … 598 595 599 596 # For the Re-Adjusting phase we must to cd to the binutils-build directory. 600 if [ "$i" = "067-readjusting" ] ; then597 if [ ${i:4:11} = "readjusting" ] ; then 601 598 ( 602 599 cat << EOF … … 608 605 609 606 # For Glibc we need to set TIMEZONE envar. 610 if [ "$i" = "066-glibc" ] ; then607 if [ ${i:4:5} = "glibc" ] ; then 611 608 ( 612 609 cat << EOF … … 618 615 619 616 # For Groff we need to set PAGE envar. 620 if [ "$i" = "082-groff" ] ; then617 if [ ${i:4:5} = "groff" ] ; then 621 618 ( 622 619 cat << EOF … … 629 626 # In the mount of kernel filesystems we need to set LFS 630 627 # and not to use chroot. 631 if [ "$i" = "057-kernfs" ] ; then628 if [ ${i:4:6} = "kernfs" ] ; then 632 629 ( 633 630 cat << EOF … … 664 661 665 662 # Remove the Binutils pass 2 sources after a successful Re-Adjusting phase. 666 if [ "$i" = "067-readjusting" ] ; then663 if [ ${i:4:11} = "readjusting" ] ; then 667 664 ( 668 665 cat << EOF … … 711 708 chapter789="$chapter789 $i" 712 709 713 # Set the dependency for the first target.714 if [ -z $PREV ] ; then PREV=116-strippingagain ; fi715 716 710 # Drop in the name of the target on a new line, and the previous target 717 711 # as a dependency. Also call the echo_message function. … … 725 719 726 720 # Find the the bootscripts and kernel package names 727 if [ "$i" = "119-bootscripts" -o "$i" = "132-kernel" ] ; then728 if [ "$i" = "119-bootscripts" ] ; then721 if [ ${i:4:11} = "bootscripts" -o ${i:4:6} = "kernel" ] ; then 722 if [ ${i:4:11} = "bootscripts" ] ; then 729 723 vrs=`grep "^lfs-bootscripts-version" $JHALFSDIR/packages | sed -e 's/.* //' -e 's/"//g'` 730 724 FILE="lfs-bootscripts-$vrs.tar.bz2" 731 elif [ "$i" = "132-kernel" ] ; then725 elif [ ${i:4:6} = "kernel" ] ; then 732 726 vrs=`grep "^linux-version" $JHALFSDIR/packages | sed -e 's/.* //' -e 's/"//g'` 733 727 FILE="linux-$vrs.tar.bz2" … … 744 738 745 739 # Put in place the kernel .config file 746 if [ "$i" = "132-kernel" ] ; then740 if [ ${i:4:6} = "kernel" ] ; then 747 741 ( 748 742 cat << EOF … … 762 756 763 757 # Remove the build directory except if the package build fails. 764 if [ "$i" = "119-bootscripts" -o "$i" = "132-kernel" ] ; then758 if [ ${i:4:11} = "bootscripts" -o ${i:4:6} = "kernel" ] ; then 765 759 ( 766 760 cat << EOF
Note:
See TracChangeset
for help on using the changeset viewer.