Ignore:
Timestamp:
02/23/2012 06:02:52 AM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2fa7a3f7
Parents:
5632009
Message:

Add cpio as initramfs required runtime dependency
Add module control programs to initramfs.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9502 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/filesystems/initramfs.xml

    r5632009 rea8a884  
    129129install -m0755 $DATADIR/$INITIN $WDIR/init
    130130
     131if [  -n "$KERNEL_VERSION" ] ; then
     132  if [ -x /bin/kmod ] ; then
     133    binfiles="$binfiles kmod"
     134  else
     135    binfiles="$binfiles lsmod"
     136    sbinfiles="sbinfiles insmod"
     137  fi
     138fi
     139
    131140# Install basic binaries
    132141for f in $binfiles ; do
     
    142151  copy $f sbin
    143152done
     153
     154# Add module symlinks if appropriate
     155if [ -n "$KERNEL_VERSION" ] &amp;&amp; [ -x /bin/kmod ] ; then
     156  ln -s kmod $WDIR/bin/lsmod
     157  ln -s kmod $WDIR/bin/insmod
     158fi
    144159
    145160# Add lvm symlinks if appropriate
     
    303318    <title>Using an initramfs</title>
    304319
     320    <bridgehead renderas="sect3">Required Runtime Dependency</bridgehead>
     321
     322    <para role="required">
     323      <xref linkend="cpio"/>
     324    </para>
     325
     326    <para condition="html" role="usernotes">User Notes:
     327      <ulink url="&blfs-wiki;/initramfs"/>
     328    </para>
     329
     330
    305331    <para>To build an initramfs, run the following as the  <systemitem
    306332    class="username">root</systemitem> user:</para>
Note: See TracChangeset for help on using the changeset viewer.