Changeset 315f74e
- Timestamp:
- 08/31/2011 02:24:49 AM (13 years ago)
- Parents:
- c0ad0ec
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/cleanfs
rc0ad0ec r315f74e 31 31 # Function to create files/directory on boot. 32 32 create_files() { 33 34 35 36 37 38 39 40 33 # Read in the configuration file. 34 exec 9>&0 < /etc/sysconfig/createfiles 35 while read name type perm usr grp dtype maj min junk 36 do 37 # Ignore comments and blank lines. 38 case "${name}" in 39 ""|\#*) continue ;; 40 esac 41 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 42 # Ignore existing files. 43 if [ ! -e "${name}" ]; then 44 # Create stuff based on its type. 45 case "${type}" in 46 dir) 47 mkdir "${name}" 48 ;; 49 file) 50 :> "${name}" 51 ;; 52 dev) 53 case "${dtype}" in 54 char) 55 mknod "${name}" c ${maj} ${min} 56 ;; 57 block) 58 mknod "${name}" b ${maj} ${min} 59 ;; 60 pipe) 61 mknod "${name}" p 62 ;; 63 *) 64 boot_mesg -n "\nUnknown device type: ${dtype}" ${WARNING} 65 boot_mesg "" ${NORMAL} 66 ;; 67 esac 68 ;; 69 *) 70 boot_mesg -n "\nUnknown type: ${type}" ${WARNING} 71 boot_mesg "" ${NORMAL} 72 continue 73 ;; 74 esac 75 75 76 77 78 79 80 81 76 # Set up the permissions, too. 77 chown ${usr}:${grp} "${name}" 78 chmod ${perm} "${name}" 79 fi 80 done 81 exec 0>&9 9>&- 82 82 } 83 83 84 84 case "${1}" in 85 86 85 start) 86 boot_mesg -n "Cleaning file systems:" ${INFO} 87 87 88 88 if [ "${SKIPTMPCLEAN}" = "" ]; then 89 90 91 89 boot_mesg -n " /tmp" ${NORMAL} 90 cd /tmp && 91 find . -xdev -mindepth 1 ! -name lost+found -delete || failed=1 92 92 fi 93 93 94 94 > /var/run/utmp 95 95 96 97 98 99 96 if grep -q '^utmp:' /etc/group ; then 97 chmod 664 /var/run/utmp 98 chgrp utmp /var/run/utmp 99 fi 100 100 101 102 101 (exit ${failed}) 102 evaluate_retval 103 103 104 105 106 107 108 109 110 111 112 113 104 if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then 105 boot_mesg "Creating files and directories..." 106 create_files 107 evaluate_retval 108 fi 109 ;; 110 *) 111 echo "Usage: ${0} {start}" 112 exit 1 113 ;; 114 114 esac 115 115 -
bootscripts/lfs/init.d/mountfs
rc0ad0ec r315f74e 58 58 stop) 59 59 boot_mesg "Unmounting all other currently mounted file systems..." 60 umount -a -d -r >/dev/null60 umount -a -d -r -t notmpfs >/dev/null 61 61 evaluate_retval 62 62 ;; -
bootscripts/lfs/sysconfig/createfiles
rc0ad0ec r315f74e 9 9 # 10 10 # Notes : The syntax of this file is as follows: 11 # 12 # 13 # 14 # 11 # if type is equal to "file" or "dir" 12 # <filename> <type> <permissions> <user> <group> 13 # if type is equal to "dev" 14 # <filename> <type> <permissions> <user> <group> <devtype> <major> <minor> 15 15 # 16 # 17 # 18 # 19 # 20 # 21 # 22 # 23 # 24 # 25 # 16 # <filename> is the name of the file which is to be created 17 # <type> is either file, dir, or dev. 18 # file creates a new file 19 # dir creates a new directory 20 # dev creates a new device 21 # <devtype> is either block, char or pipe 22 # block creates a block device 23 # char creates a character deivce 24 # pipe creates a pipe, this will ignore the <major> and <minor> fields 25 # <major> and <minor> are the major and minor numbers used for the device. 26 26 ######################################################################## 27 27 -
chapter01/changelog.xml
rc0ad0ec r315f74e 37 37 38 38 --> 39 <listitem> 40 <para>2011-08-29</para> 41 <itemizedlist> 42 <listitem> 43 <para>[bdubbs] - Update to binutils-2.21.1a. Fixes 44 <ulink url="&lfs-ticket-root;2917">#2917</ulink>.</para> 45 </listitem> 46 <listitem> 47 <para>[bdubbs] - Update to linux-3.0.4. Fixes 48 <ulink url="&lfs-ticket-root;2914">#2914</ulink>.</para> 49 </listitem> 50 <listitem> 51 <para>[bdubbs] - Update to util-linux-2.20. Fixes 52 <ulink url="&lfs-ticket-root;2915">#2915</ulink>.</para> 53 </listitem> 54 <listitem> 55 <para>[bdubbs] - Fix shutdown problem in bootscripts. 56 Replace tab characters with spaces. 57 </para> 58 </listitem> 59 </itemizedlist> 60 </listitem> 61 39 62 <listitem> 40 63 <para>2011-08-14</para> -
chapter01/whatsnew.xml
rc0ad0ec r315f74e 206 206 <para>&udev-config;</para> 207 207 </listitem>--> 208 < !--<listitem>208 <listitem> 209 209 <para>Util-Linux &util-linux-version;</para> 210 </listitem> -->210 </listitem> 211 211 <!--<listitem> 212 212 <para>Vim &vim-version;</para> -
chapter08/grub.xml
rc0ad0ec r315f74e 132 132 133 133 menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" { 134 linux /boot/vmlinu x-&linux-version;-lfs-&version; root=/dev/sda2 ro134 linux /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro 135 135 }</literal> 136 136 EOF</userinput></screen> -
chapter08/kernel.xml
rc0ad0ec r315f74e 119 119 <para>The path to the kernel image may vary depending on the platform being 120 120 used. The filename below can be changed to suit your taste, but the stem of 121 the filename should be <emphasis>vmlinu x</emphasis> to be compatible with121 the filename should be <emphasis>vmlinuz</emphasis> to be compatible with 122 122 the automatic setup of the boot process described in the next section. The 123 123 following command assumes an x86 architecture:</para> 124 124 125 <screen><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinu x-&linux-version;-lfs-&version;</userinput></screen>125 <screen><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> 126 126 127 127 <para><filename>System.map</filename> is a symbol file for the kernel. -
general.ent
rc0ad0ec r315f74e 1 <!ENTITY version " SVN-20110814">2 <!ENTITY releasedate "Aug 14, 2011">1 <!ENTITY version "7.0-rc1"> 2 <!ENTITY releasedate "Aug 31, 2011"> 3 3 <!ENTITY copyrightdate "1999-2011"><!-- jhalfs needs a literal dash, not – --> 4 4 <!ENTITY milestone "7.0"> 5 <!ENTITY generic-version " development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->5 <!ENTITY generic-version "7.0-rc1"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> 6 6 7 7 <!ENTITY lfs-root "http://www.linuxfromscratch.org/"> -
packages.ent
rc0ad0ec r315f74e 35 35 <!ENTITY bash-ch6-sbu "1.4 SBU"> 36 36 37 <!ENTITY binutils-version "2.21.1 ">38 <!ENTITY binutils-size "18, 488KB">37 <!ENTITY binutils-version "2.21.1a"> 38 <!ENTITY binutils-size "18,553 KB"> 39 39 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2"> 40 <!ENTITY binutils-md5 " a22801a9cad45c85e9ff6afc10537d72">40 <!ENTITY binutils-md5 "bde820eac53fa3a8d8696667418557ad"> 41 41 <!ENTITY binutils-home "http://www.gnu.org/software/binutils/"> 42 42 <!ENTITY binutils-ch5p1-du "350 MB"> … … 298 298 <!ENTITY less-ch6-sbu "less than 0.1 SBU"> 299 299 300 <!ENTITY lfs-bootscripts-version "201108 03"> <!-- Scripts depend on this format -->300 <!ENTITY lfs-bootscripts-version "20110830"> <!-- Scripts depend on this format --> 301 301 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> 302 302 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"> … … 324 324 <!ENTITY linux-major-version "3"> 325 325 <!ENTITY linux-minor-version "0"> 326 <!ENTITY linux-patch-version " 1">326 <!ENTITY linux-patch-version "4"> 327 327 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 328 328 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 329 <!ENTITY linux-size "74,9 55KB">329 <!ENTITY linux-size "74,961 KB"> 330 330 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.bz2"> 331 <!ENTITY linux-md5 " aed949984b878b7fb77ffe9cbee8ce0c">331 <!ENTITY linux-md5 "dff86c657cabe813bda84c72bfb93ae8"> 332 332 <!ENTITY linux-home "http://www.kernel.org/"> 333 333 <!ENTITY linux-ch8-du "540 - 800 MB"> 334 334 <!ENTITY linux-ch8-sbu "1.0 - 5.0 SBU"> 335 335 336 <!ENTITY linux-headers-ch5-du "51 0MB">336 <!ENTITY linux-headers-ch5-du "511 MB"> 337 337 <!ENTITY linux-headers-ch5-sbu "0.1 SBU"> 338 <!ENTITY linux-headers-ch6-du "51 4MB">338 <!ENTITY linux-headers-ch6-du "515 MB"> 339 339 <!ENTITY linux-headers-ch6-sbu "0.1 SBU"> 340 340 … … 558 558 <!ENTITY udev-config-home " "> 559 559 560 <!ENTITY util-linux-version "2. 19.1">561 <!ENTITY util-linux-size "4, 294KB">562 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v2. 19/util-linux-&util-linux-version;.tar.bz2">563 <!ENTITY util-linux-md5 " 3eab06f05163dfa65479c44e5231932c">560 <!ENTITY util-linux-version "2.20"> 561 <!ENTITY util-linux-size "4,507 KB"> 562 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v2.20/util-linux-&util-linux-version;.tar.bz2"> 563 <!ENTITY util-linux-md5 "4dcacdbdafa116635e52b977d9d0e879"> 564 564 <!ENTITY util-linux-home "http://userweb.kernel.org/~kzak/util-linux/"> 565 565 <!--<!ENTITY util-linux-ch5-du "19 MB">--> 566 566 <!--<!ENTITY util-linux-ch5-sbu "0.1 SBU">--> 567 <!ENTITY util-linux-ch6-du " 50MB">568 <!ENTITY util-linux-ch6-sbu "0. 6SBU">567 <!ENTITY util-linux-ch6-du "69 MB"> 568 <!ENTITY util-linux-ch6-sbu "0.7 SBU"> 569 569 570 570 <!ENTITY vim-version "7.3">
Note:
See TracChangeset
for help on using the changeset viewer.