Changes in / [b17714a9:8e7be49]
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rb17714a9 r8e7be49 1 1 lfs-bootscripts-*.tar.xz 2 conditional.ent3 2 version.ent 4 3 appendices/*.script -
Makefile
rb17714a9 r8e7be49 190 190 191 191 version: 192 $(Q)./git-version.sh $(REV)192 $(Q)./git-version.sh 193 193 194 194 #dump-commands: validate -
chapter01/askforhelp.xml
rb17714a9 r8e7be49 39 39 <itemizedlist> 40 40 <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> 42 44 </listitem> 43 45 <listitem> -
chapter01/changelog.xml
rb17714a9 r8e7be49 11 11 <title>Changelog</title> 12 12 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 14 17 &releasedate;. If this book is more than six months old, a newer and better 15 18 version is probably already available. To find out, please check one of the -
chapter07/cleanup.xml
rb17714a9 r8e7be49 128 128 </note> 129 129 130 <screen role="nodump" ><userinput>cd $LFS130 <screen role="nodump" revision="sysv"><userinput>cd $LFS 131 131 tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen> 132 133 <screen role="nodump" revision="systemd"><userinput>cd $LFS 134 tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen> 132 135 133 136 </sect2> … … 155 158 your entire host system. YOU ARE WARNED.</para></warning> 156 159 157 <screen role="nodump" ><computeroutput>cd $LFS160 <screen role="nodump" revision="sysv"><computeroutput>cd $LFS 158 161 rm -rf ./* 159 162 tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen> 163 164 <screen role="nodump" revision="systemd"><computeroutput>cd $LFS 165 rm -rf ./* 166 tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen> 160 167 161 168 <para> -
chapter10/grub.xml
rb17714a9 r8e7be49 157 157 set root=(hd0,2) 158 158 159 menuentry "GNU/Linux, Linux &linux-version;-lfs-&version ;" {160 linux /boot/vmlinuz-&linux-version;-lfs-&version ; root=/dev/sda2 ro159 menuentry "GNU/Linux, Linux &linux-version;-lfs-&versiond;" { 160 linux /boot/vmlinuz-&linux-version;-lfs-&versiond; root=/dev/sda2 ro 161 161 }</literal> 162 162 EOF</userinput></screen> -
chapter10/kernel.xml
rb17714a9 r8e7be49 228 228 <screen revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> 229 229 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> 231 231 232 232 <para><filename>System.map</filename> is a symbol file for the kernel. … … 337 337 <seglistitem> 338 338 <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> 340 341 and System.map-&linux-version;</seg> 341 342 <seg>/lib/modules, /usr/share/doc/linux-&linux-version;</seg> … … 359 360 360 361 <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> 362 364 <listitem> 363 365 <para>The engine of the Linux system. When turning on the computer, -
chapter11/reboot.xml
rb17714a9 r8e7be49 21 21 <itemizedlist> 22 22 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> 25 26 will allow you to easily view the BLFS book in one virtual terminal, while 26 27 building packages in another.</para></listitem> 27 28 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 30 32 will allow you to set up local trusted anchor certificates, allowing 31 33 the system to verify SSL certificates provided by remote servers (for 32 34 example, a website using HTTPS).</para></listitem> 33 35 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 36 39 you to perform copy/paste actions in your virtual 37 40 terminals.</para></listitem> … … 45 48 useful.</para></listitem> 46 49 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 49 53 building packages as a non-root user and easily installing the resulting 50 54 packages in your new system.</para></listitem> 51 55 52 56 <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> 55 61 56 62 <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> 58 67 59 68 <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>. 62 73 </para></listitem> 63 74 -
chapter11/theend.xml
rb17714a9 r8e7be49 32 32 running:</para> 33 33 34 <screen ><userinput>echo &version; > /etc/lfs-release</userinput></screen>34 <screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen> 35 35 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; > /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 38 40 them.</para> 39 41 … … 42 44 this file, run:</para> 43 45 44 <screen ><userinput>cat > /etc/lsb-release << "EOF"46 <screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF" 45 47 DISTRIB_ID="Linux From Scratch" 46 48 DISTRIB_RELEASE="&version;" 49 DISTRIB_CODENAME="<your name here>" 50 DISTRIB_DESCRIPTION="Linux From Scratch" 51 EOF</userinput></screen> 52 53 <screen revision="systemd"><userinput>cat > /etc/lsb-release << "EOF" 54 DISTRIB_ID="Linux From Scratch" 55 DISTRIB_RELEASE="&versiond;" 47 56 DISTRIB_CODENAME="<your name here>" 48 57 DISTRIB_DESCRIPTION="Linux From Scratch" … … 53 62 this file, run:</para> 54 63 55 <screen ><userinput>cat > /etc/os-release << "EOF"64 <screen revision="sysv"><userinput>cat > /etc/os-release << "EOF" 56 65 NAME="Linux From Scratch" 57 66 VERSION="&version;" 58 67 ID=lfs 59 68 PRETTY_NAME="Linux From Scratch &version;" 69 VERSION_CODENAME="<your name here>" 70 EOF</userinput></screen> 71 72 <screen revision="systemd"><userinput>cat > /etc/os-release << "EOF" 73 NAME="Linux From Scratch" 74 VERSION="&versiond;" 75 ID=lfs 76 PRETTY_NAME="Linux From Scratch &versiond;" 60 77 VERSION_CODENAME="<your name here>" 61 78 EOF</userinput></screen> -
chapter11/whatnow.xml
rb17714a9 r8e7be49 58 58 <para>The Beyond Linux From Scratch book covers installation 59 59 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;"/>. 61 62 </para> 62 63 </listitem> -
general.ent
rb17714a9 r8e7be49 1 <!-- Editing up to the line of ==== should be enough 2 to generate a book for development, release, or rc--> 3 <!ENTITY % development "INCLUDE"><!-- set to INCLUDE for development, 4 set to IGNORE for release or rc --> 5 <!ENTITY % release "IGNORE"> <!-- set to INCLUDE for release, 6 set to IGNORE for development or rc --> 7 <!ENTITY % rc "IGNORE"> <!-- set to INCLUDE for rc, 8 set to IGNORE for development or 9 release --> 10 <!ENTITY % relnum "11.1"><!-- must be given for release or rc --> 11 <!ENTITY % reldate "March 1st, 2022"><!-- must ve given for release or rc --> 12 <!ENTITY % crdate "1999-2022"><!-- must ve given for release or rc --> 13 <!ENTITY % rcnum "2"><!-- must be given only for rc --> 14 <!-- ================================================================== --> 15 <!-- Do not change anything below unless the www or book layouts change --> 16 17 <!-- Automatically generated by git-version.sh. Used for release or dev --> 18 <!ENTITY % conditional-entities SYSTEM "conditional.ent"> 19 %conditional-entities; 20 21 <![ %development; [ 22 <!-- version info automatically generated by git --> 1 <!-- version info automatically generated by git 2 comment the following two lines for release --> 23 3 <!ENTITY % version-entities SYSTEM "version.ent"> 24 4 %version-entities; 25 <![ %sysv; [26 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; -->27 <!ENTITY errata "&lfs-root;lfs/errata/development/">28 ]]>29 <![ %systemd; [30 <!ENTITY short-version "systemd"> <!-- Used below in &blfs-book; -->31 <!ENTITY errata "&lfs-root;lfs/errata/systemd/">32 ]]>33 <!ENTITY generic-version "development"> <!-- Used below in34 &patches-root;,35 &donwloads-root;, and36 &test-results; -->37 ]]><!-- End %development -->38 5 39 <![ %release; [ 40 <![ %sysv; [ 41 <!ENTITY version "%relnum;"> 42 <!ENTITY short-version "%relnum;"> <!-- Used below in &blfs-book; --> 43 ]]> 44 <![ %systemd; [ 45 <!ENTITY version "%relnum;-systemd"> 46 <!ENTITY short-version "stable-systemd"> <!-- Used below in &blfs-book; --> 47 ]]> 48 <!ENTITY errata "&lfs-root;lfs/errata/&version;/"> 49 <!ENTITY generic-version "%relnum;"> <!-- Used below in 50 &patches-root;, 51 &donwloads-root;, and 52 &test-results; --> 53 <!ENTITY releasedate "%reldate;"> 54 <!ENTITY copyrightdate "%crdate;"> 55 ]]> 6 <!-- uncomment and edit the following four lines 7 for releases (including -rc) --> 8 <!-- 9 <!ENTITY version "10.2-rc1"> 10 <!ENTITY versiond "10.2-systemd-rc1"> 11 <!ENTITY releasedate "August 26th, 2021"> 12 <!ENTITY copyrightdate "1999-2021"> 13 --> 56 14 57 <![ %rc; [ 58 <![ %sysv; [ 59 <!ENTITY version "%relnum;-rc%rcnum;"> 60 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; --> 61 ]]> 62 <![ %systemd; [ 63 <!ENTITY version "%relnum;-systemd-rc%rcnum;"> 64 <!ENTITY short-version "systemd"> <!-- Used below in &blfs-book; --> 65 ]]> 66 <!ENTITY errata "&lfs-root;lfs/errata/&version;/"> 67 <!ENTITY generic-version "%relnum;-rc%rcnum;"> <!-- Used below in 68 &patches-root;, 69 &downloads-root;, and 70 &test-results; --> 71 <!ENTITY releasedate "%reldate;"> 72 <!ENTITY copyrightdate "%crdate;"> 73 ]]> 15 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; 16 Change to x.y for release but not -rc releases --> 17 <!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"> 74 21 75 22 <!ENTITY lfs-root "https://www.linuxfromscratch.org/"> 76 23 <!ENTITY blfs-root "&lfs-root;blfs/"> 77 24 <!ENTITY blfs-book "&blfs-root;view/&short-version;/"> 25 <!ENTITY blfs-systemd-book "&blfs-root;view/&short-versiond;/"> 78 26 <!ENTITY faq-root "&lfs-root;faq/"> 79 27 <!ENTITY hints-root "&lfs-root;hints/downloads/files/"> 80 28 <!ENTITY hints-index "&lfs-root;hints/list.html"> 81 29 <!ENTITY patches-root "&lfs-root;patches/lfs/&generic-version;/"> 82 <!-- Only used for sysv (lfs-bootscripts): -->83 30 <!ENTITY downloads-root "&lfs-root;lfs/downloads/&generic-version;/"> 84 31 <!ENTITY livecd-root "&lfs-root;livecd/"> 85 32 <!ENTITY test-results "&lfs-root;lfs/build-logs/&generic-version;/"> 33 <!ENTITY errata "&lfs-root;lfs/errata/&generic-version;/"> 86 34 <!ENTITY secadv "&lfs-root;lfs/advisories/"> 87 35 <!ENTITY min-kernel "3.2"> 88 <!-- 36 89 37 <!ENTITY patches-rootd "&lfs-root;patches/lfs/&generic-versiond;/"> 90 38 <!ENTITY downloads-rootd "&lfs-root;lfs/downloads/&generic-versiond;/"> 91 39 <!ENTITY test-resultsd "&lfs-root;lfs/build-logs/&generic-versiond;/"> 92 40 <!ENTITY erratad "&lfs-root;lfs/errata/&generic-versiond;/"> 93 --> 41 94 42 <!ENTITY lfs-ticket-root "https://wiki.linuxfromscratch.org/lfs/ticket/"> 95 43 -
git-version.sh
rb17714a9 r8e7be49 1 1 #!/bin/sh 2 3 if [ "$1" = sysv ]; then4 SYSV="INCLUDE"5 SYSTEMD="IGNORE "6 elif [ "$1" = systemd ]; then7 SYSV="IGNORE "8 SYSTEMD="INCLUDE"9 else10 echo You must provide either \"sysv\" or \"systemd\" as argument11 exit 112 fi13 14 echo "<!ENTITY % sysv \"$SYSV\">" > conditional.ent15 echo "<!ENTITY % systemd \"$SYSTEMD\">" >> conditional.ent16 2 17 3 if ! git status > /dev/null; then 18 4 # Either it's not a git repository, or git is unavaliable. 19 5 # 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 26 8 echo "<!ENTITY releasedate \"unknown\">" >> version.ent 27 9 echo "<!ENTITY copyrightdate \"1999-2021\">" >> version.ent … … 60 42 fi 61 43 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 44 echo "<!ENTITY version \"$version\">" > version.ent 45 echo "<!ENTITY versiond \"$versiond\">" >> version.ent 68 46 echo "<!ENTITY releasedate \"$full_date\">" >> version.ent 69 47 echo "<!ENTITY copyrightdate \"1999-$year\">" >> version.ent -
make-aux-files.sh
rb17714a9 r8e7be49 4 4 5 5 # 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`6 version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2` 7 7 mv bootscripts lfs-bootscripts-$version 8 8 -
patches.ent
rb17714a9 r8e7be49 73 73 <!ENTITY perl-fix-patch-size "1.6 KB"> 74 74 75 <![ %sysv; [76 75 <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> 77 76 <!ENTITY sysvinit-consolidated-patch-md5 "4900322141d493e74020c9cf437b2cdc"> 78 77 <!ENTITY sysvinit-consolidated-patch-size "2.4 KB"> 79 ]]>80 78 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; [88 79 <!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes-1.patch"> 89 80 <!ENTITY systemd-upstream-fixes-patch-md5 "a4449dedf514486b8995ee501d1bb8cc"> 90 81 <!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
rb17714a9 r8e7be49 8 8 <bookinfo> 9 9 <title>Linux From Scratch</title> 10 <subtitle>Version &version;</subtitle> 10 <subtitle revision='sysv' >Version &version; </subtitle> 11 <subtitle revision='systemd'>Version &versiond;</subtitle> 11 12 <subtitle>Published &releasedate;</subtitle> 12 13 -
prologue/errata.xml
rb17714a9 r8e7be49 16 16 instructions in this release of LFS need any modifications to accommodate 17 17 security vulnerabilities or other bug fixes, please visit 18 <ulink url="&errata;"/> 18 <ulink revision="sysv" url="&errata;"/> 19 <ulink revision="systemd" url="&erratad;"/> 19 20 before proceeding with your build. You should note any 20 21 changes shown and apply them to the relevant section of the book as you
Note:
See TracChangeset
for help on using the changeset viewer.