Changeset 50408d5
- Timestamp:
- 10/14/2005 09:57: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:
- 7990087
- Parents:
- 1f1d6a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r1f1d6a1 r50408d5 38 38 disables also the build of TCL, Expect 39 39 and DejaGNU 40 41 --timezone TIMEZONE set TIMEZONE as the local timezone. If not 40 41 --timezone TIMEZONE set TIMEZONE as the local timezone. If not 42 42 specified, Europe/London will be used. 43 43 … … 47 47 will be used. 48 48 49 --fstab FILE use FILE as the /etc/fstab file for the 50 LFS system. If not specified, a default 51 /etc/fstab file with dummy values is 52 created. 53 49 54 -C, --kernel-config FILE use the kernel configuration file specified 50 55 in FILE to build the kernel. If not found, … … 52 57 53 58 -M, --run-make run make on the generated Makefile 54 59 55 60 " 56 61 … … 165 170 echo -e "\nLook like $1 isn't a valid timezone description." 166 171 echo -e "Verify your selection and the command line.\n" 172 exit 1 173 fi 174 shift 175 ;; 176 177 --fstab ) 178 test $# = 1 && eval "$exit_missing_arg" 179 shift 180 if [ -f $1 ] ; then 181 FSTAB=$1 182 else 183 echo -e "\nFile $1 not found. Verify your command line.\n" 167 184 exit 1 168 185 fi … … 624 641 fi 625 642 626 # In the mount of kernel filesystems we need to set LFS 643 # In the mount of kernel filesystems we need to set LFS 627 644 # and not to use chroot. 628 645 if [ ${i:4:6} = "kernfs" ] ; then … … 692 709 # The filesystems can't be unmounted yet due that the user must 693 710 # to enter to the chroot environment to create the root password, 694 # edit several files and setup Grub, 711 # edit several files and setup Grub, 695 712 elif echo $i | grep -q "reboot" ; then 696 713 continue … … 736 753 ) >> $MKFILE.tmp 737 754 fi 738 755 739 756 # Put in place the kernel .config file 740 757 if [ ${i:4:6} = "kernel" ] ; then … … 746 763 fi 747 764 765 # Check if we have a real /etc/fstab file 766 if [ ${i:4:5} = "fstab" ] && [ -n "$FSTAB" ] ; then 767 ( 768 cat << EOF 769 @echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\ 770 cp -v $FSTAB \$(LFS)/etc/fstab >>logs/$i 2>&1 && \\ 771 echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >>logs/$i 772 EOF 773 ) >> $MKFILE.tmp 774 else 748 775 # Initialize the log an run the script 749 776 ( … … 754 781 EOF 755 782 ) >> $MKFILE.tmp 783 fi 756 784 757 785 # Remove the build directory except if the package build fails. … … 760 788 cat << EOF 761 789 @ROOT=\`head -n1 /tmp/unpacked | sed 's@^./@@;s@/.*@@'\` && \\ 762 rm -r \$(LFS)\$(SRC)/\$\$ROOT 790 rm -r \$(LFS)\$(SRC)/\$\$ROOT 763 791 EOF 764 792 ) >> $MKFILE.tmp
Note:
See TracChangeset
for help on using the changeset viewer.