Changeset 315f74e


Ignore:
Timestamp:
08/31/2011 02:24:49 AM (13 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Parents:
c0ad0ec
Message:

Initial commit for LFS-7.0-rc1

git-svn-id: http://svn.linuxfromscratch.org/LFS/tags/7.0-rc1@9590 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/cleanfs

    rc0ad0ec r315f74e  
    3131# Function to create files/directory on boot.
    3232create_files() {
    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
     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
    4141
    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
     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
    7575
    76                                 # Set up the permissions, too.
    77                                 chown ${usr}:${grp} "${name}"
    78                                 chmod ${perm} "${name}"
    79                         fi
    80                 done
    81         exec 0>&9 9>&-
     76            # Set up the permissions, too.
     77            chown ${usr}:${grp} "${name}"
     78            chmod ${perm} "${name}"
     79         fi
     80      done
     81   exec 0>&9 9>&-
    8282}
    8383
    8484case "${1}" in
    85         start)
    86                 boot_mesg -n "Cleaning file systems:" ${INFO}
     85   start)
     86      boot_mesg -n "Cleaning file systems:" ${INFO}
    8787
    8888      if [ "${SKIPTMPCLEAN}" = "" ]; then
    89                    boot_mesg -n " /tmp" ${NORMAL}
    90                    cd /tmp &&
    91                    find . -xdev -mindepth 1 ! -name lost+found -delete || failed=1
     89         boot_mesg -n " /tmp" ${NORMAL}
     90         cd /tmp &&
     91         find . -xdev -mindepth 1 ! -name lost+found -delete || failed=1
    9292      fi
    9393
    94                 > /var/run/utmp
     94      > /var/run/utmp
    9595
    96                 if grep -q '^utmp:' /etc/group ; then
    97                         chmod 664 /var/run/utmp
    98                         chgrp utmp /var/run/utmp
    99                 fi
     96      if grep -q '^utmp:' /etc/group ; then
     97         chmod 664 /var/run/utmp
     98         chgrp utmp /var/run/utmp
     99      fi
    100100
    101                 (exit ${failed})
    102                 evaluate_retval
     101      (exit ${failed})
     102      evaluate_retval
    103103
    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                 ;;
     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      ;;
    114114esac
    115115
  • bootscripts/lfs/init.d/mountfs

    rc0ad0ec r315f74e  
    5858   stop)
    5959      boot_mesg "Unmounting all other currently mounted file systems..."
    60       umount -a -d -r >/dev/null
     60      umount -a -d -r -t notmpfs >/dev/null
    6161      evaluate_retval
    6262      ;;
  • bootscripts/lfs/sysconfig/createfiles

    rc0ad0ec r315f74e  
    99#
    1010# Notes       : The syntax of this file is as follows:
    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>
     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>
    1515#
    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.
     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.
    2626########################################################################
    2727
  • chapter01/changelog.xml

    rc0ad0ec r315f74e  
    3737
    3838-->
     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
    3962    <listitem>
    4063      <para>2011-08-14</para>
  • chapter01/whatsnew.xml

    rc0ad0ec r315f74e  
    206206      <para>&udev-config;</para>
    207207    </listitem>-->
    208     <!--<listitem>
     208    <listitem>
    209209      <para>Util-Linux &util-linux-version;</para>
    210     </listitem>-->
     210    </listitem>
    211211    <!--<listitem>
    212212      <para>Vim &vim-version;</para>
  • chapter08/grub.xml

    rc0ad0ec r315f74e  
    132132
    133133menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
    134         linux   /boot/vmlinux-&linux-version;-lfs-&version; root=/dev/sda2 ro
     134        linux   /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
    135135}</literal>
    136136EOF</userinput></screen>
  • chapter08/kernel.xml

    rc0ad0ec r315f74e  
    119119    <para>The path to the kernel image may vary depending on the platform being
    120120    used. The filename below can be changed to suit your taste, but the stem of
    121     the filename should be <emphasis>vmlinux</emphasis> to be compatible with
     121    the filename should be <emphasis>vmlinuz</emphasis> to be compatible with
    122122    the automatic setup of the boot process described in the next section.  The
    123123    following command assumes an x86 architecture:</para>
    124124
    125 <screen><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinux-&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>
    126126
    127127    <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">
    33<!ENTITY copyrightdate "1999-2011"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!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}]" -->
    66
    77<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
  • packages.ent

    rc0ad0ec r315f74e  
    3535<!ENTITY bash-ch6-sbu "1.4 SBU">
    3636
    37 <!ENTITY binutils-version "2.21.1">
    38 <!ENTITY binutils-size "18,488 KB">
     37<!ENTITY binutils-version "2.21.1a">
     38<!ENTITY binutils-size "18,553 KB">
    3939<!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2">
    40 <!ENTITY binutils-md5 "a22801a9cad45c85e9ff6afc10537d72">
     40<!ENTITY binutils-md5 "bde820eac53fa3a8d8696667418557ad">
    4141<!ENTITY binutils-home "http://www.gnu.org/software/binutils/">
    4242<!ENTITY binutils-ch5p1-du "350 MB">
     
    298298<!ENTITY less-ch6-sbu "less than 0.1 SBU">
    299299
    300 <!ENTITY lfs-bootscripts-version "20110803">                 <!-- Scripts depend on this format -->
     300<!ENTITY lfs-bootscripts-version "20110830">                 <!-- Scripts depend on this format -->
    301301<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
    302302<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
     
    324324<!ENTITY linux-major-version "3">
    325325<!ENTITY linux-minor-version "0">
    326 <!ENTITY linux-patch-version "1">
     326<!ENTITY linux-patch-version "4">
    327327<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    328328<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    329 <!ENTITY linux-size "74,955 KB">
     329<!ENTITY linux-size "74,961 KB">
    330330<!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">
    332332<!ENTITY linux-home "http://www.kernel.org/">
    333333<!ENTITY linux-ch8-du "540 - 800 MB">
    334334<!ENTITY linux-ch8-sbu "1.0 - 5.0 SBU">
    335335
    336 <!ENTITY linux-headers-ch5-du "510 MB">
     336<!ENTITY linux-headers-ch5-du "511 MB">
    337337<!ENTITY linux-headers-ch5-sbu "0.1 SBU">
    338 <!ENTITY linux-headers-ch6-du "514 MB">
     338<!ENTITY linux-headers-ch6-du "515 MB">
    339339<!ENTITY linux-headers-ch6-sbu "0.1 SBU">
    340340
     
    558558<!ENTITY udev-config-home " ">
    559559
    560 <!ENTITY util-linux-version "2.19.1">
    561 <!ENTITY util-linux-size "4,294 KB">
    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">
    564564<!ENTITY util-linux-home "http://userweb.kernel.org/~kzak/util-linux/">
    565565<!--<!ENTITY util-linux-ch5-du "19 MB">-->
    566566<!--<!ENTITY util-linux-ch5-sbu "0.1 SBU">-->
    567 <!ENTITY util-linux-ch6-du "50 MB">
    568 <!ENTITY util-linux-ch6-sbu "0.6 SBU">
     567<!ENTITY util-linux-ch6-du "69 MB">
     568<!ENTITY util-linux-ch6-sbu "0.7 SBU">
    569569
    570570<!ENTITY vim-version "7.3">
Note: See TracChangeset for help on using the changeset viewer.