Changes in / [0b5f7d87:08a6368]
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r0b5f7d87 r08a6368 1 1 lfs-bootscripts-*.tar.xz 2 conditional.ent 2 3 version.ent 3 4 appendices/*.script -
Makefile
r0b5f7d87 r08a6368 205 205 206 206 version: 207 $(Q)./git-version.sh 207 $(Q)./git-version.sh $(REV) 208 208 209 209 #dump-commands: validate -
chapter01/askforhelp.xml
r0b5f7d87 r08a6368 39 39 <itemizedlist> 40 40 <listitem> 41 <para>The version of the book being used (in this case 42 <phrase revision="sysv">&version;</phrase> 43 <phrase revision="systemd">&versiond;</phrase>) 44 <phrase arch="default" revision="sysv">&version;</phrase> 45 <phrase arch="ml_32,ml_x32,ml_all" revision="sysv">&version;-multilib</phrase> 46 <phrase arch="default" revision="systemd">&versiond;</phrase> 47 <phrase arch="ml_32,ml_x32,ml_all" revision="systemd">&versiond;-multilib</phrase>)</para> 41 <para>The version of the book being used (in this case &version;<phrase arch="ml_32,ml_x32,ml_all">-multilib</phrase>)</para> 48 42 </listitem> 49 43 <listitem> -
chapter01/changelog.xml
r0b5f7d87 r08a6368 11 11 <title>Changelog</title> 12 12 13 <para>This is version 14 <phrase arch="default" revision="sysv">&version;</phrase> 15 <phrase arch="ml_32,ml_x32,ml_all" revision="sysv">&version;-multilib</phrase> 16 <phrase arch="default" revision="systemd">&versiond;</phrase> 17 <phrase arch="ml_32,ml_x32,ml_all" revision="systemd">&versiond;-multilib</phrase> 18 of the Linux From Scratch book, dated 13 <para>This is version &version;<phrase arch="ml_32,ml_x32,ml_all">&version;-multilib</phrase> of the Linux From Scratch book, dated 19 14 &releasedate;. If this book is more than six months old, a newer and better 20 15 version is probably already available. To find out, please check one of the … … 45 40 appropriate for the entry or if needed the entire day's listitem. 46 41 --> 42 <listitem> 43 <para>2021-10-15</para> 44 <itemizedlist> 45 <listitem> 46 <para>[bdubbs] - Update to vim-8.2.3508. Addresses 47 <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para> 48 </listitem> 49 <listitem> 50 <para>[bdubbs] - Update to tzdata-2021c. Fixes 51 <ulink url="&lfs-ticket-root;4934">#4934</ulink>.</para> 52 </listitem> 53 <listitem> 54 <para>[bdubbs] - Update to Python-3.10.0. Fixes 55 <ulink url="&lfs-ticket-root;4938">#4938</ulink>.</para> 56 </listitem> 57 <listitem> 58 <para>[bdubbs] - Update to Jinja2-3.0.2. Fixes 59 <ulink url="&lfs-ticket-root;4937">#4937</ulink>.</para> 60 </listitem> 61 <listitem> 62 <para>[bdubbs] - Update to linux-5.14.12. Fixes 63 <ulink url="&lfs-ticket-root;4932">#4932</ulink>.</para> 64 </listitem> 65 <listitem> 66 <para>[bdubbs] - Update to iana-etc-20211004. Fixes 67 <ulink url="&lfs-ticket-root;4933">#4933</ulink>.</para> 68 </listitem> 69 <listitem> 70 <para>[bdubbs] - Update to bc-5.1.1. Fixes 71 <ulink url="&lfs-ticket-root;4936">#4936</ulink>.</para> 72 </listitem> 73 <listitem> 74 <para>[bdubbs] - Update to automake-1.16.5. Fixes 75 <ulink url="&lfs-ticket-root;4935">#4935</ulink>.</para> 76 </listitem> 77 </itemizedlist> 78 </listitem> 79 47 80 <listitem> 48 81 <para>2021-10-01</para> -
chapter01/resources.xml
r0b5f7d87 r08a6368 58 58 question is not already answered in the LFS FAQ or the mailing list 59 59 archives. You can find the IRC network at <uri>irc.libera.chat</uri>. 60 The support channel is named # LFS-support.</para>60 The support channel is named #lfs-support.</para> 61 61 62 62 </sect2> -
chapter01/whatsnew.xml
r0b5f7d87 r08a6368 40 40 <para>Autoconf-&autoconf-version;</para> 41 41 </listitem>--> 42 < !--<listitem>42 <listitem> 43 43 <para>Automake-&automake-version;</para> 44 </listitem> -->44 </listitem> 45 45 <!--<listitem> 46 46 <para>Bash &bash-version;</para> … … 139 139 <para>IPRoute2-&iproute2-version;</para> 140 140 </listitem> 141 < !--<listitem revision="systemd">141 <listitem revision="systemd"> 142 142 <para>Jinja2-&jinja2-version;</para> 143 </listitem> -->143 </listitem> 144 144 <!--<listitem> 145 145 <para>Kbd-&kbd-version;</para> -
chapter07/cleanup.xml
r0b5f7d87 r08a6368 131 131 </note> 132 132 133 <screen role="nodump" revision="sysv"><userinput>cd $LFS133 <screen role="nodump"><userinput>cd $LFS 134 134 tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen> 135 136 <screen role="nodump" revision="systemd"><userinput>cd $LFS137 tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>138 135 139 136 </sect2> … … 161 158 your entire host system. YOU ARE WARNED.</para></warning> 162 159 163 <screen role="nodump" revision="sysv"><computeroutput>cd $LFS160 <screen role="nodump"><computeroutput>cd $LFS 164 161 rm -rf ./* 165 162 tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen> 166 167 <screen role="nodump" revision="systemd"><computeroutput>cd $LFS168 rm -rf ./*169 tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen>170 163 171 164 <para> -
chapter08/automake.xml
r0b5f7d87 r08a6368 59 59 60 60 <screen><userinput remap="test">make -j4 check</userinput></screen> 61 <!-- 62 <para>The tests t/subobj.sh, t/deprecated-acinit.sh, and t/init.sh are known to 63 fail in the LFS environment.</para> 64 --> 61 62 <para>The test t/subobj.sh is known to fail.</para> 63 65 64 <para>Install the package:</para> 66 65 -
chapter08/gawk.xml
r0b5f7d87 r08a6368 63 63 <para>If desired, install the documentation:</para> 64 64 65 <screen><userinput remap="install">mkdir - v/usr/share/doc/gawk-&gawk-version;65 <screen><userinput remap="install">mkdir -pv /usr/share/doc/gawk-&gawk-version; 66 66 cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-&gawk-version;</userinput></screen> 67 67 -
chapter08/iproute2.xml
r0b5f7d87 r08a6368 80 80 <para>If desired, install the documentation:</para> 81 81 82 <screen><userinput remap="install">mkdir - v/usr/share/doc/iproute2-&iproute2-version;82 <screen><userinput remap="install">mkdir -pv /usr/share/doc/iproute2-&iproute2-version; 83 83 cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version;</userinput></screen> 84 84 -
chapter08/kbd.xml
r0b5f7d87 r08a6368 98 98 <para>If desired, install the documentation:</para> 99 99 100 <screen><userinput remap="install">mkdir - v/usr/share/doc/kbd-&kbd-version;100 <screen><userinput remap="install">mkdir -pv /usr/share/doc/kbd-&kbd-version; 101 101 cp -R -v docs/doc/* /usr/share/doc/kbd-&kbd-version;</userinput></screen> 102 102 -
chapter08/ncurses.xml
r0b5f7d87 r08a6368 125 125 <para>If desired, install the Ncurses documentation:</para> 126 126 127 <screen><userinput remap="install">mkdir - v/usr/share/doc/ncurses-&ncurses-version;127 <screen><userinput remap="install">mkdir -pv /usr/share/doc/ncurses-&ncurses-version; 128 128 cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;</userinput></screen> 129 129 -
chapter10/grub.xml
r0b5f7d87 r08a6368 136 136 <para>Generate <filename>/boot/grub/grub.cfg</filename>:</para> 137 137 138 <screen revision="sysv"><userinput>cat > /boot/grub/grub.cfg << "EOF"138 <screen><userinput>cat > /boot/grub/grub.cfg << "EOF" 139 139 <literal># Begin /boot/grub/grub.cfg 140 140 set default=0 … … 148 148 }</literal> 149 149 EOF</userinput></screen> 150 151 <screen revision="systemd"><userinput>cat > /boot/grub/grub.cfg << "EOF"152 <literal># Begin /boot/grub/grub.cfg153 set default=0154 set timeout=5155 156 insmod ext2157 set root=(hd0,2)158 159 menuentry "GNU/Linux, Linux &linux-version;-lfs-&versiond;" {160 linux /boot/vmlinuz-&linux-version;-lfs-&versiond; root=/dev/sda2 ro161 }</literal>162 EOF</userinput></screen>163 164 150 165 151 <note><para>From <application>GRUB</application>'s perspective, the -
chapter10/kernel.xml
r0b5f7d87 r08a6368 259 259 following command assumes an x86 architecture:</para> 260 260 261 <screen revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> 262 263 <screen revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&versiond;</userinput></screen> 261 <screen><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> 264 262 265 263 <para><filename>System.map</filename> is a symbol file for the kernel. … … 370 368 <seglistitem> 371 369 <seg>config-&linux-version;, 372 <phrase revision="sysv">vmlinuz-&linux-version;-lfs-&version;,</phrase> 373 <phrase revision="systemd">vmlinuz-&linux-version;-lfs-&versiond;,</phrase> 370 vmlinuz-&linux-version;-lfs-&version;, 374 371 and System.map-&linux-version;</seg> 375 372 <seg>/lib/modules, /usr/share/doc/linux-&linux-version;</seg> … … 393 390 394 391 <varlistentry id="lfskernel"> 395 <term revision="sysv"><filename>vmlinuz-&linux-version;-lfs-&version;</filename></term> 396 <term revision="systemd"><filename>vmlinuz-&linux-version;-lfs-&versiond;</filename></term> 392 <term><filename>vmlinuz-&linux-version;-lfs-&version;</filename></term> 397 393 <listitem> 398 394 <para>The engine of the Linux system. When turning on the computer, -
chapter11/reboot.xml
r0b5f7d87 r08a6368 21 21 <itemizedlist> 22 22 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> 23 <listitem><para>A text mode browser such as <ulink 24 url='&blfs-book;basicnet/lynx.html'>Lynx</ulink> 26 25 will allow you to easily view the BLFS book in one virtual terminal, while 27 26 building packages in another.</para></listitem> 28 27 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 28 <listitem><para>The <ulink 29 url='&blfs-book;postlfs/make-ca.html'>make-ca</ulink> package 32 30 will allow you to set up local trusted anchor certificates, allowing 33 31 the system to verify SSL certificates provided by remote servers (for 34 32 example, a website using HTTPS).</para></listitem> 35 33 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 34 <listitem><para>The <ulink 35 url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow 39 36 you to perform copy/paste actions in your virtual 40 37 terminals.</para></listitem> … … 48 45 useful.</para></listitem> 49 46 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 47 <listitem><para>Installing <ulink 48 url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for 53 49 building packages as a non-root user and easily installing the resulting 54 50 packages in your new system.</para></listitem> 55 51 56 52 <listitem><para>If you want to access your new system from a remote system 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> 53 within a comfortable GUI environment, install <ulink 54 url='&blfs-book;postlfs/openssh.html'>openssh</ulink>.</para></listitem> 61 55 62 56 <listitem><para>To make fetching files over the internet easier, install 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> 57 <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.</para></listitem> 67 58 68 59 <listitem><para>To connect to a wireless access point for networking, 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>. 60 install <ulink 61 url='&blfs-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink>. 73 62 </para></listitem> 74 63 -
chapter11/theend.xml
r0b5f7d87 r08a6368 32 32 running:</para> 33 33 34 <screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen>34 <screen><userinput>echo &version; > /etc/lfs-release</userinput></screen> 35 35 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 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 40 38 them.</para> 41 39 … … 44 42 this file, run:</para> 45 43 46 <screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"44 <screen><userinput>cat > /etc/lsb-release << "EOF" 47 45 DISTRIB_ID="Linux From Scratch" 48 46 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;"56 47 DISTRIB_CODENAME="<your name here>" 57 48 DISTRIB_DESCRIPTION="Linux From Scratch" … … 62 53 this file, run:</para> 63 54 64 <screen revision="sysv"><userinput>cat > /etc/os-release << "EOF"55 <screen><userinput>cat > /etc/os-release << "EOF" 65 56 NAME="Linux From Scratch" 66 57 VERSION="&version;" 67 58 ID=lfs 68 59 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=lfs76 PRETTY_NAME="Linux From Scratch &versiond;"77 60 VERSION_CODENAME="<your name here>" 78 61 EOF</userinput></screen> -
chapter11/whatnow.xml
r0b5f7d87 r08a6368 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 revision="sysv" 61 url="&blfs-book;"/><ulink revision="systemd" url="&blfs-systemd-book;"/>. 60 Book. The BLFS project is located at <ulink url="&blfs-book;"/>. 62 61 </para> 63 62 </listitem> -
general.ent
r0b5f7d87 r08a6368 1 <!-- version info automatically generated by git 2 comment the following two lines for release --> 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 --> 3 23 <!ENTITY % version-entities SYSTEM "version.ent"> 4 24 %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 in 34 &patches-root;, 35 &donwloads-root;, and 36 &test-results; --> 37 ]]><!-- End %development --> 5 38 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 --> 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 ]]> 14 56 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"> 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 ]]> 21 74 22 75 <!ENTITY lfs-root "https://www.linuxfromscratch.org/"> 23 76 <!ENTITY blfs-root "&lfs-root;blfs/"> 24 77 <!ENTITY blfs-book "&blfs-root;view/&short-version;/"> 25 <!ENTITY blfs-systemd-book "&blfs-root;view/&short-versiond;/">26 78 <!ENTITY faq-root "&lfs-root;faq/"> 27 79 <!ENTITY hints-root "&lfs-root;hints/downloads/files/"> 28 80 <!ENTITY hints-index "&lfs-root;hints/list.html"> 29 81 <!ENTITY patches-root "&lfs-root;patches/lfs/&generic-version;/"> 82 <!-- Only used for sysv (lfs-bootscripts): --> 30 83 <!ENTITY downloads-root "&lfs-root;lfs/downloads/&generic-version;/"> 31 84 <!ENTITY livecd-root "&lfs-root;livecd/"> 32 85 <!ENTITY test-results "&lfs-root;lfs/build-logs/&generic-version;/"> 33 <!ENTITY errata "&lfs-root;lfs/errata/&generic-version;/">34 86 <!ENTITY secadv "&lfs-root;lfs/advisories/"> 35 87 <!ENTITY min-kernel "3.2"> 36 88 <!-- 37 89 <!ENTITY patches-rootd "&lfs-root;patches/lfs/&generic-versiond;/"> 38 90 <!ENTITY downloads-rootd "&lfs-root;lfs/downloads/&generic-versiond;/"> 39 91 <!ENTITY test-resultsd "&lfs-root;lfs/build-logs/&generic-versiond;/"> 40 92 <!ENTITY erratad "&lfs-root;lfs/errata/&generic-versiond;/"> 41 93 --> 42 94 <!ENTITY lfs-ticket-root "https://wiki.linuxfromscratch.org/lfs/ticket/"> 43 95 -
git-version.sh
r0b5f7d87 r08a6368 1 1 #!/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 2 16 3 17 if ! git status > /dev/null; then 4 18 # Either it's not a git repository, or git is unavaliable. 5 19 # Just workaround. 6 echo "<!ENTITY version \"unknown\">" > version.ent 7 echo "<!ENTITY versiond \"unknown-systemd\">" >> version.ent 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 8 26 echo "<!ENTITY releasedate \"unknown\">" >> version.ent 9 27 echo "<!ENTITY copyrightdate \"1999-2021\">" >> version.ent … … 31 49 32 50 sha="$(git describe --abbrev=1)" 33 if [ "$(git branch --show-current)" = "trunk" ]; then 34 sha=$(echo "$sha" | sed 's/-g[^-]*$//') 35 fi 36 version="$sha" 37 versiond="$sha-systemd" 51 rev=$(echo "$sha" | sed 's/-g[^-]*$//') 52 version="$rev" 53 versiond="$rev-systemd" 38 54 39 55 if [ "$(git diff HEAD | wc -l)" != "0" ]; then … … 42 58 fi 43 59 44 echo "<!ENTITY version \"$version\">" > version.ent 45 echo "<!ENTITY versiond \"$versiond\">" >> version.ent 60 echo "<![ %sysv; [" > version.ent 61 echo "<!ENTITY version \"$version\">" >> version.ent 62 echo "]]>" >> version.ent 63 echo "<![ %systemd; [" >> version.ent 64 echo "<!ENTITY version \"$versiond\">" >> version.ent 65 echo "]]>" >> version.ent 46 66 echo "<!ENTITY releasedate \"$full_date\">" >> version.ent 47 67 echo "<!ENTITY copyrightdate \"1999-$year\">" >> version.ent -
lfs-latest-git.php
r0b5f7d87 r08a6368 319 319 # Make version.ent 320 320 chdir( "$tmpdir/LFS" ); 321 exec ( "./git-version.sh " );321 exec ( "./git-version.sh systemd" ); 322 322 323 323 chdir( $cdir ); -
make-aux-files.sh
r0b5f7d87 r08a6368 4 4 5 5 # Get base file name and move bootscripts directory to that name 6 version=`grep "ENTITY lfs-bootscripts-version" packages.ent | cut -d'"' -f2`6 version=`grep "ENTITY lfs-bootscripts-version" packages.ent | head -n1| cut -d'"' -f2` 7 7 mv bootscripts lfs-bootscripts-$version 8 8 -
packages.ent
r0b5f7d87 r08a6368 39 39 <!ENTITY autoconf-fin-sbu "less than 0.1 SBU (about &autoconf-fin-sbu-tests; SBU with tests)"> 40 40 41 <!ENTITY automake-version "1.16. 4">41 <!ENTITY automake-version "1.16.5"> 42 42 <!ENTITY am-minor-version "1.16"> 43 <!ENTITY automake-size "1,56 4KB">43 <!ENTITY automake-size "1,565 KB"> 44 44 <!ENTITY automake-url "&gnu;automake/automake-&automake-version;.tar.xz"> 45 <!ENTITY automake-md5 " 86e8e682bd74e6390a016c4d9c11267c">45 <!ENTITY automake-md5 "4017e96f89fca45ca946f1c5db6be714"> 46 46 <!ENTITY automake-sha256 "80facc09885a57e6d49d06972c0ae1089c5fa8f4d4c7cfe5baea58e5085f136d"> 47 47 <!ENTITY automake-home "&gnu-software;automake/"> … … 59 59 <!ENTITY bash-fin-sbu "1.6 SBU"> 60 60 61 <!ENTITY bc-version "5. 0.2">62 <!ENTITY bc-size "42 0KB">61 <!ENTITY bc-version "5.1.1"> 62 <!ENTITY bc-size "424 KB"> 63 63 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> 64 <!ENTITY bc-md5 " 3b521d29aa4af4c4d5e96f7c3db3c607">64 <!ENTITY bc-md5 "1af1e124e5d1734e8770dc85e0af5cd6"> 65 65 <!ENTITY bc-home "https://git.yzena.com/gavin/bc"> 66 66 <!ENTITY bc-fin-du "6.7 MB"> … … 322 322 <!ENTITY gzip-fin-sbu "0.1 SBU"> 323 323 324 <!ENTITY iana-etc-version "2021 0924">324 <!ENTITY iana-etc-version "20211004"> 325 325 <!ENTITY iana-etc-size "580 KB"> 326 326 <!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz"> 327 <!ENTITY iana-etc-md5 " e4e8ab089948c1cbb2f9003087fa2ac7">327 <!ENTITY iana-etc-md5 "7f174923f490329e2665ded727b1cc5c"> 328 328 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 329 329 <!ENTITY iana-etc-fin-du "4.7 MB"> … … 363 363 <!ENTITY isl-fin-sbu "0.1 SBU"> 364 364 365 <!ENTITY jinja2-version "3.0. 1">366 <!ENTITY jinja2-size "26 4KB">365 <!ENTITY jinja2-version "3.0.2"> 366 <!ENTITY jinja2-size "263 KB"> 367 367 <!ENTITY jinja2-url "https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-&jinja2-version;.tar.gz"> 368 <!ENTITY jinja2-md5 " 25ba6ef98c164878acff1036fbd72a1d">368 <!ENTITY jinja2-md5 "059f89375d7ea60eb7013f341f0b89e7"> 369 369 <!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.0.x/"> 370 370 <!ENTITY jinja2-fin-du "3.7 MB"> … … 437 437 <!ENTITY linux-major-version "5"> 438 438 <!ENTITY linux-minor-version "14"> 439 <!ENTITY linux-patch-version " 8">439 <!ENTITY linux-patch-version "12"> 440 440 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 441 441 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 442 <!ENTITY linux-size "117,8 69KB">442 <!ENTITY linux-size "117,880 KB"> 443 443 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 444 <!ENTITY linux-md5 " ce6434b646ade20e292fb28c1aacde58">444 <!ENTITY linux-md5 "a52286fe206a3f7664ca5a6c5995b9ed"> 445 445 <!ENTITY linux-home "https://www.kernel.org/"> 446 446 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is … … 601 601 meson pages will be needed: python3.6 and python3.6m --> 602 602 603 <!ENTITY python-version "3. 9.7">604 <!ENTITY python-minor "3. 9">605 <!ENTITY python-size "18, 676KB">603 <!ENTITY python-version "3.10.0"> 604 <!ENTITY python-minor "3.10"> 605 <!ENTITY python-size "18,288 KB"> 606 606 <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz"> 607 <!ENTITY python-md5 " fddb060b483bc01850a3f412eea1d954">607 <!ENTITY python-md5 "3e7035d272680f80e3ce4e8eb492d580"> 608 608 <!ENTITY python-home "https://www.python.org/"> 609 609 <!ENTITY python-tmp-du "347 MB"> … … 612 612 <!ENTITY python-fin-sbu "4.4 SBU"> 613 613 <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2"> 614 <!ENTITY python-docs-md5 " ef3ea6141ed362e4d12467b136ee70fe">615 <!ENTITY python-docs-size " 6,791KB">614 <!ENTITY python-docs-md5 "157696412c0abede82024c91ec22f562"> 615 <!ENTITY python-docs-size "7,093 KB"> 616 616 617 617 <!ENTITY readline-version "8.1"> … … 706 706 <!ENTITY texinfo-fin-sbu "0.6 SBU"> 707 707 708 <!ENTITY tzdata-version "2021 b">709 <!ENTITY tzdata-size "41 1KB">708 <!ENTITY tzdata-version "2021c"> 709 <!ENTITY tzdata-size "412 KB"> 710 710 <!ENTITY tzdata-url "https://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz"> 711 <!ENTITY tzdata-md5 " f3b7d5040127e45ccd7ef0952e03edb2">711 <!ENTITY tzdata-md5 "8c0ffa5162bca86eaa5ba1b4aec1a0fc"> 712 712 <!ENTITY tzdata-home "https://www.iana.org/time-zones"> 713 713 … … 729 729 <!ENTITY util-linux-fin-sbu "1.1 SBU"> 730 730 731 <!ENTITY vim-version "8.2.3 458">731 <!ENTITY vim-version "8.2.3508"> 732 732 <!ENTITY vim-majmin "82"> 733 733 <!ENTITY vim-docdir "vim/vim82"> 734 <!ENTITY vim-size "15,3 60KB">734 <!ENTITY vim-size "15,386 KB"> 735 735 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">--> 736 736 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz"> 737 <!ENTITY vim-md5 " 29bdddab2dc2f6e10b2badba4ffad4bf">737 <!ENTITY vim-md5 "f6004d3e776040e2301a1967975d00d1"> 738 738 <!ENTITY vim-home "https://www.vim.org"> 739 739 <!ENTITY vim-fin-du "199 MB"> -
prologue/bookinfo.xml
r0b5f7d87 r08a6368 8 8 <bookinfo> 9 9 <title>Linux From Scratch</title> 10 <subtitle arch="default" revision='sysv'>Version &version;</subtitle> 11 <subtitle arch="default" revision='systemd'>Version &versiond;</subtitle> 12 <subtitle arch="ml_32,ml_x32,ml_all" revision='sysv'>Version &version;-multilib</subtitle> 13 <subtitle arch="ml_32,ml_x32,ml_all" revision='systemd'>Version &versiond;-multilib</subtitle> 10 <subtitle>Version &version;<phrase arch="ml_32,ml_x32,ml_all">-multilib</phrase></subtitle> 14 11 <subtitle>Published &releasedate;</subtitle> 15 12 -
prologue/errata.xml
r0b5f7d87 r08a6368 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 revision="sysv" url="&errata;"/> 19 <ulink revision="systemd" url="&erratad;"/> 18 <ulink url="&errata;"/> 20 19 before proceeding with your build. You should note any 21 20 changes shown and apply them to the relevant section of the book as you
Note:
See TracChangeset
for help on using the changeset viewer.