- Timestamp:
- 07/01/2005 08:39:25 PM (19 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, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 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:
- d001e2b
- Parents:
- 4d938ef
- Location:
- chapter06
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/devices.xml
r4d938ef rfde4f7d 31 31 be created dynamically on that virtual filesystem as they are detected or 32 32 accessed. This is generally done during the boot process. Since this new system 33 has not been booted, it is necessary to do what the bootscripts would otherwise34 do by mounting <filename class="directory">/dev</filename>:</para>33 has not been booted, it is necessary to do what the LFS-Bootscripts package would 34 otherwise do by mounting <filename class="directory">/dev</filename>:</para> 35 35 36 36 <screen><userinput>mount -n -t tmpfs none /dev</userinput></screen> … … 52 52 53 53 <para>There are some symlinks and directories required by LFS that are created 54 during system startup by the bootscripts. Since this is a chroot environment and55 not a booted environment, those symlinks and directories need to be created 56 here:</para>54 during system startup by the LFS-Bootscripts package. Since this is a chroot 55 environment and not a booted environment, those symlinks and directories need to 56 be created here:</para> 57 57 58 58 <screen><userinput>ln -s /proc/self/fd /dev/fd -
chapter06/hotplug.xml
r4d938ef rfde4f7d 43 43 <screen><userinput>cp etc/hotplug/pnp.distmap /etc/hotplug</userinput></screen> 44 44 45 <para>Remove the init script that Hotplug installs , since we're going to be46 using the script included with LFS-Bootscripts:</para>45 <para>Remove the init script that Hotplug installs since we are going to be 46 using the script included in the LFS-Bootscripts package:</para> 47 47 48 48 <screen><userinput>rm -rf /etc/init.d</userinput></screen> 49 49 50 <para>Network device hotplugging is not supported by LFS-Bootscripts yet. For51 that reason, remove the network hotplug agent:</para>50 <para>Network device hotplugging is not yet supported by the LFS-Bootscripts 51 package. For that reason, remove the network hotplug agent:</para> 52 52 53 53 <screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen> … … 92 92 <listitem> 93 93 <para>These scripts are used for cold plugging, i.e., detecting and acting upon 94 hardware already present during system startup. 95 <filename>hotplug</filename> initscript that comes from the LFS-Bootscripts96 package. The <command>*.rc</command> scripts try to recover hotplug events that97 were lost during system boot because, for example, the root filesystem was not 98 mounted bythe kernel</para>94 hardware already present during system startup. They are called by the 95 <filename>hotplug</filename> initscript included in the LFS-Bootscripts package. 96 The <command>*.rc</command> scripts try to recover hotplug events that were lost 97 during system boot because, for example, the root filesystem was not mounted by 98 the kernel</para> 99 99 <indexterm zone="ch-system-hotplug hotplug-rc"><primary 100 100 sortas="d-/etc/hotplug/*.rc">/etc/hotplug/*.rc</primary></indexterm> -
chapter06/iproute2.xml
r4d938ef rfde4f7d 57 57 <varlistentry> 58 58 <term><parameter>SBINDIR=/sbin</parameter></term> 59 <listitem><para>This makes surethat the IPRoute2 binaries will install into60 <filename class="directory">/sbin</filename>. This is the correct61 location according to the FHS, because some of the IPRoute2 binaries are used62 in the bootscripts.</para>59 <listitem><para>This ensures that the IPRoute2 binaries will install into 60 <filename class="directory">/sbin</filename>. This is the correct location 61 according to the FHS, because some of the IPRoute2 binaries are used by 62 the LFS-Bootscripts package.</para> 63 63 </listitem> 64 64 </varlistentry> -
chapter06/psmisc.xml
r4d938ef rfde4f7d 41 41 <varlistentry> 42 42 <term><parameter>--exec-prefix=""</parameter></term> 43 <listitem><para>This causes the binaries to be installed in <filename 44 class="directory">/bin</filename> instead of <filename 45 class="directory">/usr/bin</filename>. Because the Psmisc programs are 46 often used in bootscripts, they should be available when the <filename 47 class="directory">/usr</filename> file system is not 48 mounted.</para></listitem> 43 <listitem><para>This ensures that the Psmisc binaries will install into 44 <filename class="directory">/bin</filename> instead of <filename 45 class="directory">/usr/bin</filename>. This is the correct location according to 46 the FHS, because some of the Psmisc binaries are used by the LFS-Bootscripts 47 package.</para></listitem> 49 48 </varlistentry> 50 49 </variablelist> -
chapter06/util-linux.xml
r4d938ef rfde4f7d 83 83 84 84 <para>Install the package and move the <command>logger</command> binary to 85 <filename class="directory">/bin</filename> as it is needed by the bootscripts:86 </para>85 <filename class="directory">/bin</filename> as it is needed by the 86 LFS-Bootscripts package:</para> 87 87 88 88 <screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes install
Note:
See TracChangeset
for help on using the changeset viewer.