Changeset d385453
- Timestamp:
- 07/24/2006 12:29:45 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- cb39f79
- Parents:
- 73db3f9
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/config
r73db3f9 rd385453 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
r73db3f9 rd385453 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 … … 154 154 155 155 Q. "How do I specify the build location?" 156 A. The original LFS document worked against the well know location /mnt/lfs.156 A. The original LFS document worked against the well known location /mnt/lfs. 157 157 This script automates the build of all of the LFS series of books and uses 158 a generic location $BUILDDIR with a default value a/mnt/build_dir.158 a generic location $BUILDDIR with a default value of /mnt/build_dir. 159 159 You may change this value to suit your needs. 160 160 … … 181 181 export SRC_ARCHIVE=/wherever/you/store/downloaded/packages 182 182 OR 183 you can change the setting in .common/config.183 you can change the setting in common/config. 184 184 185 185 Q. "Why have 2 copies of the files?" … … 200 200 not the 'chroot.' You must transfer the toolchain to a sparc platform, reboot 201 201 the sparc box and continue the build. 202 Of all the LFS series of books theCross-LFS requires the greatest202 Of all the LFS series of books Cross-LFS requires the greatest 203 203 understanding of host/target hardware combination. Please read the book 204 204 carefully and don't skip the easy parts (there are none..) -
TODO
r73db3f9 rd385453 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
r73db3f9 rd385453 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- … … 933 933 934 934 if [[ -s MISSING_FILES.DMP ]]; then 935 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"936 # Do not allow the automatic exec tion of the Makefile.935 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" 936 # Do not allow the automatic execution of the Makefile. 937 937 echo "${tab_}${BOLD}${RED}*** ${YELLOW}Automatic execution of the generated makefile has been inhibited. ${RED}***${OFF}${nl_}" 938 938 RUNMAKE=0 -
common/makefile-functions
r73db3f9 rd385453 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
r73db3f9 rd385453 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 … … 351 351 ;; 352 352 * ) 353 echo -e "\n$1 is an unknown or uns opported arch."353 echo -e "\n$1 is an unknown or unsupported arch." 354 354 exit 1 355 355 ;; … … 416 416 417 417 418 # Check for min umum gcc and kernel versions418 # Check for minimum gcc and kernel versions 419 419 #check_requirements 1 # 0/1 0-do not display values. 420 420 echo … … 499 499 # 500 500 if [[ -n "$FILES" ]]; then 501 # pushd/popd necessary to deal with mul itiple files501 # pushd/popd necessary to deal with multiple files 502 502 pushd $PACKAGE_DIR 1> /dev/null 503 503 cp $FILES $JHALFSDIR/ … … 507 507 if [[ "$REPORT" = "1" ]]; then 508 508 cp $COMMON_DIR/create-sbu_du-report.sh $JHALFSDIR/ 509 # After be sure that all looksane, dump the settings to a file509 # After being sure that all looks sane, dump the settings to a file 510 510 # This file will be used to create the REPORT header 511 511 validate_config > $JHALFSDIR/jhalfs.config
Note:
See TracChangeset
for help on using the changeset viewer.