Changeset d29a03b


Ignore:
Timestamp:
08/12/2012 08:02:11 PM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
9dea41d
Parents:
0840dab
Message:

Update to udev (systemd)-188

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9933 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r0840dab rd29a03b  
    3737
    3838-->
     39
     40    <listitem>
     41      <para>2012-08-12</para>
     42      <itemizedlist>
     43        <listitem>
     44          <para>[bdubbs] - Update to udev (systemd)-188. Fixes
     45          <ulink url="&lfs-ticket-root;3152">#3152</ulink>.</para>
     46        </listitem>
     47      </itemizedlist>
     48    </listitem>
    3949
    4050    <listitem>
  • chapter06/systemd.xml

    r0840dab rd29a03b  
    5555
    5656<screen><userinput remap="install">make -f udev-lfs-&systemd-version;/Makefile.lfs install</userinput></screen>
     57
     58    <para>Finally set up the persistent network udev rules.  This task will be
     59    explained in detail in <xref linkend='stable-net-names'/>.  Note that the
     60    <filename class='directory'>/sys</filename> and <filename
     61    class='directory'>/proc</filename> filesystems must be mounted in the
     62    chroot environment as explained at the beginning of this chapter for the
     63    following script to work.</para>
     64
     65<screen><userinput remap="install">bash udev-lfs-&systemd-version;/init-net-rules.sh</userinput></screen>
    5766  </sect2>
    5867
  • chapter07/network.xml

    r0840dab rd29a03b  
    2424  class="directory">/etc/rc.d/rc*.d</filename>).</para>
    2525
    26   <sect2>
     26  <sect2 id='stable-net-names'>
    2727    <title>Creating stable names for network interfaces</title>
    2828
     
    4242    to network cards based on their MAC address.</para>
    4343
    44     <para>Pre-generate the rules to ensure the same names get assigned to the
    45     same devices at every boot, including the first:</para>
    46 
    47 <screen><userinput>for NIC in /sys/class/net/* ; do
    48     INTERFACE=${NIC##*/} udevadm test --action=add $NIC
    49 done</userinput></screen>
    50 
    51     <para>Now, inspect the <filename>/etc/udev/rules.d/70-persistent-net.rules</filename>
    52     file, to find out which name was assigned to which network device:</para>
     44    <para>The rules were pre-generated in the build instructions for
     45    <application>udev (systemd)</application> in the last chapter.  Inspect the
     46    <filename>/etc/udev/rules.d/70-persistent-net.rules</filename> file, to
     47    find out which name was assigned to which network device:</para>
    5348
    5449<screen role="nodump"><userinput>cat /etc/udev/rules.d/70-persistent-net.rules</userinput></screen>
     50
     51    <note><para>In some cases such as when MAC addresess have been assigned to
     52    a network card manually or in a virtual envirnment such as Xen,
     53    the network rules file may not have been generated because addresses
     54    are not consistently assigned.  In these cases, just continue to
     55    the next section.</para></note>
    5556
    5657    <para>The file begins with a comment block followed by two lines for each
  • packages.ent

    r0840dab rd29a03b  
    525525<!ENTITY texinfo-ch6-sbu "0.3 SBU">
    526526
    527 <!ENTITY systemd-version "187">
    528 <!ENTITY systemd-size    "1,316 KB">
     527<!ENTITY systemd-version "188">
     528<!ENTITY systemd-size    "1,324 KB">
    529529<!ENTITY systemd-url     "http://www.freedesktop.org/software/systemd/systemd-&systemd-version;.tar.xz">
    530 <!ENTITY systemd-md5     "26606e3c84448800ef0b3ffd57e6e8b6">
     530<!ENTITY systemd-md5     "d89b42699695554949d072ef46c0dfc9">
    531531<!ENTITY systemd-home    "http://www.freedesktop.org/wiki/Software/systemd/">
    532532<!ENTITY systemd-ch6-du  "17 MB">
     
    541541<!ENTITY tzdata-ch6-sbu "0.1 SBU">
    542542
    543 <!ENTITY udev-lfs        "udev-lfs-&systemd-version;-2">
    544 <!ENTITY udev-lfs-size   "14 KB">   
     543<!ENTITY udev-lfs        "udev-lfs-&systemd-version;">
     544<!ENTITY udev-lfs-size   "17 KB">   
    545545<!ENTITY udev-lfs-url    "&anduin-other;&udev-lfs;.tar.bz2">
    546 <!ENTITY udev-lfs-md5    "089ae18d3fe80d7c051531feeba51446">   
     546<!ENTITY udev-lfs-md5    "fcc1c0337a2b18f63dfeea6f8d0f5a21">   
    547547<!ENTITY udev-lfs-home   " ">
    548548
Note: See TracChangeset for help on using the changeset viewer.