Changeset 9272545
- Timestamp:
- 07/30/2006 08:58:26 AM (18 years ago)
- Branches:
- experimental
- Children:
- f83bcee
- Parents:
- e840d27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
HLFS/master.sh
re840d27 r9272545 14 14 local this_script=$2 15 15 local file=$3 16 16 17 17 ( 18 18 cat << EOF … … 121 121 fi 122 122 123 # NOTE: We use the hlfs username and groupname also in HLFS124 123 # If /home/hlfs is already present in the host, we asume that the 125 124 # hlfs user and group are also presents in the host, and a backup … … 212 211 chapter5="$chapter5 $this_script" 213 212 214 # Grab the name of the target (minus the -headers or -cross in the case of gcc 215 # and binutils in chapter 5) 216 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@' ` 213 # Grab the name of the target 214 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'` 217 215 218 216 # Adjust 'name' … … 230 228 # Drop in the name of the target on a new line, and the previous target 231 229 # as a dependency. Also call the echo_message function. 232 230 233 231 # This is a very special script and requires manual processing 234 232 # NO Optimization allowed … … 261 259 # Remove the build directory(ies) except if the package build fails 262 260 # (so we can review config.cache, config.log, etc.) 263 # For Binutils the sources must be retained for some time.264 261 if [ "$pkg_tarball" != "" ] ; then 265 262 wrt_remove_build_dirs "$name" … … 326 323 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'` 327 324 328 #329 # Sed replacement to fix some rm command that could fail.330 # That should be fixed in the book sources.331 #332 case $name in333 glibc) sed 's/rm /rm -f /' -i chapter06$N/$this_script ;;334 esac335 336 325 case $name in 337 326 uclibc) name="uClibc" ;; … … 391 380 fi 392 381 393 # In the mount of kernel filesystems we need to set LFS and not to use chroot.382 # In the mount of kernel filesystems we need to set HLFS and not to use chroot. 394 383 case "${this_script}" in 395 384 *kernfs*) … … 635 624 636 625 restart_code: 637 @echo ">>> This feature is experimental, BUGS may exist" 638 626 @echo ">>> This feature is experimental, BUGS may exist" 627 639 628 @if [ ! -L /tools ]; then \\ 640 629 echo -e "\\nERROR::\\n /tools is NOT a symlink.. /tools must point to \$(MOUNT_PT)/tools\\n" && false;\\ 641 630 fi; 642 631 643 632 @if [ ! -e /tools ]; then \\ 644 633 echo -e "\\nERROR::\\nThe target /tools points to does not exist.\\nVerify the target.. \$(MOUNT_PT)/tools\\n" && false;\\ 645 634 fi; 646 635 647 636 @if ! stat -c %N /tools | grep "\$(MOUNT_PT)/tools" >/dev/null ; then \\ 648 637 echo -e "\\nERROR::\\nThe symlink \\"/tools\\" does not point to \\"\$(MOUNT_PT)/tools\\".\\nCorrect the problem and rerun\\n" && false;\\ 649 fi; 638 fi; 650 639 651 640 @if [ -f ???-kernfs ]; then \\
Note:
See TracChangeset
for help on using the changeset viewer.