Changeset 1778

Show
Ignore:
Timestamp:
12/10/06 05:50:44 (2 years ago)
Author:
alexander
Message:

Merged jhalfs update from the 6.2 branch

Location:
trunk
Files:
5 modified
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/doc/README

    r1757 r1778  
    7070Makefiles that can download, check and build each LFS package for you.) 
    7171 
    72 IMPORTANT NOTE ABOUT THE KERNEL 
    73 =========================== 
    74 The LFS book recommends using "the latest available 2.6.16.x kernel version". 
    75 At the time of the release of this CD, such version is 2.6.16.28. However, 
    76 because of the way jhalfs works, the source for the 2.6.16.27 kernel 
    77 must be present on the CD in order for jhalfs to be able to build a kernel. 
    78 However, using jhalfs for building the kernel is acceptable only if 
    79 you don't care about security. 
    80  
    81 In order to get the 2.6.16.28 kernel from this CD, unpack the 
    82 linux-2.6.16.27.tar.bz2 source tarball, and apply the upstream update patch: 
    83  
    84 bzcat ../patch-2.6.16.27-28.bz2 | patch -Np1 
    85  
    86 The patch-2.6.16.27-28.bz2 file is in the /lfs-sources directory. 
    87  
    88 Further kernel updates may be available from 
    89 http://www.kernel.org/pub/linux/kernel/v2.6/incr/ 
    90  
    9172CONFIGURING NET CONNECTION 
    9273=========================== 
     
    339320the computer state from the swap device. 
    340321 
     322AUTOMATING THE BUILD 
     323=========================== 
     324This CD comes with the "jhalfs" tool that allows extracting commands from the 
     325XML version of LFS or CLFS book into Makefiles and shell scripts. You can find 
     326the jhalfs installation in the home directory of the "jhalfs" user, and the 
     327XML LFS book is in /usr/share/LFS-BOOK-SVN-XML. In order to use jhalfs, you 
     328have to: 
     329 
     330* create a directory for your future LFS system and mount a partition there 
     331* change the ownership of that directory to the "jhalfs" user 
     332* run "su - jhalfs" in order to become that user 
     333* as user "jhalfs", follow the instructions in the jhalfs README file 
     334 
     335Note that this user already has the required sudo access. 
     336 
    341337THANKS 
    342338=========================== 
  • trunk/etc/group

    r1135 r1778  
    1919sshd:x:50: 
    2020nogroup:x:99: 
     21jhalfs:x:101: 
  • trunk/etc/passwd

    r1135 r1778  
    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 
  • trunk/packages/jhalfs/Makefile

    r1675 r1778  
    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: 
  • trunk/packages/jhalfs/configuration

    r1777 r1778  
    1919# BRANCH is not set 
    2020BRANCH_ID="" 
    21 BOOK="/usr/share/LFS-BOOK-6.2-XML" 
     21BOOK="/usr/share/LFS-BOOK-SVN-XML" 
    2222# ARCH_X86 is not set 
    2323# ARCH_MIPS is not set 
  • trunk/packages/sudo/Makefile

    r1475 r1778  
    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