Changeset c729bc9


Ignore:
Timestamp:
04/06/2014 10:36:59 PM (10 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.6, 7.7, 7.8, 7.9, 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:
fefe64e
Parents:
ba75f13
Message:

Add section on systemd customization

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

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rba75f13 rc729bc9  
    3737-->
    3838    <listitem>
     39      <para>2014-04-07</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[bdubbs] - Add section on systemd customization.</para>
     43        </listitem>
     44      </itemizedlist>
     45    </listitem>
     46
     47    <listitem>
    3948      <para>2014-03-31</para>
    4049      <itemizedlist>
  • chapter07/chapter07.xml

    rba75f13 rc729bc9  
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="usage.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysd-custom.xml"/>
    2122  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hostname.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="setclock.xml"/>
  • chapter07/console.xml

    rba75f13 rc729bc9  
    2323  equivalent settings in <filename>rc.site</filename>), the
    2424  <command>console</command> bootscript will do nothing.</para>
     25
     26  <sect2 id="ch-scripts-sysv-console">
     27    <title>Systemd V</title>
    2528
    2629  <para>The <command>console</command> script reads the
     
    228231  to blfs-support list -->
    229232  <note>
    230     <para>The <filename>/etc/sysconfig/console</filename> file only controls the    Linux text console localization. It has nothing to do with setting the
    231     proper keyboard layout and terminal fonts in the X Window System, with ssh
    232     sessions or with a serial console. In such situations, limitations mentioned
    233     in the last two list items above do not apply.</para>
     233    <para>The <filename>/etc/sysconfig/console</filename> file only controls
     234    the Linux text console localization. It has nothing to do with setting
     235    the proper keyboard layout and terminal fonts in the X Window System, with
     236    ssh sessions or with a serial console. In such situations, limitations
     237    mentioned in the last two list items above do not apply.</para>
    234238  </note>
    235239
     240  </sect2>
     241
     242  <sect2 id="ch-scripts-systemd-console">
     243    <title>Systemd</title>
     244
     245  <indexterm zone="ch-scripts-systemd-console">
     246    <primary sortas="d-console">systemd console</primary>
     247    <secondary>configuring</secondary>
     248  </indexterm>
     249
     250  <para>This section discusses how to configure the
     251  <command>systemd-vconsole-setup</command> system service, which configures
     252  the virtual console font and console keymap.</para>
     253
     254  <para>The <command>systemd-vconsole-setup</command> service reads the
     255  <filename>/etc/vconsole.conf</filename> file for configuration
     256  information. Decide which keymap and screen font will be used. Various
     257  language-specific HOWTOs can also help with this, see <ulink
     258  url="http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html"/>.
     259  Examine <command>localectl list-keymaps</command> output for a list of
     260  valid console keymaps. Look in
     261  <filename class="directory">/usr/share/consolefonts</filename>
     262  directory for valid screen fonts.</para>
     263
     264  <para>The <filename>/etc/vconsole.conf</filename> file should contain lines
     265  of the form: VARIABLE="value". The following variables are recognized:</para>
     266
     267  <variablelist>
     268
     269    <varlistentry>
     270      <term>KEYMAP</term>
     271      <listitem>
     272        <para>This variable specifies the key mapping table for the keyboard. If
     273        unset, it defaults to <literal>us</literal>.</para>
     274      </listitem>
     275    </varlistentry>
     276
     277    <varlistentry>
     278      <term>KEYMAP_TOGGLE</term>
     279      <listitem>
     280        <para>This variable can be used to configure a second toggle keymap and
     281        is unset by default.</para>
     282      </listitem>
     283    </varlistentry>
     284
     285    <varlistentry>
     286      <term>FONT</term>
     287      <listitem>
     288        <para>This variable specifies the font used by the virtual
     289        console.</para>
     290      </listitem>
     291    </varlistentry>
     292    <varlistentry>
     293      <term>FONT_MAP</term>
     294      <listitem>
     295        <para>This variable specifies the console map to be used.</para>
     296      </listitem>
     297    </varlistentry>
     298
     299    <varlistentry>
     300      <term>FONT_UNIMAP</term>
     301      <listitem>
     302        <para>This variable specifies the unicode font map.</para>
     303      </listitem>
     304    </varlistentry>
     305
     306  </variablelist>
     307
     308  <para>An example for a German keyboard and console is given below:</para>
     309
     310<screen role="nodump"><userinput>cat &gt; /etc/vconsole.conf &lt;&lt; "EOF"
     311<literal>KEYMAP=de-latin1
     312FONT=Lat2-Terminus16</literal>
     313EOF</userinput></screen>
     314
     315  <para>You can change KEYMAP value at runtime by using the
     316  <command>localectl</command> utility:</para>
     317
     318<screen role="nodump"><userinput>localectl set-keymap MAP</userinput></screen>
     319
     320  <note><para>Please note that <command>localectl</command> command can
     321  be used  only on a system booted with Systemd.</para></note>
     322
     323  </sect2>
     324
    236325</sect1>
  • chapter07/network.xml

    rba75f13 rc729bc9  
    207207    card configuration at boot, run:</para>
    208208
    209 <screen><userinput>systemctl disable ifupdown@eth0</userinput></screen>
     209<screen role="nodump"><userinput>systemctl disable ifupdown@eth0</userinput></screen>
    210210
    211211    <para>To manually start the network interface card configuration,
    212212    run:</para>
    213213
    214 <screen><userinput>systemctl start ifupdown@eth0</userinput></screen>
     214<screen role="nodump"><userinput>systemctl start ifupdown@eth0</userinput></screen>
    215215
    216216    <para>Replace eth0 with the correct network interface card
  • general.ent

    rba75f13 rc729bc9  
    1 <!ENTITY version         "SVN-20140404">
    2 <!ENTITY releasedate     "April 4, 2014">
     1<!ENTITY version         "SVN-20140407">
     2<!ENTITY releasedate     "April 7, 2014">
    33<!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!ENTITY milestone       "8.0">
Note: See TracChangeset for help on using the changeset viewer.