Changes in / [0bf23c8:d887817]


Ignore:
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r0bf23c8 rd887817  
    11lfs-bootscripts-*.tar.xz
    2 conditional.ent
    32version.ent
    43appendices/*.script
  • Makefile

    r0bf23c8 rd887817  
    190190
    191191version:
    192         $(Q)./git-version.sh $(REV)
     192        $(Q)./git-version.sh
    193193
    194194#dump-commands: validate
  • chapter01/askforhelp.xml

    r0bf23c8 rd887817  
    3939    <itemizedlist>
    4040      <listitem>
    41         <para>The version of the book being used (in this case &version;</para>
     41        <para>The version of the book being used (in this case
     42              <phrase revision="sysv">&version;</phrase>
     43              <phrase revision="systemd">&versiond;</phrase>)</para>
    4244      </listitem>
    4345      <listitem>
  • chapter01/changelog.xml

    r0bf23c8 rd887817  
    1111  <title>Changelog</title>
    1212
    13   <para>This is version &version; of the Linux From Scratch book, dated
     13  <para>This is version
     14        <phrase revision="sysv">&version;</phrase>
     15        <phrase revision="systemd">&versiond;</phrase>
     16  of the Linux From Scratch book, dated
    1417  &releasedate;. If this book is more than six months old, a newer and better
    1518  version is probably already available. To find out, please check one of the
  • chapter07/cleanup.xml

    r0bf23c8 rd887817  
    128128    </note>
    129129
    130 <screen role="nodump"><userinput>cd $LFS
     130<screen role="nodump" revision="sysv"><userinput>cd $LFS
    131131tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen>
     132
     133<screen role="nodump" revision="systemd"><userinput>cd $LFS
     134tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>
    132135
    133136  </sect2>
     
    155158    your entire host system.  YOU ARE WARNED.</para></warning>
    156159
    157 <screen role="nodump"><computeroutput>cd $LFS
     160<screen role="nodump" revision="sysv"><computeroutput>cd $LFS
    158161rm -rf ./*
    159162tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen>
     163
     164<screen role="nodump" revision="systemd"><computeroutput>cd $LFS
     165rm -rf ./*
     166tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen>
    160167
    161168    <para>
  • chapter10/grub.xml

    r0bf23c8 rd887817  
    157157set root=(hd0,2)
    158158
    159 menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
    160         linux   /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
     159menuentry "GNU/Linux, Linux &linux-version;-lfs-&versiond;" {
     160        linux   /boot/vmlinuz-&linux-version;-lfs-&versiond; root=/dev/sda2 ro
    161161}</literal>
    162162EOF</userinput></screen>
  • chapter10/kernel.xml

    r0bf23c8 rd887817  
    228228<screen revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
    229229
    230 <screen revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
     230<screen revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&versiond;</userinput></screen>
    231231
    232232    <para><filename>System.map</filename> is a symbol file for the kernel.
     
    337337      <seglistitem>
    338338        <seg>config-&linux-version;,
    339         vmlinuz-&linux-version;-lfs-&version;
     339        <phrase revision="sysv">vmlinuz-&linux-version;-lfs-&version;,</phrase>
     340        <phrase revision="systemd">vmlinuz-&linux-version;-lfs-&versiond;,</phrase>
    340341        and System.map-&linux-version;</seg>
    341342        <seg>/lib/modules, /usr/share/doc/linux-&linux-version;</seg>
     
    359360
    360361      <varlistentry id="lfskernel">
    361         <term><filename>vmlinuz-&linux-version;-lfs-&version;</filename></term>
     362        <term revision="sysv"><filename>vmlinuz-&linux-version;-lfs-&version;</filename></term>
     363        <term revision="systemd"><filename>vmlinuz-&linux-version;-lfs-&versiond;</filename></term>
    362364        <listitem>
    363365          <para>The engine of the Linux system. When turning on the computer,
  • chapter11/reboot.xml

    r0bf23c8 rd887817  
    2121  <itemizedlist>
    2222
    23     <listitem><para>A text mode browser such as <ulink
    24     url='&blfs-book;basicnet/lynx.html'>Lynx</ulink>
     23    <listitem><para>A text mode browser such as <ulink revision="sysv"
     24    url='&blfs-book;basicnet/lynx.html'>Lynx</ulink><ulink revision="systemd"
     25    url='&blfs-systemd-book;basicnet/lynx.html'>Lynx</ulink>
    2526    will allow you to easily view the BLFS book in one virtual terminal, while
    2627    building packages in another.</para></listitem>
    2728
    28     <listitem><para>The <ulink
    29     url='&blfs-book;postlfs/make-ca.html'>make-ca</ulink> package
     29    <listitem><para>The <ulink revision="sysv"
     30    url='&blfs-book;postlfs/make-ca.html'>make-ca</ulink><ulink revision="systemd"
     31    url='&blfs-systemd-book;postlfs/make-ca.html'>make-ca</ulink> package
    3032    will allow you to set up local trusted anchor certificates, allowing
    3133    the system to verify SSL certificates provided by remote servers (for
    3234    example, a website using HTTPS).</para></listitem>
    3335
    34     <listitem><para>The <ulink
    35     url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow
     36    <listitem><para>The <ulink revision="sysv"
     37    url='&blfs-book;general/gpm.html'>GPM</ulink><ulink revision="systemd"
     38    url='&blfs-systemd-book;general/gpm.html'>GPM</ulink> package will allow
    3639    you to perform copy/paste actions in your virtual
    3740    terminals.</para></listitem>
     
    4548    useful.</para></listitem>
    4649
    47     <listitem><para>Installing <ulink
    48     url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
     50    <listitem><para>Installing <ulink revision="sysv"
     51    url='&blfs-book;postlfs/sudo.html'>sudo</ulink><ulink revision="systemd"
     52    url='&blfs-systemd-book;postlfs/sudo.html'>sudo</ulink> may be useful for
    4953    building packages as a non-root user and easily installing the resulting
    5054    packages in your new system.</para></listitem>
    5155
    5256    <listitem><para>If you want to access your new system from a remote system
    53     within a comfortable GUI environment, install <ulink
    54     url='&blfs-book;postlfs/openssh.html'>openssh</ulink>.</para></listitem>
     57    within a comfortable GUI environment, install <ulink revision="sysv"
     58    url='&blfs-book;postlfs/openssh.html'>openssh</ulink><ulink revision="systemd"
     59    url='&blfs-systemd-book;postlfs/openssh.html'>openssh</ulink>.
     60    </para></listitem>
    5561
    5662    <listitem><para>To make fetching files over the internet easier, install
    57     <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.</para></listitem>
     63    <ulink
     64    revision="sysv" url='&blfs-book;basicnet/wget.html'>wget</ulink><ulink
     65    revision="systemd" url='&blfs-systemd-book;basicnet/wget.html'>wget</ulink>.
     66    </para></listitem>
    5867
    5968    <listitem><para>To connect to a wireless access point for networking,
    60     install <ulink
    61     url='&blfs-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink>.
     69    install <ulink revision="sysv"
     70    url='&blfs-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink><ulink
     71    revision="systemd"
     72    url='&blfs-systemd-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink>.
    6273    </para></listitem>
    6374
  • chapter11/theend.xml

    r0bf23c8 rd887817  
    3232  running:</para>
    3333
    34 <screen><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
     34<screen revision="sysv"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
    3535
    36   <para>Two files describing the installed system may be used by packages that
    37   can be installed on the system later, either in binary form or by building
     36<screen revision="systemd"><userinput>echo &versiond; &gt; /etc/lfs-release</userinput></screen>
     37
     38  <para>Two files describing the installed system may be used by packages
     39  that can be installed on the system later, either in binary form or by building
    3840  them.</para>
    3941
     
    4244  this file, run:</para>
    4345
    44 <screen><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
     46<screen revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
    4547DISTRIB_ID="Linux From Scratch"
    4648DISTRIB_RELEASE="&version;"
     49DISTRIB_CODENAME="&lt;your name here&gt;"
     50DISTRIB_DESCRIPTION="Linux From Scratch"
     51EOF</userinput></screen>
     52
     53<screen revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
     54DISTRIB_ID="Linux From Scratch"
     55DISTRIB_RELEASE="&versiond;"
    4756DISTRIB_CODENAME="&lt;your name here&gt;"
    4857DISTRIB_DESCRIPTION="Linux From Scratch"
     
    5362  this file, run:</para>
    5463
    55 <screen><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
     64<screen revision="sysv"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
    5665NAME="Linux From Scratch"
    5766VERSION="&version;"
    5867ID=lfs
    5968PRETTY_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;"
    6077VERSION_CODENAME="&lt;your name here&gt;"
    6178EOF</userinput></screen>
  • chapter11/whatnow.xml

    r0bf23c8 rd887817  
    5858      <para>The Beyond Linux From Scratch book covers installation
    5959      procedures for a wide range of software beyond the scope of the LFS
    60       Book. The BLFS project is located at <ulink url="&blfs-book;"/>.
     60      Book. The BLFS project is located at <ulink revision="sysv"
     61      url="&blfs-book;"/><ulink revision="systemd" url="&blfs-systemd-book;"/>.
    6162      </para>
    6263    </listitem>
  • general.ent

    r0bf23c8 rd887817  
    1 <!-- Automatically generated by git-version.sh -->
    2 <!ENTITY % conditional-entities SYSTEM "conditional.ent">
    3 %conditional-entities;
    4 
    51<!-- version info automatically generated by git
    6      comment out the following two lines for release -->
     2     comment the following two lines for release -->
    73<!ENTITY % version-entities SYSTEM "version.ent">
    84%version-entities;
     
    117     for releases (including -rc) -->
    128<!--
    13 <![ %sysv; [
    149<!ENTITY version         "10.2-rc1">
    15 ]]>
    16 <![ %systemd; [
    17 <!ENTITY version         "10.2-systemd-rc1">
    18 ]]>
     10<!ENTITY versiond        "10.2-systemd-rc1">
    1911<!ENTITY releasedate     "August 26th, 2021">
    2012<!ENTITY copyrightdate   "1999-2021">
    2113-->
    2214
    23 <![ %sysv; [
    2415<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    2516                                      Change to x.y for release but not -rc releases -->
    26 ]]>
    27 <![ %systemd; [
    28 <!ENTITY short-version  "systemd">  <!--Change to stable-systemd for release  -->
    29 ]]>
    3017<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
     18
     19<!ENTITY short-versiond  "systemd">  <!--Change to stable-systemd for release  -->
     20<!ENTITY generic-versiond "systemd">
    3121
    3222<!ENTITY lfs-root        "https://www.linuxfromscratch.org/">
    3323<!ENTITY blfs-root       "&lfs-root;blfs/">
    3424<!ENTITY blfs-book       "&blfs-root;view/&short-version;/">
     25<!ENTITY blfs-systemd-book "&blfs-root;view/&short-versiond;/">
    3526<!ENTITY faq-root        "&lfs-root;faq/">
    3627<!ENTITY hints-root      "&lfs-root;hints/downloads/files/">
     
    4031<!ENTITY livecd-root     "&lfs-root;livecd/">
    4132<!ENTITY test-results    "&lfs-root;lfs/build-logs/&generic-version;/">
    42 <![ %sysv; [
    4333<!ENTITY errata          "&lfs-root;lfs/errata/&generic-version;/">
    44 ]]>
    45 <![ %systemd; [
    46 <!ENTITY errata          "&lfs-root;lfs/errata/&short-version;/">
    47 ]]>
    4834<!ENTITY secadv          "&lfs-root;lfs/advisories/">
    4935<!ENTITY min-kernel      "3.2">
    50 <!--
     36
    5137<!ENTITY patches-rootd   "&lfs-root;patches/lfs/&generic-versiond;/">
    5238<!ENTITY downloads-rootd "&lfs-root;lfs/downloads/&generic-versiond;/">
    5339<!ENTITY test-resultsd   "&lfs-root;lfs/build-logs/&generic-versiond;/">
    5440<!ENTITY erratad         "&lfs-root;lfs/errata/&generic-versiond;/">
    55 -->
     41
    5642<!ENTITY lfs-ticket-root "https://wiki.linuxfromscratch.org/lfs/ticket/">
    5743
  • git-version.sh

    r0bf23c8 rd887817  
    11#!/bin/sh
    2 
    3 if [ "$1" = sysv ]; then
    4         SYSV="INCLUDE"
    5         SYSTEMD="IGNORE "
    6 elif [ "$1" = systemd ]; then
    7         SYSV="IGNORE "
    8         SYSTEMD="INCLUDE"
    9 else
    10         echo You must provide either \"sysv\" or \"systemd\" as argument
    11         exit 1
    12 fi
    13 
    14 echo "<!ENTITY % sysv    \"$SYSV\">"     >  conditional.ent
    15 echo "<!ENTITY % systemd \"$SYSTEMD\">"  >> conditional.ent
    162
    173if ! git status > /dev/null; then
    184        # Either it's not a git repository, or git is unavaliable.
    195        # Just workaround.
    20         echo "<![ %sysv; ["                                    >  version.ent
    21         echo "<!ENTITY version           \"unknown\">"         >> version.ent
    22         echo "]]>"                                             >> version.ent
    23         echo "<![ %systemd; ["                                 >> version.ent
    24         echo "<!ENTITY version           \"unknown-systemd\">" >> version.ent
    25         echo "]]>"                                             >> version.ent
     6        echo "<!ENTITY version           \"unknown\">"         >  version.ent
     7        echo "<!ENTITY versiond          \"unknown-systemd\">" >> version.ent
    268        echo "<!ENTITY releasedate       \"unknown\">"         >> version.ent
    279        echo "<!ENTITY copyrightdate     \"1999-2021\">"       >> version.ent
     
    6042fi
    6143
    62 echo "<![ %sysv; ["                                        >  version.ent
    63 echo "<!ENTITY version           \"$version\">"            >> version.ent
    64 echo "]]>"                                                 >> version.ent
    65 echo "<![ %systemd; ["                                     >> version.ent
    66 echo "<!ENTITY version          \"$versiond\">"            >> version.ent
    67 echo "]]>"                                                 >> version.ent
     44echo "<!ENTITY version           \"$version\">"            >  version.ent
     45echo "<!ENTITY versiond          \"$versiond\">"           >> version.ent
    6846echo "<!ENTITY releasedate       \"$full_date\">"          >> version.ent
    6947echo "<!ENTITY copyrightdate     \"1999-$year\">"          >> version.ent
  • make-aux-files.sh

    r0bf23c8 rd887817  
    44
    55# Get base file name and move bootscripts directory to that name
    6 version=`grep "ENTITY lfs-bootscripts-version" packages.ent | head -n1| cut -d'"' -f2`
     6version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
    77mv bootscripts lfs-bootscripts-$version
    88
  • patches.ent

    r0bf23c8 rd887817  
    7373<!ENTITY perl-fix-patch-size "1.6 KB">
    7474
    75 <![ %sysv; [
    7675<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
    7776<!ENTITY sysvinit-consolidated-patch-md5 "4900322141d493e74020c9cf437b2cdc">
    7877<!ENTITY sysvinit-consolidated-patch-size "2.4 KB">
    79 ]]>
    8078
    81 <![ %systemd; [
    82 <!ENTITY sysvinit-consolidated-patch "not-used">
    83 <!ENTITY sysvinit-consolidated-patch-md5 "not-used">
    84 <!ENTITY sysvinit-consolidated-patch-size "not-used">
    85 ]]>
    86 
    87 <![ %systemd; [
    8879<!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes-1.patch">
    8980<!ENTITY systemd-upstream-fixes-patch-md5 "a4449dedf514486b8995ee501d1bb8cc">
    9081<!ENTITY systemd-upstream-fixes-patch-size "4 KB">
    91 ]]>
    92 
    93 <![ %sysv; [
    94 <!ENTITY systemd-upstream-fixes-patch "not-used">
    95 <!ENTITY systemd-upstream-fixes-patch-md5 "not-used">
    96 <!ENTITY systemd-upstream-fixes-patch-size "not-used">
    97 ]]>
  • prologue/bookinfo.xml

    r0bf23c8 rd887817  
    88<bookinfo>
    99  <title>Linux From Scratch</title>
    10   <subtitle>Version &version; </subtitle>
     10  <subtitle revision='sysv'   >Version &version; </subtitle>
     11  <subtitle revision='systemd'>Version &versiond;</subtitle>
    1112  <subtitle>Published &releasedate;</subtitle>
    1213
  • prologue/errata.xml

    r0bf23c8 rd887817  
    1616  instructions in this release of LFS need any modifications to accommodate
    1717  security vulnerabilities or other bug fixes, please visit
    18   <ulink url="&errata;"/>
     18  <ulink revision="sysv" url="&errata;"/>
     19  <ulink revision="systemd" url="&erratad;"/>
    1920  before proceeding with your build. You should note any
    2021  changes shown and apply them to the relevant section of the book as you
Note: See TracChangeset for help on using the changeset viewer.