Changeset c49c1fb


Ignore:
Timestamp:
09/11/2022 10:30:10 PM (20 months ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
c1a6423d
Parents:
530771a (diff), e5e442c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

Files:
24 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/sysconfig/createfiles

    r530771a rc49c1fb  
    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>
     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>
    1515#             <major> <minor>
    1616#
    17 #               <filename> is the name of the file which is to be created
    18 #               <type> is either file, dir, or dev.
    19 #                       file creates a new file
    20 #                       dir creates a new directory
    21 #                       dev creates a new device
    22 #               <devtype> is either block, char or pipe
    23 #                       block creates a block device
    24 #                       char creates a character deivce
    25 #                       pipe creates a pipe, this will ignore the <major> and
     17#               <filename> is the name of the file which is to be created
     18#               <type> is either file, dir, or dev.
     19#                       file creates a new file
     20#                       dir creates a new directory
     21#                       dev creates a new device
     22#               <devtype> is either block, char or pipe
     23#                       block creates a block device
     24#                       char creates a character deivce
     25#                       pipe creates a pipe, this will ignore the <major> and
    2626#           <minor> fields
    27 #               <major> and <minor> are the major and minor numbers used for
     27#               <major> and <minor> are the major and minor numbers used for
    2828#     the device.
    2929########################################################################
  • bootscripts/lfs/sysconfig/modules

    r530771a rc49c1fb  
    99#
    1010# Notes       : The syntax of this file is as follows:
    11              <module> [<arg1> <arg2> ...]
     11             <module> [<arg1> <arg2> ...]
    1212#
    1313# Each module should be on its own line, and any options that you want
  • chapter01/changelog.xml

    r530771a rc49c1fb  
    4242
    4343    <listitem>
     44      <para>2022-09-10</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[pierre] - Add <option>--enable-default-pie</option> and
     48          <option>--enable-default-ssp</option> to GCC build. Rationale
     49          and some reports at
     50          <ulink url="&lfs-ticket-root;5107">#5107</ulink>.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
    4456      <para>2022-09-07</para>
    4557      <itemizedlist>
    4658        <listitem>
    47            <para>[bdubbs] - Update to shadow-4.12.3. Fixes
    48            <ulink url="&lfs-ticket-root;5101">#5101</ulink>.</para>
     59          <para>[bdubbs] - Update to shadow-4.12.3. Fixes
     60          <ulink url="&lfs-ticket-root;5101">#5101</ulink>.</para>
    4961        </listitem>
    5062        <listitem>
    51            <para>[bdubbs] - Update to Python3-3.10.7. Fixes
    52            <ulink url="&lfs-ticket-root;5109">#5109</ulink>.</para>
     63          <para>[bdubbs] - Update to Python3-3.10.7. Fixes
     64          <ulink url="&lfs-ticket-root;5109">#5109</ulink>.</para>
    5365        </listitem>
    5466        <listitem>
    55            <para>[bdubbs] - Update to linux-5.19.7. Fixes
    56            <ulink url="&lfs-ticket-root;5099">#5099</ulink>.</para>
     67          <para>[bdubbs] - Update to linux-5.19.7. Fixes
     68          <ulink url="&lfs-ticket-root;5099">#5099</ulink>.</para>
    5769        </listitem>
    5870        <listitem>
    59            <para>[bdubbs] - Update to less-608. Fixes
    60            <ulink url="&lfs-ticket-root;5104">#5104</ulink>.</para>
     71          <para>[bdubbs] - Update to less-608. Fixes
     72          <ulink url="&lfs-ticket-root;5104">#5104</ulink>.</para>
    6173        </listitem>
    6274        <listitem>
    63            <para>[bdubbs] - Update to grep-3.8. Fixes
    64            <ulink url="&lfs-ticket-root;5105">#5105</ulink>.</para>
     75          <para>[bdubbs] - Update to grep-3.8. Fixes
     76          <ulink url="&lfs-ticket-root;5105">#5105</ulink>.</para>
    6577        </listitem>
    6678      </itemizedlist>
  • chapter03/packages.xml

    r530771a rc49c1fb  
    2121    if a newer version (with the vulnerability fixed) should be used.  If
    2222    not, try to download the removed package from a mirror.  Although it's
    23         possible to download an old release from a mirror even if this release
    24         has been removed because of a vulnerability, it's not recommended to
    25         use a release known to be vulnerable for building your system.</para>
     23    possible to download an old release from a mirror even if this release
     24    has been removed because of a vulnerability, it's not recommended to
     25    use a release known to be vulnerable for building your system.</para>
    2626  </note>
    2727
  • chapter04/settingenviron.xml

    r530771a rc49c1fb  
    201201     user is finished at the beginning of <xref
    202202     linkend="chapter-chroot-temporary-tools"/>, you can restore
    203         <filename>/etc/bash.bashrc</filename> (if desired).</para>
     203    <filename>/etc/bash.bashrc</filename> (if desired).</para>
    204204
    205205     <para>Note that the LFS Bash package we will build in
  • chapter05/gcc-pass1.xml

    r530771a rc49c1fb  
    173173        <listitem>
    174174          <para>Those switches allow GCC to compile programs with
    175           some hardening security features (more information on those in
    176           the <xref linkend="pie-ssp-info"/> in chapter 8). They are not
    177           strictly needed at this stage, since the compiler will only produce
    178           temporary executables. But it is cleaner to have the temporary
    179           packages be as close as possible to the final ones.
     175           some hardening security features (more information on those in
     176           the <xref linkend="pie-ssp-info"/> in chapter 8) by default. The
     177           are not strictly needed at this stage, since the compiler will
     178           only produce temporary executables. But it is cleaner to have the
     179           temporary packages be as close as possible to the final ones.
    180180          </para>
    181181        </listitem>
  • chapter08/binutils.xml

    r530771a rc49c1fb  
    179179<screen><userinput remap="test">make -k check</userinput></screen>
    180180
     181<para>Twelve tests fail in the <command>gold</command> testsuite when the
     182    <option>--enable-default-pie</option> and
     183    <option>--enable-default-ssp</option> options are passed to GCC. There
     184    is also a known failure in the <command>as</command> tests.</para>
    181185    <!-- Fixed in 2.39
    182186         https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=01ae03b
  • chapter08/gcc.xml

    r530771a rc49c1fb  
    125125    </variablelist>
    126126
    127     <note id="pie-ssp-info" xreflabel="note on PIE and SSP">
     127    <note>
     128      <anchor id="pie-ssp-info" xreflabel="note on PIE and SSP"/>
    128129      <para>
    129         PIE (position independent executable) is a technique to produce
    130         binary programs that can be loaded anywhere in memory. Together
    131         with a feature named ASLR (Address Space Layout Randomization),
    132         this allows programs to never have the same memory layout,
    133         thus defeating attacks based on reproducible memory patterns.
     130        PIE (position-independent executable) is a technique to produce
     131        binary programs that can be loaded anywhere in memory.  Without PIE,
     132        the security feature named ASLR (Address Space Layout Randomization)
     133        can be applied for the shared libraries, but not the exectutable
     134        itself.  Enabling PIE allows ASLR for the executables in addition to
     135        the shared libraries, and mitigates some attacks based on fixed
     136        addresses of sensitive code or data in the executables.
    134137      </para>
    135138      <para>
     
    137140        that the parameter stack is not corrupted. Stack corruption can
    138141        for example alter the return address of a subroutine,
    139         which would allow transferring control to an attacker program instead
    140         of the original one.
     142        which would allow transferring control to some dangerous code
     143        (existing in the program or shared libraries, or injected by the
     144        attacker somehow) instead of the original one.
    141145      </para>
    142146    </note>
     
    148152    <important>
    149153      <para>In this section, the test suite for GCC is considered
    150       important, but it takes a long time. First time builders are 
     154      important, but it takes a long time. First time builders are
    151155      encouraged to not skip it.  The time to run the tests can be
    152156      reduced significantly by adding -jx to the make command below
  • chapter08/gettext.xml

    r530771a rc49c1fb  
    6363          <para>Since bison is not yet installed in /usr, configure hardcodes
    6464          the directory containing translations for the bison program (the
    65           "locale" directory) as /tools/share/locale. Passing this variable
     65          "locale" directory) as /tools/share/locale. Passing this variable
    6666           to make allows overriding the choice made by configure.</para>
    6767        </listitem>
  • chapter08/meson.xml

    r530771a rc49c1fb  
    9797        <seg>meson</seg>
    9898        <seg>
    99            /usr/lib/python&python-minor;/site-packages/meson-&meson-version;.dist-info and 
     99           /usr/lib/python&python-minor;/site-packages/meson-&meson-version;.dist-info and
    100100           /usr/lib/python&python-minor;/site-packages/mesonbuild
    101101        </seg>
     
    109109
    110110      <varlistentry id="meson">
    111                 <term><command>meson</command></term>
     111        <term><command>meson</command></term>
    112112        <listitem>
    113113          <para>A high productivity build system</para>
  • chapter08/ncurses.xml

    r530771a rc49c1fb  
    123123
    124124    <!-- To editors: crash of shell process was very rare but really
    125          observed.  We can't simply remove /usr/lib/libncursesw.so.6.x like 
     125         observed.  We can't simply remove /usr/lib/libncursesw.so.6.x like
    126126         how we handle libmozjs-xx.so in BLFS because bash needs it, and
    127127         make will spawn new shell processes during "make install".  -->
  • chapter08/openssl.xml

    r530771a rc49c1fb  
    4444    <title>Installation of OpenSSL</title>
    4545<!--
    46     <para>First fix a problem with some advanced arcitectures with avx512
     46    <para>First fix a problem with some advanced architectures with avx512
    4747    capability:</para>
    4848
  • chapter08/readline.xml

    r530771a rc49c1fb  
    6464        <listitem>
    6565          <para>This option tells Readline that it can find the termcap
    66                library functions in the curses library, rather than a separate
    67                termcap library. It allows generating a correct
    68                <filename>readline.pc</filename> file.</para>
     66          library functions in the curses library, rather than a separate
     67          termcap library. It allows generating a correct
     68          <filename>readline.pc</filename> file.</para>
    6969        </listitem>
    7070      </varlistentry>
  • chapter08/util-linux.xml

    r530771a rc49c1fb  
    101101su tester -c "make -k check"</userinput></screen>
    102102
    103     <para>The <emphasis>hardlink</emphasis> tests will fail if the host's kernel 
     103    <para>The <emphasis>hardlink</emphasis> tests will fail if the host's kernel
    104104    does not have the option CONFIG_CRYPTO_USER_API_HASH set.</para>
    105105
  • chapter08/vim.xml

    r530771a rc49c1fb  
    171171      <filename>*.spl</filename> and optionally, the <filename>*.sug</filename>
    172172      files for your language and character encoding from <ulink
    173       url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save them to
    174       <filename class='directory'>/usr/share/&vim-docdir;/spell/</filename>.</para>
     173        url="https://github.com/vim/vim/tree/master/runtime/spell/"/> and save
     174      them to <filename class='directory'>
     175        /usr/share/&vim-docdir;/spell/</filename>.</para>
    175176
    176177      <para>To use these spell files, some configuration in
  • chapter09/usage.xml

    r530771a rc49c1fb  
    4444    <note>
    4545       <para>
    46           Classically, run level 2 above was defined as 
    47           "multi-user mode without networking", but this was only the case 
     46          Classically, run level 2 above was defined as
     47          "multi-user mode without networking", but this was only the case
    4848          many years ago when multiple users could log into a system connected via
    4949          serial ports.  In today's environment it makes no sense and
     
    167167  is that when a user is going to reboot or halt the system, nothing
    168168  needs to be started, but the order of shutdown needs to be controlled.
    169   For these run levels, all <emphasis>K</emphasis> prefixed scripts will be 
     169  For these run levels, all <emphasis>K</emphasis> prefixed scripts will be
    170170  run before any <emphasis>S</emphasis> prefixed scripts are run with the
    171171  <parameter>stop</parameter> parameter.
  • chapter10/kernel.xml

    r530771a rc49c1fb  
    106106      not work correctly or boot at all:</para>
    107107
    108       <screen role="nodump" revision="sysv">General setup -->
     108      <screen role="nodump" revision="sysv">Processor type and features ---&gt;
     109   [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
     110   [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
     111General setup ---&gt;
    109112   [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    110113   &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
     114General architecture-dependent options  ---&gt;
     115   [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
     116   [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    111117Device Drivers  ---&gt;
    112118  Graphics support ---&gt;
     
    118124   [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen>
    119125
    120       <screen role="nodump" revision="systemd">General setup -->
     126      <screen role="nodump" revision="systemd">Processor type and features ---&gt;
     127   [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
     128   [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
     129General setup ---&gt;
    121130   [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    122131   [ ] Auditing Support [CONFIG_AUDIT]
     
    131140General architecture-dependent options  ---&gt;
    132141   [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
     142   [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
     143   [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    133144Networking support  ---&gt;
    134145  Networking options  ---&gt;
     
    160171      <screen role="nodump">Processor type and features ---&gt;
    161172  [*] Support x2apic [CONFIG_X86_X2APIC]
    162 Memory Management options  ---&gt;
    163   [ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD]
    164173Device Drivers ---&gt;
    165174  [*] PCI Support ---&gt; [CONFIG_PCI]
     
    224233
    225234      <varlistentry>
     235        <term><parameter>Randomize the address of the kernel image (KASLR)</parameter></term>
     236        <listitem>
     237          <para>Enable ASLR for kernel image, to mitigate some attacks based
     238          on fixed addresses of sensitive data or code in the kernel.</para>
     239        </listitem>
     240      </varlistentry>
     241
     242      <varlistentry>
    226243        <term>
    227244          <parameter>
     
    245262          <para>This will require <command>cpio</command> building the kernel.
    246263          <command>cpio</command> is not installed by LFS.</para>
     264        </listitem>
     265      </varlistentry>
     266
     267      <varlistentry>
     268        <term><parameter>Strong Stack Protector</parameter></term>
     269        <listitem>
     270          <para>Enable SSP for the kernel.  We've enabled it for the entire
     271          userspace with <parameter>--enable-default-ssp</parameter>
     272          configuring GCC, but the kernel does not use GCC default setting
     273          for SSP.  We enable it explicitly here.</para>
    247274        </listitem>
    248275      </varlistentry>
     
    284311          has no effect, but also does no harm if x2APIC is disabled by the
    285312          firmware.</para>
    286         </listitem>
    287       </varlistentry>
    288 
    289       <varlistentry>
    290         <term><parameter>Enable userfaultfd() system call</parameter></term>
    291         <listitem>
    292           <para>If this option is enabled, a security vulnerability not
    293           resolved in Linux-&linux-version; yet will be exploitable.
    294           Disable this option to avoid the vulnerability.  This system call
    295           is not used by any part of LFS or BLFS.</para>
    296313        </listitem>
    297314      </varlistentry>
  • git-version.sh

    r530771a rc49c1fb  
    22
    33if [ "$1" = sysv ]; then
    4         SYSV="INCLUDE"
    5         SYSTEMD="IGNORE "
     4    SYSV="INCLUDE"
     5    SYSTEMD="IGNORE "
    66elif [ "$1" = systemd ]; then
    7         SYSV="IGNORE "
    8         SYSTEMD="INCLUDE"
     7    SYSV="IGNORE "
     8    SYSTEMD="INCLUDE"
    99else
    10         echo You must provide either \"sysv\" or \"systemd\" as argument
    11         exit 1
     10    echo You must provide either \"sysv\" or \"systemd\" as argument
     11    exit 1
    1212fi
    1313
     
    1616
    1717if ! git status > /dev/null; then
    18         # Either it's not a git repository, or git is unavaliable.
    19         # Just workaround.
    20         echo "<![ %sysv; ["                                    >  version.ent
    21         echo "<!ENTITY version           \"unknown\">"         >> version.ent
    22         echo "]]>"                                             >> version.ent
    23         echo "<![ %systemd; ["                                 >> version.ent
    24         echo "<!ENTITY version           \"unknown-systemd\">" >> version.ent
    25         echo "]]>"                                             >> version.ent
    26         echo "<!ENTITY releasedate       \"unknown\">"         >> version.ent
    27         echo "<!ENTITY copyrightdate     \"1999-2022\">"       >> version.ent
    28         exit 0
     18    # Either it's not a git repository, or git is unavaliable.
     19    # Just workaround.
     20    echo "<![ %sysv; ["                                    >  version.ent
     21    echo "<!ENTITY version           \"unknown\">"         >> version.ent
     22    echo "]]>"                                             >> version.ent
     23    echo "<![ %systemd; ["                                 >> version.ent
     24    echo "<!ENTITY version           \"unknown-systemd\">" >> version.ent
     25    echo "]]>"                                             >> version.ent
     26    echo "<!ENTITY releasedate       \"unknown\">"         >> version.ent
     27    echo "<!ENTITY copyrightdate     \"1999-2022\">"       >> version.ent
     28    exit 0
    2929fi
    3030
     
    4040
    4141case $day in
    42         "1" | "21" | "31" ) suffix="st";;
    43         "2" | "22" ) suffix="nd";;
    44         "3" | "23" ) suffix="rd";;
    45         * ) suffix="th";;
     42    "1" | "21" | "31" ) suffix="st";;
     43    "2" | "22" ) suffix="nd";;
     44    "3" | "23" ) suffix="rd";;
     45    * ) suffix="th";;
    4646esac
    4747
     
    5454
    5555if [ "$(git diff HEAD | wc -l)" != "0" ]; then
    56         version="$version+"
    57         versiond="$versiond+"
     56    version="$version+"
     57    versiond="$versiond+"
    5858fi
    5959
  • packages.ent

    r530771a rc49c1fb  
    208208<!ENTITY flex-fin-sbu "0.4 SBU">
    209209
    210 <!ENTITY gawk-version "5.1.1">
    211 <!ENTITY gawk-size "3,075 KB">
     210<!ENTITY gawk-version "5.2.0">
     211<!ENTITY gawk-size "3,306 KB">
    212212<!ENTITY gawk-url "&gnu;gawk/gawk-&gawk-version;.tar.xz">
    213 <!ENTITY gawk-md5 "83650aa943ff2fd519b2abedf8506ace">
     213<!ENTITY gawk-md5 "2f724d925873fc82f5e7b1d605ba9a42">
    214214<!ENTITY gawk-home "&gnu-software;gawk/">
    215215<!ENTITY gawk-tmp-du "45 MB">
  • part3intro/generalinstructions.xml

    r530771a rc49c1fb  
    8383          <para>Place all the sources and patches in a directory that will be
    8484          accessible from the chroot environment such as
    85           <filename class="directory">/mnt/lfs/sources/</filename>.<!-- Do
     85          <filename class="directory">/mnt/lfs/sources/</filename>.<!-- Do
    8686          <emphasis>not</emphasis> put sources in
    87           <filename class="directory">/mnt/lfs/tools/</filename>. --></para>
     87          <filename class="directory">/mnt/lfs/tools/</filename>. --></para>
    8888        </listitem>
    8989        <listitem>
  • prologue/why.xml

    r530771a rc49c1fb  
    596596        <para>Wheel</para>
    597597
    598         <para>This package contains a Python module that is the 
     598        <para>This package contains a Python module that is the
    599599        reference implementation of the Python wheel packaging standard.
    600600        </para>
  • stylesheets/lfs-xsl/lfs.css.new

    r530771a rc49c1fb  
    1515a:link {
    1616  color:           #22b;
    17   font-weight:     bold; 
     17  font-weight:     bold;
    1818  text-decoration: none;
    1919}
    2020
    2121a.ulink:link {
    22   font-weight:     bold; 
     22  font-weight:     bold;
    2323  color:           #55f;
    2424  text-decoration: none;
     
    3030}
    3131
    32 a:hover, 
     32a:hover,
    3333a:focus {
    3434  color:           #d30e08 ! important;
     
    8282
    8383/* Sections */
    84 div.sect1, 
    85 div.appendix, 
    86 div.wrap, 
    87 div.chapter, 
     84div.sect1,
     85div.appendix,
     86div.wrap,
     87div.chapter,
    8888div.part,
    8989div.preface,
     
    101101
    102102@media(max-width:1220px) and (min-height:550px){
    103   div.sect1, 
    104   div.appendix, 
    105   div.wrap, 
    106   div.chapter, 
     103  div.sect1,
     104  div.appendix,
     105  div.wrap,
     106  div.chapter,
    107107  div.part,
    108108  div.preface,
     
    121121      (max-width:1050px) and (min-width:800px) and (max-height:550px){
    122122
    123   div.sect1, 
    124   div.appendix, 
    125   div.wrap, 
    126   div.chapter, 
     123  div.sect1,
     124  div.appendix,
     125  div.wrap,
     126  div.chapter,
    127127  div.part,
    128128  div.preface,
     
    139139@media(max-width:550px),
    140140      (max-width:800px) and (max-height:550px){
    141   div.sect1, 
    142   div.appendix, 
    143   div.wrap, 
    144   div.chapter, 
     141  div.sect1,
     142  div.appendix,
     143  div.wrap,
     144  div.chapter,
    145145  div.part,
    146146  div.preface,
     
    170170}
    171171
    172 .package, 
    173 .kernel, 
    174 .installation, 
    175 .commands, 
    176 .testing, 
    177 .configuration, 
     172.package,
     173.kernel,
     174.installation,
     175.commands,
     176.testing,
     177.configuration,
    178178.content {
    179179  padding: 0em 0.5em 0.2em 0em;
     
    223223}
    224224
    225 .preface h1, 
    226 .part h1, 
    227 .chapter h1, 
    228 .appendix h1, 
    229 .index h1, 
    230 .sect1 h1, 
     225.preface h1,
     226.part h1,
     227.chapter h1,
     228.appendix h1,
     229.index h1,
     230.sect1 h1,
    231231.wrap h1 {
    232232  background:    none; /*#f5f6f7;*/
     
    247247}
    248248
    249 .titlepage h2, 
     249.titlepage h2,
    250250div.navheader  h2 {
    251251  font-size:     120%;
     
    277277}
    278278
    279 .titlepage h3, 
     279.titlepage h3,
    280280div.navheader  h3 {
    281281  font-size:     120%;
     
    284284}
    285285
    286 .titlepage h4, 
     286.titlepage h4,
    287287div.navheader h4 {
    288288  font-size:     110%;
     
    292292
    293293@media(max-width:550px){
    294   .titlepage h2, 
     294  .titlepage h2,
    295295  div.navheader  h2 {
    296296    font-size:     4.7vmin;
     
    299299  }
    300300
    301   .titlepage h3, 
     301  .titlepage h3,
    302302  div.navheader  h3 {
    303303    font-size:     4.5vmin;
     
    306306  }
    307307
    308   .titlepage h4, 
     308  .titlepage h4,
    309309  div.navheader h4 {
    310310    font-size:     4.3vmin;
     
    338338}
    339339
    340 @media(min-width:550px) and (min-height:550px), 
     340@media(min-width:550px) and (min-height:550px),
    341341      (min-width:1220px) and (min-height:550px){
    342342  div.navfooter{
     
    407407}
    408408
    409 div.navheader ul li.prev, 
     409div.navheader ul li.prev,
    410410div.navfooter ul li.prev {
    411411  position:       fixed;
     
    422422}
    423423/*
    424 div.navheader ul li.next, 
     424div.navheader ul li.next,
    425425div.navfooter ul li.next {
    426426  position:     fixed;
     
    434434}
    435435*/
    436 div.navheader ul li.next, 
     436div.navheader ul li.next,
    437437div.navfooter ul li.next {
    438438  position:     fixed;
     
    446446}
    447447
    448 div.navheader ul li.prev p, 
     448div.navheader ul li.prev p,
    449449div.navfooter ul li.prev p,
    450 div.navheader ul li.next p, 
     450div.navheader ul li.next p,
    451451div.navfooter ul li.next p {
    452452  padding:        0em;
     
    459459}
    460460
    461 div.navheader ul li.home, 
     461div.navheader ul li.home,
    462462div.navfooter ul li.home {
    463463  position:    fixed;
     
    473473}
    474474
    475 div.navheader ul li.up, 
     475div.navheader ul li.up,
    476476div.navfooter ul li.up {
    477477  position:    fixed;
     
    488488}
    489489
    490 div.navheader ul li.up a, 
     490div.navheader ul li.up a,
    491491div.navfooter ul li.up a {
    492492  display:         block;
     
    496496}
    497497
    498 div.navheader ul li.home a, 
     498div.navheader ul li.home a,
    499499div.navfooter ul li.home a {
    500500  display:         block;
     
    504504}
    505505
    506 div.navheader ul li.prev a, 
     506div.navheader ul li.prev a,
    507507div.navfooter ul li.prev a {
    508508  display:         block;
     
    523523}
    524524*/
    525 div.navheader ul li.next a, 
     525div.navheader ul li.next a,
    526526div.navfooter ul li.next a{
    527527  display:         block;
     
    532532
    533533@media(max-width:1220px) and (min-height:550px){
    534   div.navheader ul li, 
     534  div.navheader ul li,
    535535  div.navfooter ul li{
    536536    width: 120px;
    537537  }
    538  
    539   div.navheader ul li.prev p, 
     538
     539  div.navheader ul li.prev p,
    540540  div.navheader ul li.next p,
    541   div.navfooter ul li.prev p, 
     541  div.navfooter ul li.prev p,
    542542  div.navfooter ul li.next p{
    543543    text-align: center;
     
    545545    margin:     2px;*/
    546546    height:     7.5vh;  /* 7.5% ov viewport height */
    547     overflow:   hidden; 
     547    overflow:   hidden;
    548548  }
    549549/*
    550   div.navheader ul li.prev p:after, 
    551   div.navheader ul li.next p:after, 
    552   div.navfooter ul li.prev p:after, 
     550  div.navheader ul li.prev p:after,
     551  div.navheader ul li.next p:after,
     552  div.navfooter ul li.prev p:after,
    553553  div.navfooter ul li.next p:after{
    554554    content:    "";
     
    559559    width:      100%;
    560560    height:     2.8em;
    561    
     561
    562562    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(255, 255, 255, 1) 100%);
    563    
     563
    564564  }
    565565*/
    566   div.navheader ul li.prev, 
     566  div.navheader ul li.prev,
    567567  div.navfooter ul li.prev {
    568568    position: fixed;
     
    574574  }
    575575
    576   div.navheader ul li.prev a, 
     576  div.navheader ul li.prev a,
    577577  div.navfooter ul li.prev a{
    578578    display:         block;
     
    583583    background-size: 25px 25px;
    584584  }
    585  
    586   div.navheader ul li.next, 
     585
     586  div.navheader ul li.next,
    587587  div.navfooter ul li.next {
    588588    position: fixed;
     
    593593    margin:   0px;
    594594  }
    595  
    596   div.navheader ul li.next a, 
     595
     596  div.navheader ul li.next a,
    597597  div.navfooter ul li.next a {
    598598    display:         block;
     
    603603    background-size: 25px 25px;
    604604  }
    605  
    606   div.navheader ul li.home, 
     605
     606  div.navheader ul li.home,
    607607  div.navheader ul li.up,
    608   div.navfooter ul li.home, 
     608  div.navfooter ul li.home,
    609609  div.navfooter ul li.up {
    610610    position: fixed;
     
    616616  }
    617617
    618   div.navheader ul li.home, 
     618  div.navheader ul li.home,
    619619  div.navfooter ul li.home{
    620620    top:25vh;
    621621  }
    622622
    623   div.navheader ul li.up, 
     623  div.navheader ul li.up,
    624624  div.navfooter ul li.up{
    625625    top:10vh;
    626626  }
    627  
    628   div.navheader ul li.home a, 
     627
     628  div.navheader ul li.home a,
    629629  div.navfooter ul li.home a{
    630630    display:         block;
     
    636636  }
    637637
    638   div.navheader ul li.up a, 
     638  div.navheader ul li.up a,
    639639  div.navfooter ul li.up a{
    640640    display:         block;
     
    648648/* End media */
    649649
    650 @media(max-width:1220px) and (max-height:550px) and (min-width:800px), 
     650@media(max-width:1220px) and (max-height:550px) and (min-width:800px),
    651651      (min-width:1220px) and (max-height:350px){
    652   div.navheader ul li.prev p, 
     652  div.navheader ul li.prev p,
    653653  div.navfooter ul li.prev p,
    654   div.navheader ul li.next p, 
     654  div.navheader ul li.next p,
    655655  div.navfooter ul li.next p
    656656  {
    657657    display: none;
    658658  }
    659  
    660   div.navheader ul li.prev, 
     659
     660  div.navheader ul li.prev,
    661661  div.navfooter ul li.prev {
    662662    max-width:   120px;
    663663    position:    fixed;
    664664    display:     block;
    665     top:         45vmin;  /* smaller of 60% viewport height, width */ 
     665    top:         45vmin;  /* smaller of 60% viewport height, width */
    666666    padding:     0px;
    667667    margin-left: 10px;
    668668    font-size:   90%;
    669669  }
    670  
    671   div.navheader ul li.next, 
     670
     671  div.navheader ul li.next,
    672672  div.navfooter ul li.next {
    673673    max-width:   120px;
     
    680680    font-size:   90%;
    681681  }
    682  
    683   div.navheader ul li.prev a, 
     682
     683  div.navheader ul li.prev a,
    684684  div.navfooter ul li.prev a {
    685685    background-size: 20px 20px;
    686686  }
    687  
    688   div.navheader ul li.next a, 
     687
     688  div.navheader ul li.next a,
    689689  div.navfooter ul li.next a{
    690690    display:         block;
     
    694694    text-align:      left;
    695695  }
    696  
    697   div.navheader ul li.home, 
     696
     697  div.navheader ul li.home,
    698698  div.navheader ul li.up,
    699   div.navfooter ul li.home, 
     699  div.navfooter ul li.home,
    700700  div.navfooter ul li.up {
    701701    max-width:   120px;
     
    707707    font-size:   90%;
    708708  }
    709  
    710   div.navheader ul li.home, 
     709
     710  div.navheader ul li.home,
    711711  div.navfooter ul li.home{
    712712    top: 35vmin;
    713713  }
    714  
    715   div.navheader ul li.up, 
     714
     715  div.navheader ul li.up,
    716716  div.navfooter ul li.up{
    717717    top: 10vmin;
    718718  }
    719  
    720   div.navheader ul li.home a, 
     719
     720  div.navheader ul li.home a,
    721721  div.navfooter ul li.home a,
    722   div.navheader ul li.up a, 
     722  div.navheader ul li.up a,
    723723  div.navfooter ul li.up a{
    724724    padding: 10px 5px  10px 35px;
     
    729729@media(max-width:550px),
    730730      (max-width:800px) and (max-height:550px){
    731   div.navheader ul li.prev p, 
     731  div.navheader ul li.prev p,
    732732  div.navfooter ul li.prev p,
    733   div.navheader ul li.next p, 
     733  div.navheader ul li.next p,
    734734  div.navfooter ul li.next p {
    735735    display: none;
    736736  }
    737  
    738   div.navheader ul li.prev, 
     737
     738  div.navheader ul li.prev,
    739739  div.navfooter ul li.prev {
    740740    position: fixed;
     
    745745    margin:   0px;
    746746  }
    747  
    748   div.navheader ul li.prev a, 
     747
     748  div.navheader ul li.prev a,
    749749  div.navfooter ul li.prev a{
    750750    display:         block;
     
    758758    overflow:        hidden;
    759759  }
    760  
    761   div.navheader ul li.next, 
     760
     761  div.navheader ul li.next,
    762762  div.navfooter ul li.next {
    763763    position: fixed;
     
    768768    margin:   0px;
    769769  }
    770  
    771   div.navheader ul li.next a, 
     770
     771  div.navheader ul li.next a,
    772772  div.navfooter ul li.next a{
    773773    display:         block;
     
    781781    overflow:        hidden;
    782782  }
    783  
    784   div.navheader ul li.home, 
     783
     784  div.navheader ul li.home,
    785785  div.navheader ul li.up,
    786   div.navfooter ul li.home, 
     786  div.navfooter ul li.home,
    787787  div.navfooter ul li.up {
    788788    position: fixed;
     
    793793    left:     0px;
    794794  }
    795  
    796   div.navheader ul li.home, 
     795
     796  div.navheader ul li.home,
    797797  div.navfooter ul li.home{
    798798    top: 40vmin;
    799799  }
    800  
    801   div.navheader ul li.up, 
     800
     801  div.navheader ul li.up,
    802802  div.navfooter ul li.up{
    803803    top: 20vmin;
    804804  }
    805  
    806   div.navheader ul li.home a, 
     805
     806  div.navheader ul li.home a,
    807807  div.navfooter ul li.home a{
    808808    display:         block;
     
    815815    overflow:        hidden;
    816816  }
    817  
    818   div.navheader ul li.up a, 
     817
     818  div.navheader ul li.up a,
    819819  div.navfooter ul li.up a{
    820820    display:         block;
     
    831831
    832832/* TOC */
    833 div.toc ul, 
    834 div.index ul, 
    835 div.navheader ul, 
     833div.toc ul,
     834div.index ul,
     835div.navheader ul,
    836836div.navfooter ul {
    837837  list-style: none;
    838838}
    839839
    840 li.preface, 
     840li.preface,
    841841.part li.appendix {
    842842  margin-left: 1em;
     
    847847}
    848848
    849 li.appendix h3, 
    850 li.glossary h3, 
     849li.appendix h3,
     850li.glossary h3,
    851851li.index h3 {
    852852  margin: 0.5em
     
    912912    margin-left: 1em;
    913913  }
    914  
     914
    915915  .item + .indexref {
    916916    display:      inline-block;
     
    918918    margin-left:  1em;
    919919  }
    920  
     920
    921921  .secitem + .indexref {
    922922    display:      inline-block;
     
    948948}
    949949
    950 div.note, 
     950div.note,
    951951div.tip {
    952952  margin:        1em;
     
    959959}
    960960
    961 div.important, 
    962 div.warning, 
     961div.important,
     962div.warning,
    963963div.caution {
    964964  margin:        1em;
     
    971971}
    972972
    973 div.important h3, 
    974 div.warning h3, 
     973div.important h3,
     974div.warning h3,
    975975div.caution h3 {
    976976  color: #900;
    977977}
    978978
    979 div.important em, 
    980 div.warning em, 
     979div.important em,
     980div.warning em,
    981981div.caution em {
    982982  color:       #000;
     
    996996}
    997997
    998 .table table th, 
     998.table table th,
    999999.table table td {
    10001000  padding:    0.2em 2em 0.2em 2em;
     
    10391039/* End media */
    10401040
    1041 .variablelist td span, 
     1041.variablelist td span,
    10421042td p {
    10431043  margin:  0.25em;
     
    11131113    width:   100%;
    11141114  }
    1115  
     1115
    11161116  .package .segbody, .content .segbody {
    11171117    display:      inline-block;
     
    11951195
    11961196/* Indented blocks */
    1197 p, 
     1197p,
    11981198blockquote {
    11991199  padding-left:  1em;
     
    12021202
    12031203/* Monospaced elements */
    1204 tt, 
    1205 code, 
    1206 kbd, 
    1207 pre, 
     1204tt,
     1205code,
     1206kbd,
     1207pre,
    12081208.command {
    12091209  font-family: monospace;
     
    12301230}
    12311231
    1232 .literal, 
     1232.literal,
    12331233.prompt {
    12341234  font-weight: normal;
  • udev-lfs/ChangeLog

    r530771a rc49c1fb  
    99     allow build with util-linux in LFS's /tools directory.
    1010
    11 2010-01-26      Matt Burgess <matthew@linuxfromscratch.org>
    12         * 55-lfs.rules: Remove lots of rules that have been merged upstream.
    13         * 61-cdrom.rules: Remove as upstream has a replacement.
    14         * doc/*: Cleanup and rewrite now that the rules are much simpler.
    15 
    16 2009-09-25      Bryan Kadzban <bryan@linuxfromscratch.org>
    17         * 55-lfs.rules: Make the RTC rule (which runs setclock) work for people
    18           that don't use the RTC-class driver -- add another copy of the rule,
    19           using KERNEL=="rtc" instead of SUBSYSTEM=="rtc".  Also move the ACTION
    20           match before the assignment to MODE.
    21 
    22 2009-05-23      Bruce Dubbs <bdubbs@linuxfromscratch.org>
    23         * 55-lfs.rules: Set the rtc by udev upon boot.  Removed aio device from
    24           udev configuration so defaults are used.
    25 
    26 2009-05-16      Bryan Kadzban <bryan@linuxfromscratch.org>
    27         * 55-lfs.rules: Adopt udev permissions for random, urandom, kmsg, and
    28           input devices (including psaux, which probably doesn't exist anymore
    29           anyway).
    30 
    31 2009-05-16      Matt Burgess <matthew@linuxfromscratch.org>
    32         * 55-lfs.rules: Remove the block rule as it was only setting
    33           permissions that Udev will set by default
    34         * 55-lfs.rules: Remove the rfcomm rule as the group it sets is already
    35           included in upstream's rule
    36         * 55-lfs-rules: Remove the tape rules as the group they sets is already
    37           included in upstream's rules
    38 
    39 2009-03-15      Bryan Kadzban <bryan@linuxfromscratch.org>
    40         * 55-lfs.rules: Remove the ISDN-handling rules (replaced with upstream's
    41           version, which has a better match via SUBSYSTEM).
    42         * 55-lfs.rules: Replace "uucp" with "dialout" now that udev has decided
    43           to standardize on a Debian-like setup (uucp is for UUCP daemons to use
    44           for privilege separation; dialout is for users and devices).
     112010-01-26  Matt Burgess <matthew@linuxfromscratch.org>
     12   * 55-lfs.rules: Remove lots of rules that have been merged upstream.
     13   * 61-cdrom.rules: Remove as upstream has a replacement.
     14   * doc/*: Cleanup and rewrite now that the rules are much simpler.
     15
     162009-09-25  Bryan Kadzban <bryan@linuxfromscratch.org>
     17   * 55-lfs.rules: Make the RTC rule (which runs setclock) work for people
     18     that don't use the RTC-class driver -- add another copy of the rule,
     19     using KERNEL=="rtc" instead of SUBSYSTEM=="rtc".  Also move the ACTION
     20     match before the assignment to MODE.
     21
     222009-05-23  Bruce Dubbs <bdubbs@linuxfromscratch.org>
     23   * 55-lfs.rules: Set the rtc by udev upon boot.  Removed aio device from
     24     udev configuration so defaults are used.
     25
     262009-05-16  Bryan Kadzban <bryan@linuxfromscratch.org>
     27   * 55-lfs.rules: Adopt udev permissions for random, urandom, kmsg, and
     28     input devices (including psaux, which probably doesn't exist anymore
     29     anyway).
     30
     312009-05-16  Matt Burgess <matthew@linuxfromscratch.org>
     32   * 55-lfs.rules: Remove the block rule as it was only setting
     33     permissions that Udev will set by default
     34   * 55-lfs.rules: Remove the rfcomm rule as the group it sets is already
     35     included in upstream's rule
     36   * 55-lfs-rules: Remove the tape rules as the group they sets is already
     37     included in upstream's rules
     38
     392009-03-15  Bryan Kadzban <bryan@linuxfromscratch.org>
     40   * 55-lfs.rules: Remove the ISDN-handling rules (replaced with upstream's
     41     version, which has a better match via SUBSYSTEM).
     42   * 55-lfs.rules: Replace "uucp" with "dialout" now that udev has decided
     43     to standardize on a Debian-like setup (uucp is for UUCP daemons to use
     44     for privilege separation; dialout is for users and devices).
    4545
    46462008-12-07  Bruce Dubbs <bdubbs@linuxfromscratch.org>
    47         * 55-lfs.rules: Change one line to use continuation so it does
    48           not overflow the book's width.
     47   * 55-lfs.rules: Change one line to use continuation so it does
     48     not overflow the book's width.
    4949
    50502008-12-07  Bryan Kadzban  <bryan@linuxfromscratch.org>
    51         * 55-lfs.rules: Remove several rules that are either provided by upstream,
    52           or that don't have any effect (there is no /dev/js or /dev/djs according
    53           to devices.txt).
    54         * 55-lfs.rules, 61-cdrom.rules: Replace ACTION=="add" with "add|change"
    55           everywhere, per upstream's general request.
     51   * 55-lfs.rules: Remove several rules that are either provided by upstream,
     52     or that don't have any effect (there is no /dev/js or /dev/djs according
     53     to devices.txt).
     54   * 55-lfs.rules, 61-cdrom.rules: Replace ACTION=="add" with "add|change"
     55     everywhere, per upstream's general request.
    5656
    57572008-11-11  Bryan Kadzban  <bryan@linuxfromscratch.org>
    58         * 55-lfs.rules, 61-cdrom.rules: Fix comments to use the right rule
    59           numbers.  Thanks to Trent Shea for the fix.  Closes #2278.
     58   * 55-lfs.rules, 61-cdrom.rules: Fix comments to use the right rule
     59     numbers.  Thanks to Trent Shea for the fix.  Closes #2278.
    6060
    61612008-10-15  DJ Lucas <dj@linuxfromscratch.org>
    62         * 55-lfs.rules: Override default perms on floppy disk devices provided
    63           by 50-udev-default.rules.  Thanks to Bruce Dubbs for the fix.  Closes
    64           LFS ticket #2076.
     62   * 55-lfs.rules: Override default perms on floppy disk devices provided
     63     by 50-udev-default.rules.  Thanks to Bruce Dubbs for the fix.  Closes
     64     LFS ticket #2076.
    6565
    66662008-05-21  Bryan Kadzban  <bryan@linuxfromscratch.org>
    67         * 81-firmware.rules, doc/81-firmware.txt: Remove.  This rule is
    68           already handled by udev's 50-udev-default.rules file.  The docs
    69           can be added back later if needed.
    70         * Makefile: Don't install the above deleted files.
    71         * 55-lfs.rules: Remove the device-mapper rule, since the upstream
    72           50-udev-default.rules file handles it properly.
     67   * 81-firmware.rules, doc/81-firmware.txt: Remove.  This rule is
     68     already handled by udev's 50-udev-default.rules file.  The docs
     69     can be added back later if needed.
     70   * Makefile: Don't install the above deleted files.
     71   * 55-lfs.rules: Remove the device-mapper rule, since the upstream
     72     50-udev-default.rules file handles it properly.
    7373
    74742008-04-02  Bryan Kadzban  <bryan@linuxfromscratch.org>
    75         * Makefile: Make the package DESTDIR-friendly by installing the docs
    76           into a fixed $(PREFIX)/share/doc/udev-config directory, instead of
    77           trying to figure out what version of udev was just installed.
     75   * Makefile: Make the package DESTDIR-friendly by installing the docs
     76     into a fixed $(PREFIX)/share/doc/udev-config directory, instead of
     77     trying to figure out what version of udev was just installed.
    7878
    79792007-10-30  Bryan Kadzban  <bryan@linuxfromscratch.org>
    80         * 55-lfs.rules: Since the dialout group was renamed to uucp, delete
    81           the rules that override upstream's assignment of the dialout group.
    82           Replace "dialout" with "uucp" on the remaining rules.
     80   * 55-lfs.rules: Since the dialout group was renamed to uucp, delete
     81     the rules that override upstream's assignment of the dialout group.
     82     Replace "dialout" with "uucp" on the remaining rules.
    8383
    84842007-10-29  Bryan Kadzban  <bryan@linuxfromscratch.org>
    85         * 51-lfs.rules: Move to 55-lfs.rules.
    86         * doc/51-lfs.rules: Move to doc/55-lfs.rules.
     85   * 51-lfs.rules: Move to 55-lfs.rules.
     86   * doc/51-lfs.rules: Move to doc/55-lfs.rules.
    8787
    88882007-10-27  Bryan Kadzban  <bryan@linuxfromscratch.org>
    89         * 25-lfs.rules: Some rules in here are duplicates of rules from udev's
    90           new 50-udev-defaults.rules file; remove them. Override permissions
    91           where needed elsewhere (and document overrides in comments).
    92         * 26-modprobe.rules: Provided by udev's 80-drivers.rules and built-in
    93           modaliases for SCSI device-type modules in 2.6.22+ kernels; remove.
    94 
    95         * 25-lfs.rules: Move to 51-lfs.rules.
    96         * 27-firmware.rules: Move to 81-firmware.rules.
    97         * 81-cdrom.rules: Move to 61-cdrom.rules.
    98 
    99         * doc/25-lfs.txt: Rename to 51-lfs.txt.
    100         * doc/26-modprobe.txt: Rename to 80-drivers.txt, and modify to reflect
    101           the upstream rules.
    102         * doc/27-firmware.txt: Rename to 81-firmware.txt.
    103         * doc/81-cdrom.txt: Rename to 61-cdrom.txt.
    104 
    105         * Makefile: Use new filenames.
     89   * 25-lfs.rules: Some rules in here are duplicates of rules from udev's
     90     new 50-udev-defaults.rules file; remove them. Override permissions
     91     where needed elsewhere (and document overrides in comments).
     92   * 26-modprobe.rules: Provided by udev's 80-drivers.rules and built-in
     93     modaliases for SCSI device-type modules in 2.6.22+ kernels; remove.
     94
     95   * 25-lfs.rules: Move to 51-lfs.rules.
     96   * 27-firmware.rules: Move to 81-firmware.rules.
     97   * 81-cdrom.rules: Move to 61-cdrom.rules.
     98
     99   * doc/25-lfs.txt: Rename to 51-lfs.txt.
     100   * doc/26-modprobe.txt: Rename to 80-drivers.txt, and modify to reflect
     101     the upstream rules.
     102   * doc/27-firmware.txt: Rename to 81-firmware.txt.
     103   * doc/81-cdrom.txt: Rename to 61-cdrom.txt.
     104
     105   * Makefile: Use new filenames.
    106106
    1071072007-07-31  Dan Nicholson <dnicholson@linuxfromscratch.org>
    108         * 25-lfs.rules: Changed the usb_device rule tto create /dev/bus/usb
    109           nodes if the usb_device in 2.6.22+ kernels. The rule was also changed
    110           to only trigger on "add" events. This change is not backwards
    111           compatible with older kernels.
     108   * 25-lfs.rules: Changed the usb_device rule tto create /dev/bus/usb
     109     nodes if the usb_device in 2.6.22+ kernels. The rule was also changed
     110     to only trigger on "add" events. This change is not backwards
     111     compatible with older kernels.
    112112
    1131132007-06-12  Dan Nicholson <dnicholson@linuxfromscratch.org>
    114         * 25-lfs.rules: Fix the CPUID nodes from cpu/%n/cpu to cpu/%n/cpuid,
    115           which is what's expected in userspace apps such as x86info.
     114   * 25-lfs.rules: Fix the CPUID nodes from cpu/%n/cpu to cpu/%n/cpuid,
     115     which is what's expected in userspace apps such as x86info.
    116116
    1171172007-06-08  Bryan Kadzban  <bryan@linuxfromscratch.org>
    118         * 25-lfs.rules: Add rules for DVB devices (create nodes in /dev/dvb/)
    119           and floppies (create extra nodes based on CMOS type), copied from
    120           the SuSE rules file.  Thanks to Alexander Patrakov for the bugreport.
    121 
    122 2007-03-04  Matthew Burgess     <matthew@linuxfromscratch.org>
    123         * Makefile: Use `udevd --version' to work out what version of Udev is
    124           installed (requires Udev >= 106)
     118   * 25-lfs.rules: Add rules for DVB devices (create nodes in /dev/dvb/)
     119     and floppies (create extra nodes based on CMOS type), copied from
     120     the SuSE rules file.  Thanks to Alexander Patrakov for the bugreport.
     121
     1222007-03-04  Matthew Burgess <matthew@linuxfromscratch.org>
     123   * Makefile: Use `udevd --version' to work out what version of Udev is
     124     installed (requires Udev >= 106)
    125125
    1261262007-01-02  Bryan Kadzban  <bryan@linuxfromscratch.org>
    127         * 25-lfs.rules: Change CPU devices (cpu, msr, microcode) to be in
    128           /dev/cpu/ and /dev/cpu/N/, to match Documentation/devices.txt.
     127   * 25-lfs.rules: Change CPU devices (cpu, msr, microcode) to be in
     128     /dev/cpu/ and /dev/cpu/N/, to match Documentation/devices.txt.
    129129
    1301302006-10-21  Bryan Kadzban  <bryan@linuxfromscratch.org>
    131         * Makefile: Add a missing backslash in install-extra-doc.
    132 
    133         * 05-udev-early.rules, 60-persistent-input.rules,
    134           60-persistent-storage.rules, 95-udev-late.rules: Remove.  The book
    135           will install these files from udev's etc/udev/rules.d directory
    136           instead.
    137         * Makefile: Don't install these rules files after all.  Also, only
    138           install corresponding docs if requested.
     131   * Makefile: Add a missing backslash in install-extra-doc.
     132
     133   * 05-udev-early.rules, 60-persistent-input.rules,
     134     60-persistent-storage.rules, 95-udev-late.rules: Remove.  The book
     135     will install these files from udev's etc/udev/rules.d directory
     136     instead.
     137   * Makefile: Don't install these rules files after all.  Also, only
     138     install corresponding docs if requested.
    139139
    1401402006-10-20  Bryan Kadzban  <bryan@linuxfromscratch.org>
    141         * Makefile: Added; contains targets to install rules and doc files.
    142           From Dan Nicholson.
     141   * Makefile: Added; contains targets to install rules and doc files.
     142     From Dan Nicholson.
    143143
    1441442006-10-14  Bryan Kadzban  <bryan@linuxfromscratch.org>
    145         * 05-udev-early.rules, 60-persistent-storage.rules: Sync up with
    146           upstream sample rules files (from udev-102), except for one rule
    147           which is more specific in our tarball and should probably be changed
    148           upstream.
    149         * doc/60-persistent-storage.txt: Modify to match the changes.  Also
    150           fix a couple typos.
    151 
    152         * 25-lfs.rules: Remove duplicate rules (ttyS[0-9]* is also matched by
    153           tty[BC...S...][0-9]*, and ttyUSB[0-9]* is in there twice).
    154 
    155         * 25-lfs.rules: Fix Alsa device KERNEL rules.  Udev uses shell-style
    156           glob matching, not regular expressions, so the old rules would match
    157           nonsense device names like hw0asdf and pcmDzxcv.  As long as the first
    158           character after the "fixed" portion was in the list, the rule would
    159           match; it wouldn't apply the same character range to later characters.
    160 
    161         * doc/25-lfs.txt: Add a note on interaction between permissions and
    162           symlinks.
     145   * 05-udev-early.rules, 60-persistent-storage.rules: Sync up with
     146     upstream sample rules files (from udev-102), except for one rule
     147     which is more specific in our tarball and should probably be changed
     148     upstream.
     149   * doc/60-persistent-storage.txt: Modify to match the changes.  Also
     150     fix a couple typos.
     151
     152   * 25-lfs.rules: Remove duplicate rules (ttyS[0-9]* is also matched by
     153     tty[BC...S...][0-9]*, and ttyUSB[0-9]* is in there twice).
     154
     155   * 25-lfs.rules: Fix Alsa device KERNEL rules.  Udev uses shell-style
     156     glob matching, not regular expressions, so the old rules would match
     157     nonsense device names like hw0asdf and pcmDzxcv.  As long as the first
     158     character after the "fixed" portion was in the list, the rule would
     159     match; it wouldn't apply the same character range to later characters.
     160
     161   * doc/25-lfs.txt: Add a note on interaction between permissions and
     162     symlinks.
    163163
    1641642006-10-09  Bryan Kadzban  <bryan@linuxfromscrtach.org>
    165         * 25-lfs.rules: Fix fb[0-9]* device permissions (should use the default
    166           0660).
    167 
    168         * doc/25-lfs.txt: Fix typo: /dev/ptmx is given mode 0666, not 0660.
    169           Also tweak the comment about other TTY devices.
     165   * 25-lfs.rules: Fix fb[0-9]* device permissions (should use the default
     166     0660).
     167
     168   * doc/25-lfs.txt: Fix typo: /dev/ptmx is given mode 0666, not 0660.
     169     Also tweak the comment about other TTY devices.
    170170
    1711712006-10-04  Bryan Kadzban  <bryan@linuxfromscratch.org>
    172         * 05-udev-early.rules: Remove WAIT_FOR_SYSFS="bus" rule.  With kernel
    173           2.6.18, this rule is no longer required.
    174 
    175         * doc/05-udev-early.txt: Update to match.
     172   * 05-udev-early.rules: Remove WAIT_FOR_SYSFS="bus" rule.  With kernel
     173     2.6.18, this rule is no longer required.
     174
     175   * doc/05-udev-early.txt: Update to match.
    176176
    1771772006-09-28  Bryan Kadzban  <bryan@linuxfromscratch.org>
    178         * doc/60-persistent-storage.txt: Explain persistent storage rules, or
    179           at least the parts I understand.  (I don't use DASD or netblock or
    180           several other supported configurations.)
    181 
    182         * doc/81-cdrom.txt: Explain 81-cdrom.rules.
    183 
    184         * doc/95-udev-late.txt: Explain 95-udev-late.rules.  Documentation is
    185           now finished.
     178   * doc/60-persistent-storage.txt: Explain persistent storage rules, or
     179     at least the parts I understand.  (I don't use DASD or netblock or
     180     several other supported configurations.)
     181
     182   * doc/81-cdrom.txt: Explain 81-cdrom.rules.
     183
     184   * doc/95-udev-late.txt: Explain 95-udev-late.rules.  Documentation is
     185     now finished.
    186186
    1871872006-09-26  Bryan Kadzban  <bryan@linuxfromscratch.org>
    188         * doc/60-persistent-input.txt: Explain (in probably too much detail)
    189           60-persistent-input.rules.
     188   * doc/60-persistent-input.txt: Explain (in probably too much detail)
     189     60-persistent-input.rules.
    190190
    1911912006-09-24  Bryan Kadzban  <bryan@linuxfromscratch.org>
    192         * doc/05-udev-early.txt: Rewrap to fit 80 columns.
    193 
    194         * doc/26-modprobe.txt: Explain 26-modprobe.rules, and modaliases.
    195 
    196         * doc/27-firmware.txt: Explain 27-firmware.rules.
     192   * doc/05-udev-early.txt: Rewrap to fit 80 columns.
     193
     194   * doc/26-modprobe.txt: Explain 26-modprobe.rules, and modaliases.
     195
     196   * doc/27-firmware.txt: Explain 27-firmware.rules.
    197197
    1981982006-09-24  Bryan Kadzban  <bryan@linuxfromscratch.org>
    199         * doc/25-lfs.txt: Explain 25-lfs.rules.
    200 
    201         * 25-lfs.rules: Use SYMLINK+= for isdn/capi20 also.
     199   * doc/25-lfs.txt: Explain 25-lfs.rules.
     200
     201   * 25-lfs.rules: Use SYMLINK+= for isdn/capi20 also.
    202202
    2032032006-09-23  Bryan Kadzban  <bryan@linuxfromscratch.org>
    204         * doc: New subdirectory to contain documentation of rules
    205         * doc/README: New file, top-level documentation
    206         * doc/*.txt: New documentation files, one for each rules file.  Only
    207           05-udev-early.txt has anything in it.
     204   * doc: New subdirectory to contain documentation of rules
     205   * doc/README: New file, top-level documentation
     206   * doc/*.txt: New documentation files, one for each rules file.  Only
     207     05-udev-early.txt has anything in it.
    208208
    2092092006-09-23  Bryan Kadzban  <bryan@linuxfromscratch.org>
    210         * 25-lfs.rules: Add "ignore_device" to OPTIONS for DRI devices, instead
    211           of setting NAME to an empty string.  This matches the way we ignore
    212           devmapper / LVM devices.
     210   * 25-lfs.rules: Add "ignore_device" to OPTIONS for DRI devices, instead
     211     of setting NAME to an empty string.  This matches the way we ignore
     212     devmapper / LVM devices.
    213213
    2142142006-09-22  Bryan Kadzban  <bryan@linuxfromscratch.org>
    215         * 60-persistent-input.rules, 95-udev-late.rules: Import from udev-100.
    216           60-persistent-input.rules creates persistent symlinks for input
    217           devices, and 95-udev-late.rules enables udevmonitor.
    218 
    219         * 60-persistent-storage.rules: Replace ATTRS{../removable} with just
    220           ATTRS{removable} on partition devices. Replace ATTRS{removable}
    221           with ATTR{removable} on whole-disk devices.
     215   * 60-persistent-input.rules, 95-udev-late.rules: Import from udev-100.
     216     60-persistent-input.rules creates persistent symlinks for input
     217     devices, and 95-udev-late.rules enables udevmonitor.
     218
     219   * 60-persistent-storage.rules: Replace ATTRS{../removable} with just
     220     ATTRS{removable} on partition devices. Replace ATTRS{removable}
     221     with ATTR{removable} on whole-disk devices.
    222222
    2232232006-09-20  Bryan Kadzban  <bryan@linuxfromscratch.org>
    224         * 05-early.rules: Missed a rule in the last change.  ENV{PHYSDEVBUS}
    225           in the rule that waits for the "bus" symlink should be replaced by
    226           SUBSYSTEMS.
     224   * 05-early.rules: Missed a rule in the last change.  ENV{PHYSDEVBUS}
     225     in the rule that waits for the "bus" symlink should be replaced by
     226     SUBSYSTEMS.
    227227
    2282282006-09-20  Bryan Kadzban  <bryan@linuxfromscratch.org>
    229         * Adapted rules to the new matches used in udev-098 and above (e.g.,
    230           SYSFS becomes ATTRS).  Prevents warnings, and support for the old
    231           matches will be removed eventually.  These rules will not work with
    232           udev-097 and before!
    233         * Fixed several bugs in the rules left over from previous udev
    234           versions (missing commas, overwriting user symlinks using ="..."
    235           instead of +="...", and matching against "*" instead of "?*").
    236 
    237         * Renamed CHANGELOG to ChangeLog, started using pseudo-GNU-format
    238           entries.  (See standards.info; search it for "changelog" to get
    239           the general gist.)
     229   * Adapted rules to the new matches used in udev-098 and above (e.g.,
     230     SYSFS becomes ATTRS).  Prevents warnings, and support for the old
     231     matches will be removed eventually.  These rules will not work with
     232     udev-097 and before!
     233   * Fixed several bugs in the rules left over from previous udev
     234     versions (missing commas, overwriting user symlinks using ="..."
     235     instead of +="...", and matching against "*" instead of "?*").
     236
     237   * Renamed CHANGELOG to ChangeLog, started using pseudo-GNU-format
     238     entries.  (See standards.info; search it for "changelog" to get
     239     the general gist.)
    240240
    241241dnicholson - Jul 14, 2006
    242         * Fixed usbdev PROGRAM so that it works with the BusyBox sh. Thanks
    243           to Anthony Wright.
     242   * Fixed usbdev PROGRAM so that it works with the BusyBox sh. Thanks
     243     to Anthony Wright.
    244244
    245245n/a - Jul 12, 2006
    246         * Added options so temporary nodes are not created with device-mapper
    247         * Adapted cdrom rules to identify CD-ROM drives correctly by adding
    248           SUBSYSTEM=="block" test.
    249         * Added simple 81-cdrom.rules file to set cdrom group ownership
     246   * Added options so temporary nodes are not created with device-mapper
     247   * Adapted cdrom rules to identify CD-ROM drives correctly by adding
     248     SUBSYSTEM=="block" test.
     249   * Added simple 81-cdrom.rules file to set cdrom group ownership
    250250
    251251n/a - Jun 07, 2006
    252         * Removed nvidia rules
    253         * Removed bug reporting rule
    254         * Moved Debian-based persistent CD-ROM rules to contrib
    255         * Adapted firmware rule to udev-093
     252   * Removed nvidia rules
     253   * Removed bug reporting rule
     254   * Moved Debian-based persistent CD-ROM rules to contrib
     255   * Adapted firmware rule to udev-093
    256256
    257257n/a - May 15, 2006
    258         * Part one of 25-lfs.rules rewrite
    259         * Some minor tweaking of the layout
     258   * Part one of 25-lfs.rules rewrite
     259   * Some minor tweaking of the layout
    260260
    261261n/a - May 12, 2006
    262         * Initial import of the udev-config directory.
    263         * Reorganized and modularized the rules files.
    264         * Added explanatory comments
     262   * Initial import of the udev-config directory.
     263   * Reorganized and modularized the rules files.
     264   * Added explanatory comments
  • udev-lfs/contrib/debian/write_cd_aliases

    r530771a rc49c1fb  
    108108comment="$ID_MODEL ($ID_PATH)"
    109109
    110                           write_rule "$match" "cdrom$link_num" "$comment"
     110                          write_rule "$match" "cdrom$link_num" "$comment"
    111111[ "$ID_CDROM_CD_RW" ]  && write_rule "$match" "cdrw$link_num"
    112112[ "$ID_CDROM_DVD" ]    && write_rule "$match" "dvd$link_num"
Note: See TracChangeset for help on using the changeset viewer.