Changeset 6a57b4c


Ignore:
Timestamp:
01/09/2020 09:02:55 AM (22 months ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
ae5423f
Parents:
7e42b39
Message:

Add /etc/os-release to SysV,
and reword instructions in "The End"

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r7e42b39 r6a57b4c  
    4444       -->
    4545    <listitem>
     46      <para>2020-01-09</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Add <filename>/etc/os-release</filename> to
     50          the sysV version, as it is required by some packages in BLFS.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
    4656      <para>2020-01-06</para>
    4757      <itemizedlist>
  • chapter09/theend.xml

    r7e42b39 r6a57b4c  
    1919  </indexterm>
    2020
    21   <indexterm zone="ch-finish-theend" revision="systemd">
     21  <indexterm zone="ch-finish-theend">
    2222    <primary sortas="e-/etc/os-release">/etc/os-release</primary>
    2323  </indexterm>
     
    2626  success with your shiny new custom-built Linux system.</para>
    2727
    28   <para revision="systemd">Create an <filename>/etc/os-release</filename>
    29         file required by systemd:</para>
    30 
    31 <screen revision="systemd"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
    32 NAME="Linux From Scratch"
    33 VERSION="&versiond;"
    34 ID=lfs
    35 PRETTY_NAME="Linux From Scratch &versiond;"
    36 VERSION_CODENAME="&lt;your name here&gt;"
    37 EOF</userinput></screen>
    38 
    39   <para revision="sysv">It may be a good idea to create an
     28  <para>It may be a good idea to create an
    4029  <filename>/etc/lfs-release</filename> file. By having this file, it is very
    4130  easy for you (and for us if you need to ask for help at some point) to find
     
    4534<screen revision="sysv"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
    4635
    47   <para revision="systemd">Creating the file
    48   <filename>/etc/lfs-release</filename> is recommended for compatibility with
    49   the non-systemd branch. By having this file, it is very easy for you (and for
    50   us if you need to ask for help at some point) to find out which LFS version
    51   is installed on the system. Create this file by running:</para>
    52 
    5336<screen revision="systemd"><userinput>echo &versiond; &gt; /etc/lfs-release</userinput></screen>
    5437
    55   <para>It is also a good idea to create a file to show the status of your
     38  <para>Two files describing the installed system may be used by packages
     39  that will be installed on the system, either in binary form or by building
     40  them.</para>
     41
     42  <para>The first one shows the status of your
    5643  new system with respect to the Linux Standards Base (LSB).  To create
    5744  this file, run:</para>
     
    7158EOF</userinput></screen>
    7259
    73   <para>Be sure to put some sort of customization for the field
    74   'DISTRIB_CODENAME' to make the system uniquely yours.</para>
     60  <para>The second one contains roughly the same information, and is used
     61  by systemd and some graphical desktop environments.  To create
     62  this file, run:</para>
     63
     64<screen revision="sysv"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
     65NAME="Linux From Scratch"
     66VERSION="&version;"
     67ID=lfs
     68PRETTY_NAME="Linux From Scratch &version;"
     69VERSION_CODENAME="&lt;your name here&gt;"
     70EOF</userinput></screen>
     71
     72<screen revision="systemd"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
     73NAME="Linux From Scratch"
     74VERSION="&versiond;"
     75ID=lfs
     76PRETTY_NAME="Linux From Scratch &versiond;"
     77VERSION_CODENAME="&lt;your name here&gt;"
     78EOF</userinput></screen>
     79
     80  <para>Be sure to put some sort of customization for the fields
     81  'DISTRIB_CODENAME' and 'VERSION_CODENAME' to make the system uniquely
     82  yours.</para>
    7583
    7684</sect1>
  • general.ent

    r7e42b39 r6a57b4c  
    1 <!ENTITY version         "SVN-20200106">
     1<!ENTITY version         "SVN-20200109">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20200106-systemd">
     6<!ENTITY versiond        "20200109-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "January 6th, 2020">
     10<!ENTITY releasedate     "January 9th, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.