Changeset d29a03b
- Timestamp:
- 08/12/2012 08:02:11 PM (12 years ago)
- 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
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r0840dab rd29a03b 37 37 38 38 --> 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> 39 49 40 50 <listitem> -
chapter06/systemd.xml
r0840dab rd29a03b 55 55 56 56 <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> 57 66 </sect2> 58 67 -
chapter07/network.xml
r0840dab rd29a03b 24 24 class="directory">/etc/rc.d/rc*.d</filename>).</para> 25 25 26 <sect2 >26 <sect2 id='stable-net-names'> 27 27 <title>Creating stable names for network interfaces</title> 28 28 … … 42 42 to network cards based on their MAC address.</para> 43 43 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> 53 48 54 49 <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> 55 56 56 57 <para>The file begins with a comment block followed by two lines for each -
packages.ent
r0840dab rd29a03b 525 525 <!ENTITY texinfo-ch6-sbu "0.3 SBU"> 526 526 527 <!ENTITY systemd-version "18 7">528 <!ENTITY systemd-size "1,3 16KB">527 <!ENTITY systemd-version "188"> 528 <!ENTITY systemd-size "1,324 KB"> 529 529 <!ENTITY systemd-url "http://www.freedesktop.org/software/systemd/systemd-&systemd-version;.tar.xz"> 530 <!ENTITY systemd-md5 " 26606e3c84448800ef0b3ffd57e6e8b6">530 <!ENTITY systemd-md5 "d89b42699695554949d072ef46c0dfc9"> 531 531 <!ENTITY systemd-home "http://www.freedesktop.org/wiki/Software/systemd/"> 532 532 <!ENTITY systemd-ch6-du "17 MB"> … … 541 541 <!ENTITY tzdata-ch6-sbu "0.1 SBU"> 542 542 543 <!ENTITY udev-lfs "udev-lfs-&systemd-version; -2">544 <!ENTITY udev-lfs-size "1 4KB">543 <!ENTITY udev-lfs "udev-lfs-&systemd-version;"> 544 <!ENTITY udev-lfs-size "17 KB"> 545 545 <!ENTITY udev-lfs-url "&anduin-other;&udev-lfs;.tar.bz2"> 546 <!ENTITY udev-lfs-md5 " 089ae18d3fe80d7c051531feeba51446">546 <!ENTITY udev-lfs-md5 "fcc1c0337a2b18f63dfeea6f8d0f5a21"> 547 547 <!ENTITY udev-lfs-home " "> 548 548
Note:
See TracChangeset
for help on using the changeset viewer.