Changeset 1777

Show
Ignore:
Timestamp:
12/10/06 03:53:17 (2 years ago)
Author:
alexander
Message:

Updated jhalfs

Location:
branches/6.2
Files:
1 added
5 modified

Legend:

Unmodified
Added
Removed
  • branches/6.2/doc/README

    r1757 r1777  
    339339the computer state from the swap device. 
    340340 
     341AUTOMATING THE BUILD 
     342=========================== 
     343This CD comes with the "jhalfs" tool that allows extracting commands from the 
     344XML version of LFS or CLFS book into Makefiles and shell scripts. You can find 
     345the jhalfs installation in the home directory of the "jhalfs" user, and the 
     346XML LFS book is in /usr/share/LFS-BOOK-6.2-XML. In order to use jhalfs, you 
     347have to: 
     348 
     349* create a directory for your future LFS system and mount a partition there 
     350* change the ownership of that directory to the "jhalfs" user 
     351* run "su - jhalfs" in order to become that user 
     352* as user "jhalfs", follow the instructions in the jhalfs README file 
     353 
     354Note that this user already has the required sudo access. 
     355 
    341356THANKS 
    342357=========================== 
  • branches/6.2/etc/group

    r1135 r1777  
    1919sshd:x:50: 
    2020nogroup:x:99: 
     21jhalfs:x:101: 
  • branches/6.2/etc/passwd

    r1135 r1777  
    33sshd:x:50:50:sshd:/var/lib/sshd:/bin/false 
    44nobody:x:99:99:nobody:/dev/null:/bin/false 
     5jhalfs:x:101:101:jhalfs:/home/jhalfs:/bin/bash 
  • branches/6.2/packages/jhalfs/Makefile

    r1675 r1777  
    22 
    33NM= jhalfs 
    4 VRS= 1.0 
     4VRS= 2.1 
    55DIR= $(NM)-$(VRS) 
    66 
    77FILE= $(DIR).tar.bz2 
    88URL-$(FILE)= http://www.linuxfromscratch.org/alfs/downloads/jhalfs/stable/$(FILE) 
    9 SHA-$(FILE)= e153315fe642b76095356cccd22ea828b688a799 
     9SHA-$(FILE)= 41439fb254d7a2e28d5e2e592105077ad886b4dc 
    1010 
     11FILE1= configuration 
    1112# Targets 
    1213 
     
    1718        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 
    1819 
    19 stage2: Makefile $(FILE) 
    20         $(std_build) 
    21  
    22 compile-stage2: 
    23         cp -av . /root/$(DIR) 
     20stage2: Makefile $(FILE) $(FILE1) 
     21        @$(call echo_message, Building) 
     22        mkdir -p /home/jhalfs 
     23        cp -v $(ROOT)/root/.bashrc /home/jhalfs/.bashrc 
     24        cd /home/jhalfs ; unpack $(SRC)/$(FILE) 
     25        cp -v $(FILE1) /home/jhalfs/$(DIR) 
     26        chown -R jhalfs:jhalfs /home/jhalfs 
     27        @touch $@ 
    2428 
    2529clean: 
  • branches/6.2/packages/sudo/Makefile

    r1475 r1777  
    3030         --enable-shell-sets-home 
    3131        make 
     32        rm -f /etc/sudoers 
     33        echo 'jhalfs    ALL=(ALL) NOPASSWD:ALL' >>sudoers 
    3234        env -i PATH=$$PATH make install 
    3335