Changeset 1778
- Timestamp:
- 12/10/06 05:50:44 (2 years ago)
- Location:
- trunk
- Files:
-
- 5 modified
- 1 copied
-
doc/README (modified) (2 diffs)
-
etc/group (modified) (1 diff)
-
etc/passwd (modified) (1 diff)
-
packages/jhalfs/Makefile (modified) (2 diffs)
-
packages/jhalfs/configuration (copied) (copied from branches/6.2/packages/jhalfs/configuration) (1 diff)
-
packages/sudo/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/README
r1757 r1778 70 70 Makefiles that can download, check and build each LFS package for you.) 71 71 72 IMPORTANT NOTE ABOUT THE KERNEL73 ===========================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 kernel77 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 if79 you don't care about security.80 81 In order to get the 2.6.16.28 kernel from this CD, unpack the82 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 -Np185 86 The patch-2.6.16.27-28.bz2 file is in the /lfs-sources directory.87 88 Further kernel updates may be available from89 http://www.kernel.org/pub/linux/kernel/v2.6/incr/90 91 72 CONFIGURING NET CONNECTION 92 73 =========================== … … 339 320 the computer state from the swap device. 340 321 322 AUTOMATING THE BUILD 323 =========================== 324 This CD comes with the "jhalfs" tool that allows extracting commands from the 325 XML version of LFS or CLFS book into Makefiles and shell scripts. You can find 326 the jhalfs installation in the home directory of the "jhalfs" user, and the 327 XML LFS book is in /usr/share/LFS-BOOK-SVN-XML. In order to use jhalfs, you 328 have 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 335 Note that this user already has the required sudo access. 336 341 337 THANKS 342 338 =========================== -
trunk/etc/group
r1135 r1778 19 19 sshd:x:50: 20 20 nogroup:x:99: 21 jhalfs:x:101: -
trunk/etc/passwd
r1135 r1778 3 3 sshd:x:50:50:sshd:/var/lib/sshd:/bin/false 4 4 nobody:x:99:99:nobody:/dev/null:/bin/false 5 jhalfs:x:101:101:jhalfs:/home/jhalfs:/bin/bash -
trunk/packages/jhalfs/Makefile
r1675 r1778 2 2 3 3 NM= jhalfs 4 VRS= 1.04 VRS= 2.1 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 8 URL-$(FILE)= http://www.linuxfromscratch.org/alfs/downloads/jhalfs/stable/$(FILE) 9 SHA-$(FILE)= e153315fe642b76095356cccd22ea828b688a7999 SHA-$(FILE)= 41439fb254d7a2e28d5e2e592105077ad886b4dc 10 10 11 FILE1= configuration 11 12 # Targets 12 13 … … 17 18 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 18 19 19 stage2: Makefile $(FILE) 20 $(std_build) 21 22 compile-stage2: 23 cp -av . /root/$(DIR) 20 stage2: 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 $@ 24 28 25 29 clean: -
trunk/packages/jhalfs/configuration
r1777 r1778 19 19 # BRANCH is not set 20 20 BRANCH_ID="" 21 BOOK="/usr/share/LFS-BOOK- 6.2-XML"21 BOOK="/usr/share/LFS-BOOK-SVN-XML" 22 22 # ARCH_X86 is not set 23 23 # ARCH_MIPS is not set -
trunk/packages/sudo/Makefile
r1475 r1778 30 30 --enable-shell-sets-home 31 31 make 32 rm -f /etc/sudoers 33 echo 'jhalfs ALL=(ALL) NOPASSWD:ALL' >>sudoers 32 34 env -i PATH=$$PATH make install 33 35
