Changeset 5e06d04
- Timestamp:
- 02/01/2021 08:37:19 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- f695e02
- Parents:
- 3e73c5d
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
r3e73c5d r5e06d04 1 2021-01-13 Xi Ruoyao <xry111@mengyan1223.wang> 2 * Use /run instead of deprecated /var/run 3 1 4 2020-10-02 DJ Lucas <dj@linuxfromscratch.org> 2 5 * make $local_fs a Should-Stop dependency of swap to allow clean install -
bootscripts/lfs/init.d/cleanfs
r3e73c5d r5e06d04 22 22 # Default-Stop: 23 23 # Short-Description: Cleans temporary directories early in the boot process. 24 # Description: Cleans temporary directories / var/run, /var/lock, and25 # optionally, /tmp. cleanfs also creates / var/run/utmp24 # Description: Cleans temporary directories /run, /var/lock, and 25 # optionally, /tmp. cleanfs also creates /run/utmp 26 26 # and any files defined in /etc/sysconfig/createfiles. 27 27 # X-LFS-Provided-By: LFS … … 96 96 fi 97 97 98 > / var/run/utmp98 > /run/utmp 99 99 100 100 if grep -q '^utmp:' /etc/group ; then 101 chmod 664 / var/run/utmp102 chgrp utmp / var/run/utmp101 chmod 664 /run/utmp 102 chgrp utmp /run/utmp 103 103 fi 104 104 -
bootscripts/lfs/init.d/rc
r3e73c5d r5e06d04 143 143 144 144 # Read the state file if it exists from runlevel S 145 [ -r / var/run/interactive ] && source /var/run/interactive145 [ -r /run/interactive ] && source /run/interactive 146 146 147 147 # Attempt to stop all services started by the previous runlevel, … … 218 218 # Store interactive variable on switch from runlevel S and remove if not 219 219 if [ "${runlevel}" == "S" -a "${interactive}" == "i" ]; then 220 echo "interactive=\"i\"" > / var/run/interactive220 echo "interactive=\"i\"" > /run/interactive 221 221 else 222 rm -f / var/run/interactive 2> /dev/null222 rm -f /run/interactive 2> /dev/null 223 223 fi 224 224 -
bootscripts/lfs/lib/services/init-functions
r3e73c5d r5e06d04 359 359 progname=`echo "${program}" | sed "s@${prefix}@@"` 360 360 361 if [ -e "/ var/run/${progname}.pid" ]; then362 rm -f "/ var/run/${progname}.pid" 2> /dev/null361 if [ -e "/run/${progname}.pid" ]; then 362 rm -f "/run/${progname}.pid" 2> /dev/null 363 363 fi 364 364 else … … 435 435 436 436 # If a PID file exists with that name, assume that is it. 437 if [ -e "/ var/run/${progname}.pid" ]; then438 pidfile="/ var/run/${progname}.pid"437 if [ -e "/run/${progname}.pid" ]; then 438 pidfile="/run/${progname}.pid" 439 439 fi 440 440 fi … … 529 529 "ID(s) ${pidlist}.${NORMAL}" 530 530 else 531 if [ -n "${base}" -a -e "/ var/run/${base}.pid" ]; then531 if [ -n "${base}" -a -e "/run/${base}.pid" ]; then 532 532 /bin/echo -e "${WARNING}${1} is not running but" \ 533 "/ var/run/${base}.pid exists.${NORMAL}"533 "/run/${base}.pid exists.${NORMAL}" 534 534 else 535 535 if [ -n "${pidfile}" -a -e "${pidfile}" ]; then -
chapter01/changelog.xml
r3e73c5d r5e06d04 47 47 <listitem> 48 48 <itemizedlist> 49 <para>2021-02-01</para> 50 <listitem> 51 <para>[bdubbs] - Update to vim-8.2.2433. Addresses 52 <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para> 53 </listitem> 54 <listitem> 55 <para>[bdubbs] - Update to iana-etc-20210115. Addresses 56 <ulink url="&lfs-ticket-root;4722">#4722</ulink>.</para> 57 </listitem> 58 <listitem> 59 <para>[bdubbs] - Update to bc-3.2.5. Fixes 60 <ulink url="&lfs-ticket-root;4797">#4797</ulink>.</para> 61 </listitem> 62 <listitem> 63 <para>[bdubbs] - Update to e2fsprogs-1.46.0. Fixes 64 <ulink url="&lfs-ticket-root;4796">#4796</ulink>.</para> 65 </listitem> 66 <listitem> 67 <para>[bdubbs] - Update to autoconf-2.71. Fixes 68 <ulink url="&lfs-ticket-root;4795">#4795</ulink>.</para> 69 </listitem> 70 <listitem> 71 <para>[bdubbs] - Update to tzdata-2021a. Fixes 72 <ulink url="&lfs-ticket-root;4793">#4793</ulink>.</para> 73 </listitem> 74 <listitem> 75 <para>[bdubbs] - Update to perl-5.32.1. Fixes 76 <ulink url="&lfs-ticket-root;4792">#4792</ulink>.</para> 77 </listitem> 78 <listitem> 79 <para>[bdubbs] - Update to libcap-2.47. Fixes 80 <ulink url="&lfs-ticket-root;4791">#4791</ulink>.</para> 81 </listitem> 82 <listitem> 83 <para>[bdubbs] - Update to bison-3.7.5. Fixes 84 <ulink url="&lfs-ticket-root;4790">#4790</ulink>.</para> 85 </listitem> 86 <listitem> 87 <para>[bdubbs] - Update to binutils-2.36. Fixes 88 <ulink url="&lfs-ticket-root;4789">#4789</ulink>.</para> 89 </listitem> 90 <listitem> 91 <para>[bdubbs] - Update to linux-5.10.12. Fixes 92 <ulink url="&lfs-ticket-root;4786">#4786</ulink>.</para> 93 </listitem> 94 </itemizedlist> 95 </listitem> 96 97 <listitem> 98 <para>2020-01-16</para> 99 <itemizedlist> 100 <listitem> 101 <para>[renodr] - Update to findutils-4.8.0. Fixes 102 <ulink url="&lfs-ticket-root;4785">#4785</ulink>.</para> 103 </listitem> 104 <listitem> 105 <para>[renodr] - Update to kmod-28. Fixes 106 <ulink url="&lfs-ticket-root;4784">#4784</ulink>.</para> 107 </listitem> 108 <listitem> 109 <para>[renodr] - Update to tar-1.33. Fixes 110 <ulink url="&lfs-ticket-root;4783">#4783</ulink>.</para> 111 </listitem> 112 <listitem> 113 <para>[renodr] - Update to linux-5.10.7. Fixes 114 <ulink url="&lfs-ticket-root;4782">#4782</ulink>.</para> 115 </listitem> 116 <listitem> 117 <para>[renodr] - Update to meson-0.56.2. Fixes 118 <ulink url="&lfs-ticket-root;4781">#4781</ulink>.</para> 119 </listitem> 120 <listitem> 121 <para>[renodr] - Update to tcl-8.6.11. Fixes 122 <ulink url="&lfs-ticket-root;4780">#4780</ulink>.</para> 123 </listitem> 124 </itemizedlist> 125 </listitem> 126 127 <listitem> 128 <para>2021-01-13</para> 129 <itemizedlist> 130 <listitem> 131 <para>[xry111] - Fix util-linux uuidd socket path.</para> 132 </listitem> 133 <listitem> 134 <para>[xry111] - Remove various references to deprecated 135 /var/run, use /run instead.</para> 136 </listitem> 137 <listitem revision="sysv"> 138 <para>[xry111] - Update to lfs-bootscripts-20210113.</para> 139 </listitem> 140 </itemizedlist> 141 </listitem> 142 143 <listitem> 144 <itemizedlist> 49 145 <para>2021-01-01</para> 50 146 <listitem> -
chapter01/whatsnew.xml
r3e73c5d r5e06d04 73 73 <para>Diffutils-&diffutils-version;</para> 74 74 </listitem>--> 75 < !--<listitem>75 <listitem> 76 76 <para>E2fsprogs-&e2fsprogs-version;</para> 77 </listitem> -->77 </listitem> 78 78 <!--<listitem revision="sysv"> 79 79 <para>Eudev-&eudev-version;</para> … … 88 88 <para>File-&file-version;</para> 89 89 </listitem>--> 90 < !--<listitem>90 <listitem> 91 91 <para>Findutils-&findutils-version;</para> 92 </listitem> -->92 </listitem> 93 93 <!--<listitem> 94 94 <para>Flex-&flex-version;</para> … … 142 142 <para>Kbd-&kbd-version;</para> 143 143 </listitem> 144 < !--<listitem>144 <listitem> 145 145 <para>Kmod-&kmod-version;</para> 146 </listitem> -->146 </listitem> 147 147 <listitem> 148 148 <para>Less-&less-version;</para> … … 202 202 <para>Patch-&patch-version;</para> 203 203 </listitem>--> 204 < !--<listitem>204 <listitem> 205 205 <para>Perl-&perl-version;</para> 206 </listitem> -->206 </listitem> 207 207 <!--<listitem> 208 208 <para>Pkg-config-&pkgconfig-version;</para> … … 235 235 <para>SysVinit-&sysvinit-version;</para> 236 236 </listitem> 237 < !--<listitem>237 <listitem> 238 238 <para>Tar-&tar-version;</para> 239 </listitem> -->240 < !--<listitem>239 </listitem> 240 <listitem> 241 241 <para>Tcl-&tcl-version;</para> 242 </listitem> -->242 </listitem> 243 243 <!--<listitem> 244 244 <para>Texinfo-&texinfo-version;</para> … … 279 279 <title>Added:</title> 280 280 <listitem><para></para></listitem> <!-- satisfy build --> 281 < listitem>281 <!--<listitem> 282 282 <para>meson-0.56.0-upstream_fix-1.patch</para> 283 </listitem>283 </listitem>--> 284 284 <listitem> 285 285 <para>systemd-247-upstream_fixes-1.patch</para> -
chapter03/patches.xml
r3e73c5d r5e06d04 85 85 </varlistentry> 86 86 87 <!-- 87 88 <varlistentry> 88 89 <term>Meson Upstream Fix Patch - <token>&meson-fix-patch-size;</token>:</term> … … 92 93 </listitem> 93 94 </varlistentry> 94 95 --> 95 96 <!-- 96 97 <varlistentry> -
chapter06/chapter06.xml
r3e73c5d r5e06d04 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/> 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gzip.xml"/> 25 <!-- xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/ -->25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="patch.xml"/> -
chapter06/zlib.xml
r3e73c5d r5e06d04 6 6 ]> 7 7 8 <sect1 id="ch-tools-zlib" role="wrap" arch="ml_32,ml_x32,ml_all">8 <sect1 id="ch-tools-zlib" role="wrap"> 9 9 <?dbhtml filename="zlib.html"?> 10 10 … … 50 50 <screen><userinput remap="make">make</userinput></screen> 51 51 52 <para>To test the results, issue:</para>53 54 <screen><userinput remap="test">make check</userinput></screen>55 56 52 <para>Install the package:</para> 57 53 58 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 59 60 <para>The shared library needs to be moved to 61 <filename class="directory">/lib</filename>, and as a result the 62 <filename class="extension">.so</filename> file in 63 <filename class="directory">/usr/lib</filename> will need to be recreated:</para> 64 65 <screen><userinput remap="install">mv -v $LFS/usr/lib/libz.so.* $LFS/lib 54 <screen><userinput remap="install">make DESTDIR=$LFS install 55 mv -v $LFS/usr/lib/libz.so.* $LFS/lib 66 56 ln -sfv ../../lib/$(readlink $LFS/usr/lib/libz.so) $LFS/usr/lib/libz.so</userinput></screen> 67 57 … … 125 115 126 116 <sect2 role="content"> 127 <title/> 128 <para>Details on this package are located in <xref linkend="contents-zlib" role="."/></para> 117 <title/> 118 <para>Details on this package are located in <xref linkend="contents-zlib" role="."/></para> 119 129 120 </sect2> 130 121 -
chapter07/createfiles.xml
r3e73c5d r5e06d04 20 20 21 21 <indexterm zone="ch-tools-createfiles"> 22 <primary sortas="e-/ var/run/utmp">/var/run/utmp</primary>22 <primary sortas="e-/run/utmp">/run/utmp</primary> 23 23 </indexterm> 24 24 … … 62 62 bin:x:1:1:bin:/dev/null:/bin/false 63 63 daemon:x:6:6:Daemon User:/dev/null:/bin/false 64 messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false 64 messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false 65 uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false 65 66 nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal> 66 67 EOF</userinput></screen> … … 70 71 bin:x:1:1:bin:/dev/null:/bin/false 71 72 daemon:x:6:6:Daemon User:/dev/null:/bin/false 72 messagebus:x:18:18:D-Bus Message Daemon User:/ var/run/dbus:/bin/false73 messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false 73 74 systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false 74 75 systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false … … 79 80 systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false 80 81 systemd-coredump:x:79:79:systemd Core Dumper:/:/bin/false 82 uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false 81 83 nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal> 82 84 EOF</userinput></screen> … … 110 112 mail:x:34: 111 113 kvm:x:61: 114 uuidd:x:80: 112 115 wheel:x:97: 113 116 nogroup:x:99: … … 146 149 systemd-timesync:x:78: 147 150 systemd-coredump:x:79: 151 uuidd:x:80: 148 152 wheel:x:97: 149 153 nogroup:x:99: -
chapter07/util-linux.xml
r3e73c5d r5e06d04 59 59 --disable-pylibmount \ 60 60 --disable-static \ 61 --without-python</userinput></screen> 61 --without-python \ 62 runstatedir=/run</userinput></screen> 62 63 63 64 <variablelist> … … 88 89 <para>This switch disables using <application>Python</application>. 89 90 It avoids trying to build unneeded bindings.</para> 91 </listitem> 92 </varlistentry> 93 94 <varlistentry> 95 <term><parameter>runstatedir=/run</parameter></term> 96 <listitem> 97 <para>This switch sets the location of the socket used by 98 <command>uuidd</command> and 99 <filename class="libraryfile">libuuid</filename> correctly.</para> 90 100 </listitem> 91 101 </varlistentry> -
chapter08/bc.xml
r3e73c5d r5e06d04 42 42 <title>Installation of Bc</title> 43 43 44 <para>First, fix an error in the configure script::</para> 45 46 <screen><userinput remap="pre">sed -i '612d' configure.sh</userinput></screen> 47 44 48 <para>Prepare Bc for compilation:</para> 45 49 46 <screen><userinput remap="configure">PREFIX=/usr CC=gcc CFLAGS="-std=c99"./configure.sh -G -O3</userinput></screen>50 <screen><userinput remap="configure">PREFIX=/usr CC=gcc ./configure.sh -G -O3</userinput></screen> 47 51 48 52 <variablelist> … … 50 54 51 55 <varlistentry> 52 <term><parameter>CC=gcc CFLAGS="-std=c99"</parameter></term>56 <term><parameter>CC=gcc"</parameter></term> 53 57 <listitem> 54 <para>These parameters specify the compiler and the C standardto use.</para>58 <para>These parameters specify the compiler to use.</para> 55 59 </listitem> 56 60 </varlistentry> -
chapter08/gdbm.xml
r3e73c5d r5e06d04 75 75 76 76 <screen><userinput remap="test">make check</userinput></screen> 77 78 <para> 79 One test, <filename>VERSION</filename>, is known to fail. 80 </para> 77 81 78 82 <para>Install the package:</para> -
chapter08/kmod.xml
r3e73c5d r5e06d04 49 49 --with-rootlibdir=/lib \ 50 50 --with-xz \ 51 --with-zstd \ 51 52 --with-zlib</userinput></screen> 52 53 … … 55 56 56 57 <varlistentry> 57 <term><parameter>--with-xz, --with-zlib </parameter></term>58 <term><parameter>--with-xz, --with-zlib, --with-zstd</parameter></term> 58 59 <listitem> 59 60 <para>These options enable Kmod to handle compressed kernel modules.</para> -
chapter08/libcap.xml
r3e73c5d r5e06d04 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput remap="make">make lib=lib</userinput></screen>52 <screen><userinput remap="make">make prefix=/usr lib=lib</userinput></screen> 53 53 54 54 <variablelist> … … 59 59 <listitem> 60 60 <para>This parameter sets the library directory to 61 <filename>/ lib</filename> rather than62 <filename>/ lib64</filename> on x86_64. It has no effect on61 <filename>/usr/lib</filename> rather than 62 <filename>/usr/lib64</filename> on x86_64. It has no effect on 63 63 x86.</para> 64 64 </listitem> … … 70 70 <screen><userinput remap="test">make test</userinput></screen> 71 71 72 <para>Install the package and do some cleanup:</para> 73 74 <screen><userinput remap="install">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install 72 <para>Install the package and make sure the essential libraries are in 73 the correct directory:</para> 74 75 <screen><userinput remap="install">make prefix=/usr lib=lib install 75 76 for libname in cap psx; do 77 mv -v /usr/lib/lib${libname}.so.* /lib 78 ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so 76 79 chmod -v 755 /lib/lib${libname}.so.&libcap-version; 77 rm -v /lib/lib${libname}.so78 ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so79 80 done</userinput></screen> 80 81 -
chapter08/meson.xml
r3e73c5d r5e06d04 49 49 <title>Installation of Meson</title> 50 50 51 <!-- Applied in 0.56.2 51 52 <para>First, apply a patch that fixes an issue with pkgconfig files 52 53 for static libraries:</para> 53 54 54 55 <screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen> 55 56 --> 56 57 <para>Compile Meson with the following command:</para> 57 58 -
chapter08/ninja.xml
r3e73c5d r5e06d04 59 59 <para>Using the <emphasis>optional</emphasis> procedure below allows a user to 60 60 limit the number of parallel processes via an environment variable, 61 NINJAJOBS. <command>For example</command>, setting: 62 63 <!--Using <command> here to make the output bold. We really don't want 64 users setting this now and experience shows that many users blindly 65 copy/paste anything in a box. --> 61 NINJAJOBS. <emphasis role="bold">For example</emphasis>, setting: 66 62 67 63 <screen>export NINJAJOBS=4</screen> -
chapter08/python.xml
r3e73c5d r5e06d04 104 104 <!-- ====== Change 8m if Python minor version changes ======= --> 105 105 <varlistentry> 106 <term><command>chmod -v 755 /usr/lib/libpython 3.{8.,}so</command></term>106 <term><command>chmod -v 755 /usr/lib/libpython{&python-minor;,3}.so</command></term> 107 107 <listitem> 108 108 <para>Fix permissions for libraries to be consistent with other -
chapter08/readline.xml
r3e73c5d r5e06d04 96 96 97 97 <para>Now move the dynamic libraries to a more appropriate location 98 and fix up s ome permissions and symbolic links:</para>98 and fix up symbolic links:</para> 99 99 100 100 <screen><userinput remap="install">mv -v /usr/lib/lib{readline,history}.so.* /lib 101 chmod -v u+w /lib/lib{readline,history}.so.*102 101 ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so 103 102 ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput></screen> -
chapter08/revisedchroot.xml
r3e73c5d r5e06d04 78 78 79 79 <para>The <filename class="directory">/tools</filename> directory can also 80 be removed to further gain some place:</para>80 be removed to further gain some space:</para> 81 81 82 82 <screen><userinput>rm -rf /tools</userinput></screen> -
chapter08/systemd.xml
r3e73c5d r5e06d04 67 67 rules:</para> 68 68 69 <screen><userinput remap="pre">sed -i 's/GROUP="render" , //' rules.d/50-udev-default.rules.in</userinput></screen>69 <screen><userinput remap="pre">sed -i 's/GROUP="render"/GROUP="video"/' rules.d/50-udev-default.rules.in</userinput></screen> 70 70 71 71 <para>Prepare systemd for compilation:</para> … … 600 600 <listitem> 601 601 <para>Outputs the previous and the current run-level, as noted in the 602 last run-level record in <filename>/ var/run/utmp</filename></para>602 last run-level record in <filename>/run/utmp</filename></para> 603 603 <indexterm zone="ch-system-systemd runlevel"> 604 604 <primary sortas="b-runlevel">runlevel</primary> -
chapter08/sysvinit.xml
r3e73c5d r5e06d04 186 186 <listitem> 187 187 <para>Reports the previous and the current run-level, as noted in the 188 last run-level record in <filename>/ var/run/utmp</filename></para>188 last run-level record in <filename>/run/utmp</filename></para> 189 189 <indexterm zone="ch-system-sysvinit runlevel-sysv"> 190 190 <primary sortas="b-runlevel">runlevel</primary> -
chapter08/tcl.xml
r3e73c5d r5e06d04 4 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 5 5 %general-entities; 6 <!ENTITY tdbc-ver "1.1. 1">7 <!ENTITY itcl-ver "4.2. 0">6 <!ENTITY tdbc-ver "1.1.2"> 7 <!ENTITY itcl-ver "4.2.1"> 8 8 ]> 9 9 … … 58 58 <para>First, unpack the documentation by issuing the following command:</para> 59 59 60 <screen><userinput remap="pre">tar -xf ../tcl 8.6.10-html.tar.gz --strip-components=1</userinput></screen>60 <screen><userinput remap="pre">tar -xf ../tcl&tcl-version;-html.tar.gz --strip-components=1</userinput></screen> 61 61 62 62 <para>Prepare Tcl for compilation:</para> -
chapter08/util-linux.xml
r3e73c5d r5e06d04 65 65 --without-python \ 66 66 --without-systemd \ 67 --without-systemdsystemunitdir</userinput></screen> 67 --without-systemdsystemunitdir \ 68 runstatedir=/run</userinput></screen> 68 69 69 70 <screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ … … 77 78 --disable-pylibmount \ 78 79 --disable-static \ 79 --without-python</userinput></screen> 80 --without-python \ 81 runstatedir=/run</userinput></screen> 80 82 81 83 <para>The --disable and --without options prevent warnings about -
chapter08/zstd.xml
r3e73c5d r5e06d04 47 47 <screen><userinput remap="make">make</userinput></screen> 48 48 49 <para>This package does not come with a test suite.</para> 49 <para>To test the results, issue:</para> 50 51 <screen><userinput remap="test">make check</userinput></screen> 50 52 51 53 <para>Install the package:</para> -
chapter09/bootscripts.xml
r3e73c5d r5e06d04 86 86 <listitem> 87 87 <para>Removes files that should not be preserved between reboots, such 88 as those in <filename class="directory">/ var/run/</filename> and88 as those in <filename class="directory">/run/</filename> and 89 89 <filename class="directory">/var/lock/</filename>; it re-creates 90 <filename>/ var/run/utmp</filename> and removes the possibly present90 <filename>/run/utmp</filename> and removes the possibly present 91 91 <filename>/etc/nologin</filename>, <filename>/fastboot</filename>, and 92 92 <filename>/forcefsck</filename> files</para> -
general.ent
r3e73c5d r5e06d04 1 <!ENTITY version "SVN-20210 101">1 <!ENTITY version "SVN-20210201"> 2 2 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; 3 3 Change to x.y for release but not -rc releases --> 4 4 <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> 5 5 6 <!ENTITY versiond "20210 101-systemd">6 <!ENTITY versiond "20210201-systemd"> 7 7 <!ENTITY short-versiond "systemd"> 8 8 <!ENTITY generic-versiond "systemd"> 9 9 10 <!ENTITY releasedate " January 1st, 2021">10 <!ENTITY releasedate "February 1st, 2021"> 11 11 12 12 <!ENTITY copyrightdate "1999-2021"><!-- jhalfs needs a literal dash, not – --> -
lfs-latest.php
r3e73c5d r5e06d04 70 70 function http_get_file( $url ) 71 71 { 72 if ( ! preg_match( "/sourceforge/", $url ) ) 72 if ( ! preg_match( "/sourceforge/", $url ) && 73 ! preg_match( "/psmisc/", $url ) ) 73 74 { 74 75 exec( "curl --location --silent --max-time 30 $url", $dir ); … … 106 107 global $regex; 107 108 108 //if ( $package != " zstd" ) return 0; // Debug109 //if ( $package != "psmisc" ) return 0; // Debug 109 110 110 111 if ( $package == "bc" ) $dirpath = "https://github.com/gavinhoward/bc/releases"; … … 123 124 if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current"; 124 125 if ( $package == "ninja" ) $dirpath = "https://github.com/ninja-build/ninja/releases"; 125 //if ( $package == "procps-ng" ) $dirpath = "http://sourceforge.net/projects/procps-ng/files";126 126 if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags"; 127 //if ( $package == "psmisc" ) $dirpath = "http://sourceforge.net/projects/$package/files";128 127 if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags"; 129 128 if ( $package == "Python" ) $dirpath = "https://www.python.org/downloads/source/"; … … 282 281 283 282 if ( $package == "procps-ng" ) 284 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" );283 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" ); 285 284 286 285 if ( $package == "psmisc" ) 287 return find_max( $lines, "/ ^v/", "/^v([\d\.]+).*$/" );286 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" ); 288 287 289 288 if ( $package == "grub" ) -
packages.ent
r3e73c5d r5e06d04 30 30 <!ENTITY attr-fin-sbu "less than 0.1 SBU"> 31 31 32 <!ENTITY autoconf-version "2.7 0">33 <!ENTITY autoconf-size "1, 315KB">32 <!ENTITY autoconf-version "2.71"> 33 <!ENTITY autoconf-size "1,263 KB"> 34 34 <!ENTITY autoconf-url "&gnu;autoconf/autoconf-&autoconf-version;.tar.xz"> 35 <!ENTITY autoconf-md5 " e4453011b18da194b565bf282948f997">35 <!ENTITY autoconf-md5 "12cfa1687ffa2606337efe1a64416106"> 36 36 <!ENTITY autoconf-home "&gnu-software;autoconf/"> 37 37 <!ENTITY autoconf-fin-du "79 MB"> … … 58 58 <!ENTITY bash-fin-sbu "2.4 SBU"> 59 59 60 <!ENTITY bc-version "3.2. 4">61 <!ENTITY bc-size "22 1KB">60 <!ENTITY bc-version "3.2.5"> 61 <!ENTITY bc-size "229 KB"> 62 62 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> 63 <!ENTITY bc-md5 " 03d74ea465bb4181f683d1cd53d432e1">63 <!ENTITY bc-md5 "44cd2eb1ad793b6d95ea5fc7b9293cd4"> 64 64 <!ENTITY bc-home "https://git.yzena.com/gavin/bc"> 65 65 <!ENTITY bc-fin-du "6.5 MB"> 66 66 <!ENTITY bc-fin-sbu "less than 0.1 SBU"> 67 67 68 <!ENTITY binutils-version "2.3 5.1">69 <!ENTITY binutils-size "2 1,516KB">68 <!ENTITY binutils-version "2.36"> 69 <!ENTITY binutils-size "22,227 KB"> 70 70 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.xz"> 71 <!ENTITY binutils-md5 " 7126f370ffbd46c08fcc5ce7aee2805d">71 <!ENTITY binutils-md5 "f6114b8c40096f9aa9f64fe1ab8ba087"> 72 72 <!ENTITY binutils-home "&gnu-software;binutils/"> 73 73 <!ENTITY binutils-tmpp1-du "617 MB"> … … 78 78 <!ENTITY binutils-fin-sbu "6.5 SBU"> 79 79 80 <!ENTITY bison-version "3.7. 4">81 <!ENTITY bison-size "2,5 56KB">80 <!ENTITY bison-version "3.7.5"> 81 <!ENTITY bison-size "2,561 KB"> 82 82 <!ENTITY bison-url "&gnu;bison/bison-&bison-version;.tar.xz"> 83 <!ENTITY bison-md5 " bcd5f37396b061f2f00e5b1db58172ed">83 <!ENTITY bison-md5 "9b762dc24a6723f86d14d957d3deeb90"> 84 84 <!ENTITY bison-home "&gnu-software;bison/"> 85 85 <!ENTITY bison-tmp-du "52 MB"> … … 140 140 <!ENTITY diffutils-fin-sbu "0.4 SBU"> 141 141 142 <!ENTITY e2fsprogs-version "1.4 5.6">143 <!ENTITY e2fsprogs-size " 7,753KB">142 <!ENTITY e2fsprogs-version "1.46.0"> 143 <!ENTITY e2fsprogs-size "9,260 KB"> 144 144 <!ENTITY e2fsprogs-url "https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v&e2fsprogs-version;/e2fsprogs-&e2fsprogs-version;.tar.gz"> 145 <!ENTITY e2fsprogs-md5 " cccfb706d162514e4f9dbfbc9e5d65ee">145 <!ENTITY e2fsprogs-md5 "8c8ff667537559be8d31da4b6128314a"> 146 146 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/"> 147 147 <!ENTITY e2fsprogs-fin-du "106 MB"> … … 182 182 <!ENTITY file-version "5.39"> 183 183 <!ENTITY file-size "932 KB"> 184 <!ENTITY file-url " ftp://ftp.astron.com/pub/file/file-&file-version;.tar.gz">184 <!ENTITY file-url "http://ftp.astron.com/pub/file/file-&file-version;.tar.gz"> 185 185 <!ENTITY file-md5 "1c450306053622803a25647d88f80f25"> 186 186 <!ENTITY file-home "https://www.darwinsys.com/file/"> … … 190 190 <!ENTITY file-fin-sbu "0.1 SBU"> 191 191 192 <!ENTITY findutils-version "4. 7.0">193 <!ENTITY findutils-size "1, 851KB">192 <!ENTITY findutils-version "4.8.0"> 193 <!ENTITY findutils-size "1,940 KB"> 194 194 <!ENTITY findutils-url "&gnu;findutils/findutils-&findutils-version;.tar.xz"> 195 <!ENTITY findutils-md5 " 731356dec4b1109b812fecfddfead6b2">195 <!ENTITY findutils-md5 "eeefe2e6380931a77dfa6d9350b43186"> 196 196 <!ENTITY findutils-home "&gnu-software;findutils/"> 197 197 <!ENTITY findutils-tmp-du "40 MB"> … … 320 320 <!ENTITY gzip-fin-sbu "0.1 SBU"> 321 321 322 <!ENTITY iana-etc-version "202 01229">322 <!ENTITY iana-etc-version "20210115"> 323 323 <!ENTITY iana-etc-size "578 KB"> 324 324 <!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz"> 325 <!ENTITY iana-etc-md5 " 19f35177c0bd701f4e52bfc9ce068f5d">325 <!ENTITY iana-etc-md5 "da28c229070e790dee9eb234b34cec15"> 326 326 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 327 327 <!ENTITY iana-etc-fin-du "4.7 MB"> … … 368 368 <!ENTITY kbd-fin-sbu "0.2 SBU"> 369 369 370 <!ENTITY kmod-version "2 7">371 <!ENTITY kmod-size "5 37KB">370 <!ENTITY kmod-version "28"> 371 <!ENTITY kmod-size "540 KB"> 372 372 <!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz"> 373 <!ENTITY kmod-md5 " 3973a74786670d3062d89a827e266581">373 <!ENTITY kmod-md5 "0a2b887b1b3dfb8c0b3f41f598203e56"> 374 374 <!ENTITY kmod-home " "> 375 375 <!ENTITY kmod-fin-du "13 MB"> … … 384 384 <!ENTITY less-fin-sbu "less than 0.1 SBU"> 385 385 386 <!ENTITY lfs-bootscripts-version "202 01019"> <!-- Scripts depend on this format -->386 <!ENTITY lfs-bootscripts-version "20210113"> <!-- Scripts depend on this format --> 387 387 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> 388 388 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz"> … … 392 392 <!ENTITY lfs-bootscripts-cfg-sbu "less than 0.1 SBU"> 393 393 394 <!ENTITY libcap-version "2.4 6">395 <!ENTITY libcap-size "12 7KB">394 <!ENTITY libcap-version "2.47"> 395 <!ENTITY libcap-size "129 KB"> 396 396 <!ENTITY libcap-url "&kernel;linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz"> 397 <!ENTITY libcap-md5 " 58ffae7d6a3226d6648cdb5d6f389cbf">397 <!ENTITY libcap-md5 "44f4a73b0eb8aca004dc1a60cae8f674"> 398 398 <!ENTITY libcap-home "https://sites.google.com/site/fullycapable/"> 399 399 <!ENTITY libcap-fin-du "11 MB"> … … 402 402 <!ENTITY libffi-version "3.3"> 403 403 <!ENTITY libffi-size "1,275 KB"> 404 <!ENTITY libffi-url " ftp://sourceware.org/pub/libffi/libffi-&libffi-version;.tar.gz">404 <!ENTITY libffi-url "https://sourceware.org/pub/libffi/libffi-&libffi-version;.tar.gz"> 405 405 <!ENTITY libffi-md5 "6313289e32f1d38a9df4770b014a2ca7"> 406 406 <!ENTITY libffi-home "https://sourceware.org/libffi/"> … … 426 426 <!ENTITY linux-major-version "5"> 427 427 <!ENTITY linux-minor-version "10"> 428 <!ENTITY linux-patch-version " 4">428 <!ENTITY linux-patch-version "12"> 429 429 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 430 430 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 431 <!ENTITY linux-size "113, 880KB">431 <!ENTITY linux-size "113,583 KB"> 432 432 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 433 <!ENTITY linux-md5 " 650f047a5fc947276ef6ae513b773c9b">433 <!ENTITY linux-md5 "34c93a9e96f597872e3f2a86b87f33bf"> 434 434 <!ENTITY linux-home "https://www.kernel.org/"> 435 435 <!-- measured for 5.8.3 / gcc-10.2.0 on x86_64 : minimum is … … 481 481 <!ENTITY man-pages-fin-sbu "less than 0.1 SBU"> 482 482 483 <!ENTITY meson-version "0.56. 0">484 <!ENTITY meson-size "1,75 3KB">483 <!ENTITY meson-version "0.56.2"> 484 <!ENTITY meson-size "1,756 KB"> 485 485 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 486 <!ENTITY meson-md5 " 67ce2c0c3eab1b8ee9ddaa1c5143e7c0">486 <!ENTITY meson-md5 "52b57dc223e39ae8d84f23a74296a89a"> 487 487 <!ENTITY meson-home "https://mesonbuild.com"> 488 488 <!ENTITY meson-fin-du "34 MB"> … … 543 543 <!ENTITY perl-version-major "5"> 544 544 <!ENTITY perl-version-minor "32"> 545 <!ENTITY perl-version-patch " 0">545 <!ENTITY perl-version-patch "1"> 546 546 <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> 547 547 <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> 548 <!ENTITY perl-size "12, 420KB">548 <!ENTITY perl-size "12,316 KB"> 549 549 <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> 550 <!ENTITY perl-md5 " 3812cd9a096a72cb27767c7e2e40441c">550 <!ENTITY perl-md5 "7f104064b906ad8c7329ca5e409a32d7"> 551 551 <!ENTITY perl-home "https://www.perl.org/"> 552 552 <!ENTITY perl-tmp-du "267 MB"> … … 654 654 <!ENTITY sysvinit-fin-sbu "less than 0.1 SBU"> 655 655 656 <!ENTITY tar-version "1.3 2">657 <!ENTITY tar-size "2, 055KB">656 <!ENTITY tar-version "1.33"> 657 <!ENTITY tar-size "2,176 KB"> 658 658 <!ENTITY tar-url "&gnu;tar/tar-&tar-version;.tar.xz"> 659 <!ENTITY tar-md5 " 83e38700a80a26e30b2df054e69956e5">659 <!ENTITY tar-md5 "e536d6621f9ad06df65c177348bb1215"> 660 660 <!ENTITY tar-home "&gnu-software;tar/"> 661 661 <!ENTITY tar-tmp-du "39 MB"> … … 664 664 <!ENTITY tar-fin-sbu "2.0 SBU"> 665 665 666 <!ENTITY tcl-version "8.6.1 0">666 <!ENTITY tcl-version "8.6.11"> 667 667 <!ENTITY tcl-major-version "8.6"> 668 <!ENTITY tcl-size " 9,907KB">668 <!ENTITY tcl-size "10,020 KB"> 669 669 <!ENTITY tcl-url "https://downloads.sourceforge.net/tcl/tcl&tcl-version;-src.tar.gz"> 670 <!ENTITY tcl-md5 " 97c55573f8520bcab74e21bfd8d0aadc">670 <!ENTITY tcl-md5 "8a4c004f48984a03a7747e9ba06e4da4"> 671 671 <!ENTITY tcl-home "http://tcl.sourceforge.net/"> 672 672 <!ENTITY tcl-docs-url "https://downloads.sourceforge.net/tcl/tcl&tcl-version;-html.tar.gz"> 673 <!ENTITY tcl-docs-md5 " a012711241ba3a5bd4a04e833001d489">674 <!ENTITY tcl-docs-size "1,17 1KB">673 <!ENTITY tcl-docs-md5 "e358a9140c3a171e42f18c8a7f6a36ea"> 674 <!ENTITY tcl-docs-size "1,172 KB"> 675 675 <!ENTITY tcl-tmp-du "83 MB"> 676 676 <!ENTITY tcl-tmp-sbu "4.0 SBU"> … … 686 686 <!ENTITY texinfo-fin-sbu "0.8 SBU"> 687 687 688 <!ENTITY tzdata-version "202 0f">688 <!ENTITY tzdata-version "2021a"> 689 689 <!ENTITY tzdata-size "403 KB"> 690 690 <!ENTITY tzdata-url "https://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz"> 691 <!ENTITY tzdata-md5 " e7d618fe3fd16fdd290abc5e74cb264e">691 <!ENTITY tzdata-md5 "20eae7d1da671c6eac56339c8df85bbd"> 692 692 <!ENTITY tzdata-home "https://www.iana.org/time-zones"> 693 693 … … 709 709 <!ENTITY util-linux-fin-sbu "1.2 SBU"> 710 710 711 <!ENTITY vim-version "8.2.2 253">711 <!ENTITY vim-version "8.2.2433"> 712 712 <!ENTITY vim-majmin "82"> 713 713 <!ENTITY vim-docdir "vim/vim82"> 714 <!ENTITY vim-size "15,0 11 KB">714 <!ENTITY vim-size "15,051 KB"> 715 715 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">--> 716 716 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz"> 717 <!ENTITY vim-md5 " 497890e1f563a65c6f7594c0b0f5c0b9">717 <!ENTITY vim-md5 "a26555c8919cf40938d2428d834bf913"> 718 718 <!ENTITY vim-home "https://www.vim.org"> 719 719 <!ENTITY vim-fin-du "201 MB"> -
patches.ent
r3e73c5d r5e06d04 54 54 <!ENTITY libpipeline-checks-patch-size "22 KB"> 55 55 --> 56 56 <!-- 57 57 <!ENTITY meson-fix-patch "meson-&meson-version;-upstream_fix-1.patch"> 58 58 <!ENTITY meson-fix-patch-md5 "589012d95c80f256e569598caf27c9a6"> 59 59 <!ENTITY meson-fix-patch-size "2.2 KB"> 60 60 --> 61 61 <!-- 62 62 <!ENTITY ninja-limit-jobs-patch "ninja-&ninja-version;-add_NINJAJOBS_var-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.