Changeset 95a954c
- Timestamp:
- 07/24/2006 06:43:48 PM (18 years ago)
- Branches:
- 1.0
- Children:
- 83d73fb
- Parents:
- bae64d8
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/config
rbae64d8 r95a954c 11 11 12 12 #--- Fully qualified path to a kernel config file 13 # If no config file is 13 # If no config file is specified the kernel is NOT compiled 14 14 CONFIG= 15 15 16 # Get the kernel package and patches even if no configu tation file16 # Get the kernel package and patches even if no configuration file 17 17 # has been supplied? 0(no)/1(yes) 18 18 GETKERNEL=0 -
README
rbae64d8 r95a954c 75 75 the archive is incorrect jhalfs will access the net and download the 76 76 necessary version and store it here for later use. DO NOT set this to 77 $BUILDDIR/sources. If you do not set this variable to a valid edirectory77 $BUILDDIR/sources. If you do not set this variable to a valid directory 78 78 ALL package tarballs will be downloaded from the 'net. 79 79 … … 149 149 150 150 Q. "How do I specify the build location?" 151 A. The original LFS document worked against the well know location /mnt/lfs.151 A. The original LFS document worked against the well known location /mnt/lfs. 152 152 This script automates the build of all of the LFS series of books and uses 153 a generic location $BUILDDIR with a default value a/mnt/build_dir.153 a generic location $BUILDDIR with a default value of /mnt/build_dir. 154 154 You may change this value to suit your needs. 155 155 … … 176 176 export SRC_ARCHIVE=/wherever/you/store/downloaded/packages 177 177 OR 178 you can change the setting in .common/config.178 you can change the setting in common/config. 179 179 180 180 Q. "Why have 2 copies of the files?" … … 195 195 not the 'chroot.' You must transfer the toolchain to a sparc platform, reboot 196 196 the sparc box and continue the build. 197 Of all the LFS series of books theCross-LFS requires the greatest197 Of all the LFS series of books Cross-LFS requires the greatest 198 198 understanding of host/target hardware combination. Please read the book 199 199 carefully and don't skip the easy parts (there are none..) -
TODO
rbae64d8 r95a954c 6 6 ------------- 7 7 8 - The BLFS mo udule should canbe called in conjunction with any of8 - The BLFS module should be called in conjunction with any of 9 9 LFS, CLFS or HLFS modules. 10 10 Before working on that we need to fix the BLFS support. … … 32 32 ------ 33 33 34 - Add a Cu nstomization file discussing how to hack the generated scripts34 - Add a Customization file discussing how to hack the generated scripts 35 35 and Makefiles, using the Cracklib support for Shadow in LFS as an example. 36 NOTE: that could require a nspecial command line switch to regenerate the36 NOTE: that could require a special command line switch to regenerate the 37 37 Makefile if additional scripts are manually added to the *-commands/*/ dirs. 38 38 -
common/common-functions
rbae64d8 r95a954c 57 57 branch-NAME = a branch of name NAME 58 58 VERSION = the version of a stable released book 59 To know what branches and stable books work swith this version of jhalfs59 To know what branches and stable books work with this version of jhalfs 60 60 please see http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks 61 61 … … 88 88 use the local working copy placed in DIR as the $(echo $PROGNAME | tr [a-z] [A-Z]) book 89 89 90 ${BOLD} -C, --compar asion TYPE${OFF}90 ${BOLD} -C, --comparison TYPE${OFF} 91 91 do iterative comparison analysis. This extends the total build time 92 92 considerably because the entire final system will rebuild itself … … 95 95 ICA = do ICA as designed by Greg Schafer 96 96 farce = do the farce analysis designed by Ken Moffat 97 both = perfo m both ICA and farce analysis97 both = perform both ICA and farce analysis 98 98 99 99 ${BOLD} -F, --fstab FILE${OFF} … … 109 109 110 110 ${BOLD} -R --rebuild${OFF} 111 clean the build directory before perfo ming any other task. The directory111 clean the build directory before performing any other task. The directory 112 112 is cleaned only if it was populated by a previous jhalfs run. 113 113 -EOF- … … 904 904 905 905 if [[ -s MISSING_FILES.DMP ]]; then 906 echo -e "\n\n${tab_}${RED} One or more files were not retrieved or have abad MD5SUMS.\n${tab_} Check ${L_arrow}$BUILDDIR/sources/MISSING_FILES.DMP${R_arrow} for names ${OFF}\n"907 # Do not allow the automatic exec tion of the Makefile.906 echo -e "\n\n${tab_}${RED} One or more files were not retrieved or have bad MD5SUMS.\n${tab_} Check ${L_arrow}$BUILDDIR/sources/MISSING_FILES.DMP${R_arrow} for names ${OFF}\n" 907 # Do not allow the automatic execution of the Makefile. 908 908 echo "${tab_}${BOLD}${RED}*** ${YELLOW}Automatic execution of the generated makefile has been inhibited. ${RED}***${OFF}${nl_}" 909 909 RUNMAKE=0 -
common/makefile-functions
rbae64d8 r95a954c 66 66 @echo -e \\t- Exit from the chroot. 67 67 @echo 68 @echo -e \\t- Set-up the boot loader, except if building CLFS with METHO O=boot.68 @echo -e \\t- Set-up the boot loader, except if building CLFS with METHOD=boot. 69 69 @echo -e \\tYou can set-up the host bootloader or the new boot-loader 70 70 @echo -e \\tinstalled on the new system. -
master.sh
rbae64d8 r95a954c 194 194 BOOK=$1 195 195 else 196 echo -e "\nLooks like $1 isn't a LFS working copy."196 echo -e "\nLooks like $1 isn't an LFS working copy." 197 197 exit 1 198 198 fi … … 212 212 BOOK=$1 213 213 else 214 echo -e "\nLooks like $1 isn't a HLFS working copy."214 echo -e "\nLooks like $1 isn't an HLFS working copy." 215 215 exit 1 216 216 fi … … 219 219 ;; 220 220 221 --compar asion | -C )221 --comparison | -C ) 222 222 test $# = 1 && eval "$exit_missing_arg" 223 223 shift … … 347 347 ;; 348 348 * ) 349 echo -e "\n$1 is an unknown or uns opported arch."349 echo -e "\n$1 is an unknown or unsupported arch." 350 350 exit 1 351 351 ;; … … 412 412 413 413 414 # Check for min umum gcc and kernel versions414 # Check for minimum gcc and kernel versions 415 415 #check_requirements 1 # 0/1 0-do not display values. 416 416 echo … … 495 495 # 496 496 if [[ -n "$FILES" ]]; then 497 # pushd/popd necessary to deal with mul itiple files497 # pushd/popd necessary to deal with multiple files 498 498 pushd $PACKAGE_DIR 1> /dev/null 499 499 cp $FILES $JHALFSDIR/ … … 503 503 if [[ "$REPORT" = "1" ]]; then 504 504 cp $COMMON_DIR/create-sbu_du-report.sh $JHALFSDIR/ 505 # After be sure that all looksane, dump the settings to a file505 # After being sure that all looks sane, dump the settings to a file 506 506 # This file will be used to create the REPORT header 507 507 validate_config > $JHALFSDIR/jhalfs.config
Note:
See TracChangeset
for help on using the changeset viewer.