Changeset 30737ea8


Ignore:
Timestamp:
08/06/2006 10:59:36 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
fa58f81
Parents:
ef87eed
Message:

Renamed user-{c,h}lfs-exist to luser-exist.
Renamed restore-{c,h}lfs-env to restore-luser-env.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    ref87eed r30737ea8  
    4646                useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\
    4747        else \\
    48                 touch user-clfs-exist; \\
     48                touch luser-exist; \\
    4949        fi;
    5050        @chown \$(LUSER) \$(MOUNT_PT) && \\
     
    10541054chapter4:  chapter3 $temptools
    10551055
    1056 chapter5:  chapter4 $chroottools $testsuitetools
     1056chapter5:  chapter4 $chroottools restore-luser-env $testsuitetools
    10571057
    10581058chapter6:  chapter5 $basicsystem
     
    10711071
    10721072clean-chapter2:
    1073         -if [ ! -f user-clfs-exist ]; then \\
     1073        -if [ ! -f luser-exist ]; then \\
    10741074                userdel \$(LUSER); \\
    10751075                rm -rf /home/\$(LUSER); \\
     
    10791079        rm -rf \$(MOUNT_PT)/cross-tools
    10801080        rm -f /cross-tools
    1081         rm -f envars user-clfs-exist
     1081        rm -f envars luser-exist
    10821082        rm -f 02* logs/02*.log
    10831083
    10841084clean-chapter3:
    10851085        rm -rf \$(MOUNT_PT)/tools/*
    1086         rm -f $cross_tools restore-clfs-env sources-dir
     1086        rm -f $cross_tools sources-dir
    10871087        cd logs && rm -f $cross_tools && cd ..
    10881088
     
    10981098
    10991099
    1100 restore-clfs-env:
     1100restore-luser-env:
    11011101        @\$(call echo_message, Building)
    11021102        @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\
     
    11171117        @-umount \$(MOUNT_PT)/sys
    11181118        @-umount \$(MOUNT_PT)/proc
    1119         @-if [ ! -f user-clfs-exist ]; then \\
     1119        @-if [ ! -f luser-exist ]; then \\
    11201120                userdel \$(LUSER); \\
    11211121                rm -rf /home/\$(LUSER); \\
     
    11371137        $temptools \
    11381138        $chroottools \
    1139         $boottools
     1139        $boottools restore-luser-env
    11401140        @\$(call echo_boot_finished,$VERSION)
    11411141
     
    11531153
    11541154clean-jhalfs:
    1155         -if [ ! -f user-clfs-exist ]; then \\
     1155        -if [ ! -f luser-exist ]; then \\
    11561156                userdel \$(LUSER); \\
    11571157                rm -rf /home/\$(LUSER); \\
     
    11611161        rm -rf \$(MOUNT_PT)/cross-tools
    11621162        rm -f /cross-tools
    1163         rm -f envars user-clfs-exist
     1163        rm -f envars luser-exist
    11641164        rm -f 02* logs/02*.log
    11651165
     
    11671167        rm -rf /tools/*
    11681168        rm -f $cross_tools && rm -f $temptools && rm -f $chroottools && rm -f $boottools
    1169         rm -f restore-clfs-env sources-dir
     1169        rm -f restore-luser-env sources-dir
    11701170        cd logs && rm -f $cross_tools && rm -f $temptools && rm -f $chroottools && rm -f $boottools && cd ..
    11711171
     
    11831183
    11841184
    1185 restore-clfs-env:
     1185restore-luser-env:
    11861186        @\$(call echo_message, Building)
    11871187        @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\
  • CLFS2/master.sh

    ref87eed r30737ea8  
    3737                useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\
    3838        else \\
    39                 touch user-clfs-exist; \\
     39                touch luser-exist; \\
    4040        fi;
    4141        @chown \$(LUSER) \$(MOUNT_PT) && \\
     
    439439(
    440440        cat << EOF
    441 all:  chapter2 chapter3 chapter4 chapter5 chapter6 do-housekeeping
     441all:  chapter2 chapter3 chapter4 chapter5 chapter6 restore-luser-env do-housekeeping
    442442        @\$(call echo_finished,$VERSION)
    443443
     
    460460        @echo "This feature does not exist for the CLFS makefile. (yet)"
    461461
    462 restore-clfs-env:
     462restore-luser-env:
    463463        @\$(call echo_message, Building)
    464464        @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\
     
    474474
    475475do-housekeeping:
    476         @-if [ ! -f user-clfs-exist ]; then \\
     476        @-if [ ! -f luser-exist ]; then \\
    477477                userdel \$(LUSER); \\
    478478                rm -rf /home/\$(LUSER); \\
  • HLFS/master.sh

    ref87eed r30737ea8  
    8585  fi
    8686
    87   # If /home/hlfs is already present in the host, we asume that the
     87  # If /home/$LUSER is already present in the host, we asume that the
    8888  # hlfs user and group are also presents in the host, and a backup
    8989  # of their bash init files is made.
     
    109109                useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\
    110110        else \\
    111                 touch user-hlfs-exist; \\
     111                touch luser-exist; \\
    112112        fi;
    113113        @chown \$(LUSER) \$(MOUNT_PT)/tools && \\
     
    525525chapter3:  020-creatingtoolsdir 021-addinguser 022-settingenvironment
    526526
    527 chapter5:  chapter3 $chapter5 restore-hlfs-env
     527chapter5:  chapter3 $chapter5 restore-luser-env
    528528
    529529chapter6:  chapter5 $chapter6
     
    539539
    540540clean-chapter3:
    541         -if [ ! -f user-hlfs-exist ]; then \\
     541        -if [ ! -f luser-exist ]; then \\
    542542                userdel \$(LUSER); \\
    543543                rm -rf /home/\$(LUSER); \\
     
    545545        rm -rf \$(MOUNT_PT)/tools
    546546        rm -f /tools
    547         rm -f envars user-hlfs-exist
     547        rm -f envars luser-exist
    548548        rm -f 02* logs/02*.log
    549549
    550550clean-chapter5:
    551551        rm -rf \$(MOUNT_PT)/tools/*
    552         rm -f $chapter5 restore-hlfs-env sources-dir
     552        rm -f $chapter5 restore-luser-env sources-dir
    553553        cd logs && rm -f $chapter5 && cd ..
    554554
     
    567567        cd logs && rm -f $chapter7 && cd ..
    568568
    569 restore-hlfs-env:
     569restore-luser-env:
    570570        @\$(call echo_message, Building)
    571571        @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\
     
    586586        @-umount \$(MOUNT_PT)/sys
    587587        @-umount \$(MOUNT_PT)/proc
    588         @-if [ ! -f user-hlfs-exist ]; then \\
     588        @-if [ ! -f luser-exist ]; then \\
    589589                userdel \$(LUSER); \\
    590590                rm -rf /home/\$(LUSER); \\
  • LFS/master.sh

    ref87eed r30737ea8  
    1414  echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter4${R_arrow}"
    1515
    16 # If /home/lfs is already present in the host, we asume that the
     16# If /home/$LUSER is already present in the host, we asume that the
    1717# lfs user and group are also presents in the host, and a backup
    1818# of their bash init files is made.
     
    3434                useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\
    3535        else \\
    36                 touch user-lfs-exist; \\
     36                touch luser-exist; \\
    3737        fi;
    3838        @chown \$(LUSER) \$(MOUNT_PT)/tools && \\
     
    403403chapter4:  020-creatingtoolsdir 021-addinguser 022-settingenvironment
    404404
    405 chapter5:  chapter4 $chapter5 restore-lfs-env
     405chapter5:  chapter4 $chapter5 restore-luser-env
    406406
    407407chapter6:  chapter5 $chapter6
     
    417417
    418418clean-chapter4:
    419         -if [ ! -f user-lfs-exist ]; then \\
     419        -if [ ! -f luser-exist ]; then \\
    420420                userdel \$(LUSER); \\
    421421                rm -rf /home/\$(LUSER); \\
     
    423423        rm -rf \$(MOUNT_PT)/tools
    424424        rm -f /tools
    425         rm -f envars user-lfs-exist
     425        rm -f envars luser-exist
    426426        rm -f 02* logs/02*.log
    427427
    428428clean-chapter5:
    429429        rm -rf \$(MOUNT_PT)/tools/*
    430         rm -f $chapter5 restore-lfs-env sources-dir
     430        rm -f $chapter5 restore-luser-env sources-dir
    431431        cd logs && rm -f $chapter5 && cd ..
    432432
     
    445445        cd logs && rm -f $chapter789 && cd ..
    446446
    447 restore-lfs-env:
     447restore-luser-env:
    448448        @\$(call echo_message, Building)
    449449        @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\
     
    464464        @-umount \$(MOUNT_PT)/dev/pts
    465465        @-umount \$(MOUNT_PT)/dev
    466         @-if [ ! -f user-lfs-exist ]; then \\
     466        @-if [ ! -f luser-exist ]; then \\
    467467                userdel \$(LUSER); \\
    468468                rm -rf /home/\$(LUSER); \\
Note: See TracChangeset for help on using the changeset viewer.