Changeset c62cd46


Ignore:
Timestamp:
02/10/2013 01:40:38 AM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
eea4055
Parents:
e2be9e8
Message:

Added sulogin and mesg utilities to util-linux package, changed kmod --libdir to --with-rootlibdir plus minor fixes, minor fix for coreutils page. You might want last two in LFS, too.

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    re2be9e8 rc62cd46  
    3636    </listitem>
    3737-->
     38    <listitem>
     39      <para>2013-02-06</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[krejzi] - Modified Util-Linux instructions to
     43          install mesg and sulogin utilities that were part of
     44          Sysvinit.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
    3848
    3949    <listitem>
  • chapter06/coreutils.xml

    re2be9e8 rc62cd46  
    157157        unlink, users, vdir, wc, who, whoami, and yes</seg>
    158158        <seg>libstdbuf.so</seg>
    159         <seg>/usr/libexec/coreutils</seg>
     159        <seg>/usr/lib/coreutils</seg>
    160160      </seglistitem>
    161161    </segmentedlist>
  • chapter06/kmod.xml

    re2be9e8 rc62cd46  
    4444    <para>Prepare Kmod for compilation:</para>
    4545
    46 <screen><userinput remap="configure">./configure --prefix=/usr       \
    47             --bindir=/bin       \
    48             --libdir=/lib       \
    49             --sysconfdir=/etc  \
    50             --disable-manpages  \
    51             --with-xz           \
     46<screen><userinput remap="configure">./configure --prefix=/usr          \
     47            --bindir=/bin          \
     48            --sysconfdir=/etc      \
     49            --with-rootlibdir=/lib \
     50            --disable-manpages     \
     51            --with-xz              \
    5252            --with-zlib</userinput></screen>
    5353
    5454    <variablelist>
    5555      <title>The meaning of the configure options:</title>
     56
     57      <varlistentry>
     58        <term><parameter>--with-rootlibdir</parameter></term>
     59        <listitem>
     60          <para>This switch ensures that shared library is installed in
     61          <filename class="directory">/lib</filename> instead of
     62          <filename class="directory">/usr/lib</filename>.</para>
     63        </listitem> 
     64      </varlistentry>
    5665
    5766      <varlistentry>
     
    8594    </para>
    8695
    87 <screen><userinput remap="install">make pkgconfigdir=/usr/lib/pkgconfig install
    88 
    89 for target in depmod insmod modinfo modprobe rmmod; do
     96<!-- I remember some package was looking for /sbin/lsmod - Probably proprietary one. -->
     97<screen><userinput remap="install">make install
     98
     99for target in depmod insmod lsmod modinfo modprobe rmmod; do
    90100  ln -sv ../bin/kmod /sbin/$target
    91101done
     
    106116        lsmod (link to kmod), modinfo (link to kmod), modprobe (link to kmod),
    107117        and rmmod (link to kmod)</seg>
    108         <seg>/lib/kmod.so</seg>
     118        <seg>libkmod.so</seg>
    109119      </seglistitem>
    110120    </segmentedlist>
  • chapter06/util-linux.xml

    re2be9e8 rc62cd46  
    6060    <title>Installation of Util-linux</title>
    6161
    62 <screen><userinput remap="configure">./configure --disable-su --disable-sulogin --disable-login</userinput></screen>
     62<screen><userinput remap="configure">./configure --disable-su    \
     63            --disable-login \
     64            --enable-mesg   \
     65            --with-systemdsystemunitdir=/lib/systemd/system</userinput></screen>
    6366
    6467    <variablelist>
     
    6871        <term><parameter>--disable-*</parameter></term>
    6972        <listitem>
    70           <para>These switches disable building su, sulogin, and login. They
     73          <para>These switches disable building su and login. They
    7174          duplicate the same programs provided by <xref
    7275          linkend='ch-system-shadow'/>.
     
    7578          which is not available in LFS.</para>
    7679        </listitem>
     80      </varlistentry>
     81
     82     <varlistentry>
     83        <term><parameter>--enable-mesg</parameter></term>
     84        <listitem>
     85          <para>This switch enables building of the mesg utility which
     86          was previously provided by Sysvinit package.</para>
     87        </listitem>
     88      </varlistentry>
     89
     90     <varlistentry>
     91        <term><parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter></term>
     92        <listitem>
     93          <para>This switch sets install location for the Systemd units provided
     94          with the package.</para>
     95        </listitem> 
    7796      </varlistentry>
    7897    </variablelist>
     
    104123        fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, i386,
    105124        ionice, ipcmk, ipcrm, ipcs, isosize, ldattach, linux32, linux64,
    106         logger, look, losetup, lsblk, lscpu, lslocks, mcookie, mkfs, mkfs.bfs,
     125        logger, look, losetup, lsblk, lscpu, lslocks, mcookie, mesg, mkfs, mkfs.bfs,
    107126        mkfs.cramfs, mkfs.minix, mkswap, more, mount, mountpoint, namei, partx,
    108127        pg, pivot_root, prlimit, raw, readprofile, rename, renice, resizepart,
    109128        rev, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk,
    110         swaplabel, swapoff (link to swapon), swapon, switch_root, tailf,
     129        sulogin, swaplabel, swapoff (link to swapon), swapon, switch_root, tailf,
    111130        taskset, tunelp, ul, umount, unshare, utmpdump, uuidd, uuidgen, wall,
    112131        wdctl, whereis, wipefs, and x86_64</seg>
     
    621640      </varlistentry>
    622641
     642      <varlistentry id="mesg">
     643        <term><command>mesg</command></term>
     644        <listitem>
     645          <para>Controls whether other users can send messages to the current
     646          user's terminal</para>
     647          <indexterm zone="ch-system-util-linux mesg">
     648            <primary sortas="b-mesg">mesg</primary>
     649          </indexterm>
     650        </listitem>
     651      </varlistentry>
     652
    623653      <varlistentry id="mkfs">
    624654        <term><command>mkfs</command></term>
     
    885915          <indexterm zone="ch-system-util-linux sfdisk">
    886916            <primary sortas="b-sfdisk">sfdisk</primary>
     917          </indexterm>
     918        </listitem>
     919      </varlistentry>
     920
     921      <varlistentry id="sulogin">
     922        <term><command>sulogin</command></term>
     923        <listitem>
     924          <para>Allows <systemitem class="username">root</systemitem> to log in;
     925          it is normally invoked by <command>init</command> when the system goes
     926          into single user mode</para>
     927          <indexterm zone="ch-system-util-linux sulogin">
     928            <primary sortas="b-sulogin">sulogin</primary>
    887929          </indexterm>
    888930        </listitem>
  • general.ent

    re2be9e8 rc62cd46  
    1 <!ENTITY version "SYSTEMD-20130206">
    2 <!ENTITY releasedate "February 6, 2013">
     1<!ENTITY version "SYSTEMD-20130210">
     2<!ENTITY releasedate "February 10, 2013">
    33<!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!ENTITY milestone "7.3">
Note: See TracChangeset for help on using the changeset viewer.