Commit Graph

4121 Commits

Author SHA1 Message Date
Bruce Dubbs
6dfe1df593 Update to openssl-3.0.7 (Security update). 2022-11-01 13:10:38 -05:00
Bruce Dubbs
3f4304998a Package updates.
Update to iana-etc-20221025.
Update to tzdata-2022f.
Update to Python3-3.11.0.
Update to procps-ng-4.0.1.
Update to man-pages-6.01.
Update to man-db-2.11.0.
Update to make-4.4.
Update to linux-6.0.6.
Update to libffi-3.4.4.
Update to inetutils-2.4.
Update to expat-2.5.0.

Note: I had to run glibc in Chapter 8 at -j1 to avoid an apparant race
condition.  With a little more investigation I may be able to find a
better solution.
2022-10-31 18:42:52 -05:00
Douglas R. Reno
edbf3d91c9 Typo fix from rhubarbpieguy 2022-10-27 08:58:51 -05:00
David Bryant
a0ed201f90 Edited fpr idiom and style. Broke up a couple of run-on sentences.
Mr. Webster  says it's "up-front". Reworked one sentnece to avoid
using a colon after the verb "to be".
2022-10-21 14:05:59 -05:00
Pierre Labastie
6c172931d1 Use FAQ page instead of just FAQ
so that whether FAQ is plural or singular is not important :)
2022-10-18 10:43:10 +02:00
Pierre Labastie
b00c7d9905 Clarify why pie might be disabled
Just reading a textbook and LFS does not imply anything for compilation...
2022-10-18 10:43:10 +02:00
Xi Ruoyao
0f9c02a9bf
chapter01/how: small fix
I guess a "chroot environment" don't know how to use the tools?
2022-10-18 16:19:02 +08:00
Xi Ruoyao
e15831967a
resources: remove bad usage of <uri>
RFC 3986:

      URI         = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

      hier-part   = "//" authority path-abempty
                  / path-absolute
                  / path-rootless
                  / path-empty

So "linuxfromscratch.org" is not a URI, nor "irc.libera.chat".
2022-10-18 16:10:36 +08:00
David Bryant
6d46ee62eb Made grammatical corrections, clarified a few things. 2022-10-17 15:30:27 -05:00
David Bryant
ee0959b64a Corrected grammar and idiom, clarified a couple of things. 2022-10-17 15:19:01 -05:00
David Bryant
99ecc76577 Clarified a few things, edited for idiom and punctuation. 2022-10-17 15:00:38 -05:00
Bruce Dubbs
c5d10b5afb Update to linux-6.0.2 (Security update). 2022-10-17 14:12:15 -05:00
Bruce Dubbs
efae0398b4 Package updates.
Update to iana-etc-20221007.
Update to vim-9.0.0739.
Add upstream patches to readline and bash.
Update to zlib-1.2.13.
Update to man-pages-6.00.
Update to gettext-0.21.1.
Update to iproute2-6.0.0.
Update to meson-0.63.3.
Update to Python-3.10.8.
Update to xz-5.2.7.
Update to tzdata-2022e.
Update to linux-6.0.1.
Update to dbus-1.14.4.
2022-10-14 12:18:56 -05:00
Douglas R. Reno
8921ba4bae Emergency kernel update
Update to Linux-5.19.13

If you are using a laptop with an Intel GPU, it's imperative that you
update immediately if you are running Linux-5.19.12. Failure to upgrade
may result in permanent damage to the LCD display on your laptop.

The root cause of this is improper backporting of bugfixes for the i915
DRM driver in the kernel.
2022-10-04 22:09:33 -05:00
Bruce Dubbs
488b43aaeb New packages and an xml fix.
Update to bc-6.0.4.
Update to linux-5.19.12.
Fix an xml error.
2022-09-29 20:44:01 -05:00
Bruce Dubbs
79789000a8 Package updates.
Update to iana-etc-20220922.
Update to tzdata-2022d.
Update to readline-8.2.
Update to linux-5.19.11.
Update to libffi-3.4.3.
Update to libcap-2.66.
Update to dbus-1.14.2.
Update to bc-6.0.3.
Update to bash-5.2.
2022-09-29 18:32:56 -05:00
Xi Ruoyao
471a32e836
whatsnew: add a paragraph about PIE+SSP change 2022-09-27 10:47:11 +08:00
Bruce Dubbs
47a8542090 Update to expat-2.4.9 (Security Update). 2022-09-22 11:29:00 -05:00
David Bryant
1184a7e91b Fixed typos in chapter 1 "How to Build an LFS System". 2022-09-21 15:17:56 -05:00
Xi Ruoyao
ab2929857e
fix a typo in changelog 2022-09-21 17:49:35 +08:00
Bruce Dubbs
16cd09633e Adjust instructions for /dev/shm when creating virtual filesystems.
Some host create /dev/shm as a tmpfs.  Some have is as
a symlink to a location in another directory.  This
change handles both cases.

The change to the sysV bootscripts now creates /dev/shm
as a separate tmpfs from /run.  This makes LFS sysV and
systemd versions treat /dev/shm the same.
2022-09-20 12:20:58 -05:00
Xi Ruoyao
9644bf9f08
fix typos in ticket numbers in changelog 2022-09-15 11:43:25 +08:00
Bruce Dubbs
b17680d8ea Package updates and corrections.
Update to file-5.43.
Update to linux-5.19.8.
Update to gawk-5.2.0.
Update to meson-0.63.2.
Update to ninja-1.11.1.
Update to bc-6.0.2.
Fix the location of udev rules in eudev.
Remove a warning for egrep and fgrep that
Delete an empty binutils man page.
2022-09-14 21:58:07 -05:00
Pierre Labastie
84e1bb6b85 Update changelog for PIE/SSP in GCC 2022-09-11 10:55:25 +02:00
Bruce Dubbs
917868fc69 Package Updates.
Update to shadow-4.12.3.
Update to Python3-3.10.7.
Update to linux-5.19.7.
Update to less-608.
Update to grep-3.8.
2022-09-07 14:59:45 -05:00
Bruce Dubbs
b877b48a51 Clean up after 11.2 2022-08-31 14:12:10 -05:00
Xi Ruoyao
ec3cad45c3
mark linux-5.19.2 and shadow-4.12.2 as security fix 2022-08-22 11:17:46 +08:00
Bruce Dubbs
a7a9d696fc Minor updates 2022-08-21 10:04:47 -05:00
Xi Ruoyao
3a1168d937
add changelog entries for last package update 2022-08-21 14:05:48 +08:00
Bruce Dubbs
f2af13d7a0 Intermediate update prior to lfs-11.2-rc1 2022-08-20 10:35:01 -05:00
Xi Ruoyao
6099a47149
Remove libtool archive (.la) files in Chapter 5 and 6
They are really harmful.  In Binutils pass 2, libstdc++.la caused the
building system to use host /usr/lib/libstdc++.so for gprofng.  We now
has disabled gprofng for pass 2, but the similar issue also exists in
GCC pass 2.  In a normal LFS build, the building system silently uses
/usr/lib/libstdc++.so (I guess it does not blow up simply because some
blind luck); in a real cross build (x86 -> ARM for example) the build
will fail.

Remove the .la files to fix this issue.  Instead of only modifying
clfs-ng, it makes more sense to apply the change for trunk: though
the build does not fail, using host library is still a contamination.
2022-08-19 12:41:48 +08:00
Douglas R. Reno
c25dd3fc1d Typo fix in changelog 2022-08-11 17:34:21 -05:00
Bruce Dubbs
3bc662bc9e Package updates.
Update to vim-9.0.0192.
Update to iana-etc-20220803.
Update to tzdata-2022b.
Update to iproute2-5.19.0.
Update to linux-5.19.1.
Update to bc-6.0.1.
2022-08-11 16:10:56 -05:00
Bruce Dubbs
6f4ac82b3c Typo 2022-08-07 11:11:37 -05:00
Bruce Dubbs
1b11115cd2 Package updates.
Update to binutils-2.38.
Update to util-linux-2.38.1.
Update to Python3-3.10.6.
Update to glibc-2.36.
2022-08-06 17:40:17 -05:00
Ken Moffat
32feb4ba2e Note that linux-5.18.14 has fixes for RETBleed.
Security Advisory to follow.
2022-07-24 21:30:43 +01:00
Bruce Dubbs
c316117432 Package updates.
Update to linux-5.18.14.
Update to libcap-2.65.
2022-07-24 15:01:47 -05:00
Bruce Dubbs
f1b9d9d531 Package updates.
Update to meson-0.63.0.
Update to kmod-30.
Update to inetutils-2.3.
Update to linux-5.18.9.
Update to OpenSSL-3.0.5.
2022-07-16 00:29:19 -05:00
Bruce Dubbs
0d80e532d2 Package updates.
Update to vim-9.0.0006.
Update to iana-etc-20220610.
Update to OpenSSL-3.0.4.
Update to kbd-2.5.1.
Update to linux-5.18.8.
Update to bc-5.3.3.
+
2022-06-30 15:12:37 -05:00
Pierre Labastie
f8b27abcda Generate shared C++ bindings for ncurses
Presently we let the build system generate static C++ bindings, and
then we remove them. Note that we could also prevent generating
any C++ binding, since nothing in LFS/BLFS use them, but it seems to
me that generating the shared ones is closer to what is done for
other packages.
2022-06-29 14:08:29 +02:00
Bruce Dubbs
c7b29be1c1 Package Updates
Update to python3-3.10.5.
Update to meson-0.62.2.
Update to kbd-2.5.0.
Update to file-5.42.
Update to linux-5.18.3.
Update to bc-5.3.1.
2022-06-14 14:28:38 -05:00
Bruce Dubbs
9bc47a117d Package updates.
Update to iana-etc-20220524.
Update to iproute2-5.18.0.
Update to linux-5.18.1.
Update to perl-6.36.0.
2022-05-31 14:44:22 -05:00
Xi Ruoyao
e6e8f00474
update to vim-8.2.5014 (#4500) 2022-05-29 12:29:20 +08:00
Xi Ruoyao
4ad57d4331
update to ninja-1.11.0 (#5062) 2022-05-29 12:29:20 +08:00
Xi Ruoyao
b4008bb22c
update to systemd-251 (#5064) 2022-05-29 12:29:20 +08:00
Bruce Dubbs
4c2aabba4e Package updates.
Update to linux-5.17.7.
Update to psmisc-23.5.
2022-05-15 23:09:32 -05:00
Xi Ruoyao
748429cef5
fix a typo in changelog, again 2022-05-09 22:26:47 +08:00
Bruce Dubbs
d6cba09c7c Update to openssl-3.0.3. 2022-05-04 20:20:27 -05:00
Bruce Dubbs
813ab55675 Package updates and nobody uid change.
Change nobody/nogroup uid/git to 65534.
Update to meson-0.62.1.
Update to libpipeline-1.5.6.
Update to elfutils-0.187.
Update to Jinja2-3.1.2.
Update to vim-8.2.4814.
Update to sysvinit-3.03.
Update to linux-5.17.5.
Update to gcc-11.3.0.
Update to coreutils-9.1.
Update to bc-5.2.4.
2022-04-30 09:38:48 -05:00
Bruce Dubbs
032d88fc75 Add wheel-0.37.1 (Python module). 2022-04-17 17:11:27 -05:00
Ken Moffat
1d694184b3 Patch xz for the xzgrep vulnerability. 2022-04-15 20:01:35 +01:00
Bruce Dubbs
62b66860b3 Package updates.
Update to libcap-2.64.
Update to linux-5.17.3.
Update to gzip-1.12.
2022-04-14 11:17:20 -05:00
Ken Moffat
b3d5df2a4a Note that linux-5.17.1 and zlib-1.2.12 are security updates. 2022-04-04 21:28:35 +01:00
Bruce Dubbs
676f0fdcec Package updates.
Update to sysvinit-3.02.
Update to zlib-1.2.12.
Update to expat-2.4.8.
Update to Jinja2-3.1.1.
Update to Python-3.10.4.
Update to procps-ng-4.0.0.
Update to iproute2-5.17.0.
Update to meson-0.62.0.
Update to linux-5.17.1.
Update to util-linux-2.38.
2022-03-30 16:13:26 -05:00
Pierre Labastie
827cc05c37 Upstate bootscripts to 20220324 2022-03-25 18:32:05 +01:00
Xi Ruoyao
0a28db3cd7
package updates
* Update to Python-3.10.3 (#5028)
* Update to libtool-2.4.7 (#5029)
* Update to linux-5.16.16 (#5030)
* Update to tzdata-2022a  (#5031)
* Update to man-db-2.10.2 (#5032)
2022-03-20 21:26:58 +08:00
Xi Ruoyao
ae84037e94
update to MarkupSafe-2.1.1 (#5025) 2022-03-16 19:39:06 +08:00
Bruce Dubbs
16a517ac7e Update to openssl-3.0.2. 2022-03-15 14:49:33 -05:00
Xi Ruoyao
ce6088a1c1
changelog: dbus is systemd revision only 2022-03-16 00:14:14 +08:00
Bruce Dubbs
c6ed3d0126 Update to meson-0.61.3. 2022-03-15 10:55:25 -05:00
Xi Ruoyao
f7ac150c84
package update
* update to expat-2.4.7 (#5019)
* update to bc-5.2.3 (#5020)
* update to linux-5.16.14 (#5021)
* update to perl-5.34.1 (#5022)
* update to vim-8.2.4567 (#4500)
2022-03-15 16:18:24 +08:00
Xi Ruoyao
cb39502e14
add changelog entries for 20220305 2022-03-05 16:35:00 +08:00
Xi Ruoyao
070bc9a4f7
add zstd upstream fixes patch 2022-03-05 16:30:28 +08:00
Xi Ruoyao
7c05ea2a4f
remove outdated cross-chap5 announcement in what's new
It should have been removed in 10.1, and in 11.0 there should have been
"the version of LFS has switched to a merged-/usr layout".  But we just
forgot to update this all the time :).
2022-03-03 02:20:37 +08:00
Xi Ruoyao
3522efe046
package updates
* Update to meson-0.61.2.
* Update to linux-5.16.12.
* Update to MarkupSafe-2.1.0.
* Update to dbus-1.14.0.
* Update to vim-8.2.4489.
2022-03-03 02:20:37 +08:00
Xi Ruoyao
7756de365c
remove all "what's new" entries after release 2022-03-03 02:20:34 +08:00
Xi Ruoyao
6cad449759
add changelog entries for libstdc++ pass 2 and tcl changes 2022-03-02 21:08:50 +08:00
Bruce Dubbs
fe09af0cf8 Cleanup after 11.1 commit 2022-02-28 11:41:59 -06:00
Xi Ruoyao
2fac6bd1b2
fix the date of expat-2.4.6 changelog entry 2022-02-28 22:34:42 +08:00
Bruce Dubbs
ba2dc1b6a7 Update to expat-2.4.6 (security fix) 2022-02-23 15:28:21 -06:00
Ken Moffat
a8ac5440a7 Vim-8.2.4383 included a security update. 2022-02-19 21:02:14 +00:00
Bruce Dubbs
6af4dabc16 Package updates and fixes.
Add binutils-2.38 LTO patch.
Update to util-linux-2.37.4.
Update to man-db-2.10.1.
Update to linux-5.16.9.
Update to vim-8.2.4383.
Update to iana-etc-20220207.
2022-02-15 09:55:45 -06:00
Xi Ruoyao
426913ea08
binutils-pass2: workaround "binaries link to host libraries" issue
A very old libtool copy (2009-11-29) is shipped in binutils tarball.  It
does not support sysroot, so the cross-built binutils binaries may link
to libraries from the host distro, if certain libraries are available.

The ideal solution should be updating libtool, as libtool-2.4.6 (in LFS)
has sysroot support.  However, updating libtool for binutils is not
trivial: it would require to rerun autoconf and binutils building system
sticks to autoconf-2.69.  Another issue is the sysroot support for
libtool has introduced a configure option "--with-sysroot", which
conflicts with an already existing option with the same name in
GCC and binutils building system (we are using the GCC/binutils version
of --with-sysroot in chapter 5).

GCC building system has --with-build-sysroot (we are using this for GCC
pass 2) for this issue.  Binutils copied GCC building system, but it
does not respect --with-build-sysroot.

So for now we just edit libtool code to prevent "-L/usr/lib" in
$LFS_TGT_gcc command line.  It should fix the issue about host libiberty
(reported in #lfs-support) as well, but it still need to be confirmed by
someone having such a host.

Tested with a jhalfs run on LFS.
2022-02-10 21:05:33 +08:00
Bruce Dubbs
9c4ff70edf Package updates.
Update to bc-5.2.2.
Update to linux-5.16.8.
Update to binutils-2.38. Requires adding zlib to Chapter 6.
2022-02-09 20:54:15 -06:00
Xi Ruoyao
cfdc7ab3c2
fix a stupid typo in changelog 2022-02-05 22:03:00 +08:00
Xi Ruoyao
490dc15317
remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not
contain '/tools/bin'.  So "+h" is useless in chroot as the newly
installed tools always replace the temporary counterpart at the same
location.

"+h" in chapter4/settingenviron.xml is kept deliberately.  Currently
$LFS/tools/bin only contains programs prefixed with
"x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will
ever ship a program named with such prefix.  So it may seems that we can
remove this "+h" as well.  However, the situation may change in future
and we can take this oppertunity to teach the advantage and disvantage
of bash hash feature.
2022-02-05 20:48:27 +08:00
Xi Ruoyao
db2d98f7a9
man-db: update to man-db-2.10.0 (#5002) 2022-02-05 20:37:44 +08:00
Xi Ruoyao
f5923aa8b4
kmod: link to openssl 2022-02-05 20:37:43 +08:00
Xi Ruoyao
ab8c166cbb
gdbm: update to gdbm-1.23 (#5000) 2022-02-05 20:37:34 +08:00
Xi Ruoyao
bf6c6f8180
tcl: update to tcl-8.6.12 (#5001)
tdbc 1.1.2 -> 1.1.3
itcl 4.2.1 -> 4.2.2
2022-02-05 17:03:36 +08:00
Thomas Trepl (Moody)
651c74bef9 Remove unnecessary sed in glibc-2.35 2022-02-04 10:51:57 +01:00
Bruce Dubbs
a5d31dd654 Package updates and a patch.
Add coreutils-9.0 chmod patch.
Update to glibc-2.35.
Update to linux-5.16.5.
Update to findutils-4.9.0.
Update to expat-2.4.4.
Update to iana-etc-20220128.
2022-02-03 13:02:19 -06:00
Bruce Dubbs
d8038b2e4f Update to linux-5.16.4. 2022-01-29 14:10:04 -06:00
Bruce Dubbs
e1ebbef46a Package updates.
Update to vim-8.2.4236.
Update to zstd-1.5.2.
Update to util-linux-2.37.3 (security fix).
Update to Python-3.10.2.
Update to linux-5.16.2.
Update to libcap-2.63.
Update to iproute2-5.16.0.
Update to iana-etc-20220120.
2022-01-27 21:29:56 -06:00
Bruce Dubbs
d141d67546 Update to expat-2.4.3 (security fixes). 2022-01-20 13:35:28 -06:00
Pierre Labastie
18c1947298 Update to meson-0.61.1 2022-01-20 08:18:43 +01:00
Thomas Trepl (Moody)
63ef88536a Add a fix of type to meson patch (new patch file) 2022-01-17 16:56:06 +01:00
Bruce Dubbs
ade3efafc6 Package updates.
Update to shadow-4.11.1.
Update to readline-8.1.2.
Update to meson-0.61.0.
Update to libpipeline-1.5.5.
Update to bash-5.1.16.
2022-01-14 13:43:28 -06:00
Douglas R. Reno
c8df034e5f Fix CVE-2021-3997 in systemd. 2022-01-13 15:16:37 -06:00
Douglas R. Reno
d21ec2fcbb systemd: Add CONFIG_PSI to the kernel configuration to get systemd-oomd
to work.

Note that it just skips bringing systemd-oomd up when not present, and
does not fail the startup process.
2022-01-03 12:03:45 -06:00
Bruce Dubbs
ad89f7b0d6 Package updates.
Update to e2fsprogs-1.46.5.
Update to zstd-1.5.1.
Update to expat-2.4.2.
Update to shadow-4.10.
Update to sysvinit-3.01.
Update to linux-5.15.12.
Update to iana-etc-20211224.
Update to openssl-3.0.1.
Update to eudev-3.2.11.
Update lfs-latest-git.php currency for new eudev location.
2021-12-31 07:10:48 -06:00
Douglas R. Reno
6d19228191 Package Updates:
Update to systemd-250 (BLFS coming shortly)
Update to meson-0.60.3
Kernel Configuration: Enable the framebuffer since it's disabled by
default in Linux-5.15.
Kernel Configuration: Add a note about CONFIG_DEFAULT_HOSTNAME on
systemd.
2021-12-30 11:39:08 -06:00
Bruce Dubbs
05dcee7980 Package updates.
Update to python3-3.10.1.
Update to openssl-1.1.1m.
Update to linux-5.15.7.
Update to libcap-2.62.
2021-12-14 17:33:39 -06:00
Pierre Labastie
a844ebe965 Update the changelog for findutils
The preceding cherry-picked commit did not have a changelog entry
2021-12-14 13:46:50 +01:00
Bruce Dubbs
bdc9e03b78 Package updates.
Update to vim-8.2.3704.
Update to iana-etc-20211124.
Update to bc-5.2.1.
Update to meson-0.60.2.
Update to linux-5.15.5.
2021-11-30 12:43:05 -06:00
Xi Ruoyao
784f3c36e2
changelog: remove extra ">" breaking REV=systemd 2021-11-15 23:44:40 +08:00
Bruce Dubbs
0d78c2c179 Package updates.
Update to iana-etc-20211112.
Update to elfutils-0.186.
Update to jinja2-3.0.3.
Update to bc-5.2.0.
Update to ncurses-6.3.
Update to libpipeline-1.5.4.
Update to meson-0.60.1.
Update to iproute2-5.15.0.
Update to linux-5.15.2.

One change was needed to systemd-249 due to changes in the linux
keernel version 5.14 and later.

A change to ncurses was needed to ensure the .pc files are placed in
the right location (/usr/lib/pkgconfig).
2021-11-14 12:22:12 -06:00
Bruce Dubbs
1f201845a3 Package updates
Update to gawk-5.1.1.
Update to meson-0.60.0.
Update to libcap-2.60.
Update to gdbm-1.22.
Update to file-5.41.
Update to linux-5.14.15.
Update to iana-etc-20211025.
Update to tzdata-2021e.

Change /bin to /usr/bin in passwd, and revisedchroot.
Fix systemd for new meson.
2021-10-31 14:00:21 -05:00
Bruce Dubbs
fa32551de1 Package updates.
Update to vim-8.2.3508.
Update to tzdata-2021c.
Update to Python-3.10.0.
Update to Jinja2-3.0.2.
Update to linux-5.14.12.
Update to iana-etc-20211004.
Update to bc-5.1.1.
Update to automake-1.16.5.
2021-10-14 14:02:12 -05:00
Bruce Dubbs
8fd9f816d4 Make instructions more consistent.
When using mkdir during installation, use -pv all the time.
Make reference to irc channel all lower case.
Update lfs-latest for condxml merge
2021-10-13 15:00:35 -05:00
Xi Ruoyao
64ce28748b
askforhelp: add a missing right bracket 2021-10-13 19:44:28 +08:00
Pierre Labastie
b17714a9bb Merge branch 'trunk' into plabs/condxml
October updates
2021-10-12 21:26:01 +02:00
Bruce Dubbs
8e7be496ed Package updates.
Update to vim-8.2.3458.
Update to iana-etc-20210924.
Update to tzdata-2021b.
Update to sysvinit-3.0.0.
Update to meson-0.59.2.
Update to linux-5.14.8.
Update to libcap-2.59.
Update to coreutils-9.0.
Update to bison-3.8.2.
2021-09-30 14:09:24 -05:00
Pierre Labastie
784fdaed25 Remove all versiond entities 2021-09-22 23:17:28 +02:00
Bruce Dubbs
06e7b36118 Package updates.
Ensure tcl documentation install instructions are present.
Update to Python3-3.9.7.
Update to linux-5.14.3.
Update to libcap-2.57.
Update to iproute2-5.14.0.
Update to inetutils-2.2.
Update to gzip-1.11.
Update to gdbm-1.21.
Update to bison-3.8.1.
Update to bc-5.0.2.
2021-09-14 10:06:10 -05:00
Douglas R. Reno
e128c68596 Add the File upstream fixes patch to the book. 2021-09-08 10:36:09 -05:00
Pierre Labastie
2f72b72895 Remove spaces at end o lines - chapter01 2021-09-07 22:46:59 +02:00
Bruce Dubbs
8e6babecd0 Typo 2021-09-06 09:43:46 -05:00
Bruce Dubbs
beb80e291d Update text in Chapter 7 Backup/Restore sections
Patch by Kevin Buckley.
Also made minor clarification to umount commands.
2021-09-06 09:32:47 -05:00
Bruce Dubbs
f411d2d231
Trunk post 11.0 release cleanup 2021-09-02 15:02:42 +08:00
Xi Ruoyao
b0439bc6c4
update to man-pages-5.13 (#4915) 2021-08-29 23:39:09 +08:00
Bruce Dubbs
49170b0a84 Package updates for lfs-11.0-rc3
LFS-11.0-rc3 released.
Update to e2fsprogs-1.46.4.
Update to meson-0.59.1.
Update to util-linux 2.37.2.
Update to linux-5.13.12.
Update to libcap-2.53.
2021-08-25 18:51:16 -05:00
Xi Ruoyao
a4e4addb5a
update to openssl-1.1.1k (#4911) 2021-08-26 02:38:45 +08:00
Bruce Dubbs
de8b6cb08a Fix security issue in Chapter 8 glibc.
Add a sed to glibc in Chapter 8 to fix a critical security issue.
2021-08-20 15:47:13 -05:00
Bruce Dubbs
658a5da5fb Now run all the tests in binutils.
We were removing a failing test, but it is not longer a problem.
Eliminate the instruction that does that.
2021-08-18 00:19:33 -05:00
Xi Ruoyao
d182d836a4
mark automake as new, and fix an example in general.ent 2021-08-18 01:30:25 +08:00
DJ Lucas
e9b00bdfc5 add p11-kit to dependencies list for systemd 2021-08-16 23:49:02 -05:00
Bruce Dubbs
4bd0278038 Update all package stats and update grep.
Using latest build log, updated all SysV package stats.
Update to grep-3.7.
2021-08-14 18:41:50 -05:00
Bruce Dubbs
fb8aee8051 Package updates and a patch.
Update to linux-5.13.10.
Update to bc-5.0.0.
Update to vim-8.2.3337.
Add binutils-2.37 upstream patch.
2021-08-13 12:20:37 -05:00
Bruce Dubbs
3ba82a8a1f Package updates.
Update to linux-5.13.9.
Update to libffi-3.4.2.
2021-08-08 14:19:18 -05:00
Xi Ruoyao
a04b3d3931
gcc: fix PR101749
https://wiki.linuxfromscratch.org/blfs/ticket/15350
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749
2021-08-06 21:37:01 +08:00
Bruce Dubbs
9c7598cc15 Package updates.
Update to glibc-2.34.
Update to diffutils-3.8.
Update to libcap-2.52.
2021-08-02 20:52:40 -05:00
Bruce Dubbs
0b10545515 Fackage updates and fixes.
Remove unneeded sed commands from automake and coreutils.
Update to linux-5.13.7.
Update to e2fsprogs-1.46.3.
2021-08-01 11:58:29 -05:00
Xi Ruoyao
7f9a48070e
package update
Update to GCC-11.2.0 (#4883)
Update to inetutils-2.1 (#4892)
Update to automake-1.16.4 (#4894)

SHA256 checksum entities for the three packages are added.  I think we
can start a transition to SHA256 now.
2021-07-28 19:01:48 +08:00
Xi Ruoyao
08f72423ce
always use --strip-unneeded for stripping
The behavior of --strip-unneeded and --strip-all are same for
executables and shared libraries.  For static libraries,
--strip-unneeded keeps the symbols needed for relocation processing so
it won't break static archives.
2021-07-28 18:46:22 +08:00
Xi Ruoyao
d1592b9d92
stripping: add libnss_*.so* into online_usrlib
Glibc loads these "NSS modules" (see man 5 nss) on startup.  This is
implemented with something like dlopen() so "ldd" won't show them up.
So they should be considered "online" here.

Without this addition, overwriting libnss_files-2.33.so reproducibly
triggers a crash during jhalfs runs where stripping is enabled.  In
manual builds, it reproducibly triggers a crash exiting from chroot.

After this change I reran stripping 5 times and there was no crash
observed.
2021-07-28 01:27:33 +08:00
Thomas Trepl (Moody)
6d6f242029 Fix a programming error in shadow-4.9 2021-07-26 22:14:09 +02:00
Xi Ruoyao
de28837402
Hopefully, complete strip workaround
In stripping, /usr/bin/bash, /usr/bin/find, and /usr/bin/strip are
running.  Strip them, and all libraries used by them in /tmp, then
install them back.

We can't use this for all libraries or binaries: the process above
discouples hard links (for example /usr/bin/perl and perl5.34.0).  So
unfortunately the stripping instruction is now a stupidly long bash
script...
2021-07-26 19:34:27 +08:00
Bruce Dubbs
ff96923bf3 Package updates and stripping fixes
Add workaround to strip libraries correctly.
Update to shadow-4.9.
Update to util-linux 2.37.1.
2021-07-25 20:10:18 -05:00
Xi Ruoyao
ff5c009123
binutils: workaround empty man pages issue 2021-07-25 22:56:45 +08:00
Douglas R. Reno
9f84752195 Update to binutils-2.37
Update to less-590
Update to meson-0.59.0
Guard systemd against CVE-2021-33910
2021-07-23 06:30:53 -05:00
DJ Lucas
4eee9ccd08 Ensure that glibc installs ldconfig and sln to /usr/sbin. 2021-07-21 20:02:02 -05:00
DJ Lucas
593b439ada Correct page IDs in Chapter 08 dejagnu, expect, and tcl. 2021-07-21 19:53:52 -05:00
Ken Moffat
c735ea47ab Update to linux-5.13.4 to fix CVE-2021-33909. 2021-07-20 21:10:04 +01:00
Xi Ruoyao
7ea60d3c98
add changelog for tester-nohack merge 2021-07-20 19:43:41 +08:00
Douglas R. Reno
14e0b47d28 Add text regarding security advisories. 2021-07-19 12:34:21 -05:00
Ken Moffat
ac9f3952a6 Perl - fixes for 5.34 test failures. 2021-07-17 21:11:36 +01:00
Bruce Dubbs
f3997370c5 Remove modifications to m4 that are no longer needed. 2021-07-15 12:30:07 -05:00
Douglas R. Reno
87119fd250 Package Updates and Additions
Add MarkupSafe
Add Jinja2
Update to texinfo-6.8
Update to iproute2-5.13.0
Update to Python-3.9.6 (Security Update)
Update to systemd-249 (Security Update)
Update to Linux-5.13.1
2021-07-08 21:16:54 -05:00
Ken Moffat
33505d67f8 Patch gcc :
Fix some regressions, and cope with removal of a kernel header in
linux-5.13 which broke the build in chapter 8's bootstrap.
2021-07-01 19:34:12 +01:00
Ken Moffat
cefe50534a Add more locales used in gcc's libstdc++ testsuite. 2021-06-29 01:28:36 +01:00
Bruce Dubbs
5809826800 Package updates.
Update to bash-5.1.8.
Update to dejagnu-1.6.3.
Update to gdbm-1.20.
Update to libcap-2.51.
Update to man-pages-5.1.
2021-06-27 12:54:09 -05:00
Bruce Dubbs
577ac46eea Ensure capsh in installed from the libcap package. 2021-06-18 09:23:28 -05:00
Douglas R. Reno
f1f9fbefad Use the correct month for the changelog 2021-06-16 18:22:39 -05:00
Bruce Dubbs
7fe99c2ca7 Package Updates.
Update to iana-etc-20210611.
Update to vim-8.2.3001.
Update to util-linux-2.37.
Update to meson-0.58.1.
Update to linux-5.12.10.
Update to m4-1.4.19.
Update to grub-2.06.
2021-06-15 22:31:48 -05:00
Ken Moffat
9c3ce2ac8b For consistency, make the cpp link in /usr/lib. 2021-06-09 19:34:33 +01:00
Ken Moffat
c36301e75a For consistency, install iproute2 progs in /usr/sbin
(merged /usr) - from Joe Locash.
2021-06-09 18:49:02 +01:00
Bruce Dubbs
25596ffb1d Make stopping the network interfaces more robust.
SysV only.

When stopping or rebooting the system, the network boot script is run and looks
at all the /etc/sysconfig/ifconfig.* files. Some of the devices these files
refer to may not be active or even refer to interfaces that are not defined on
the current system. This change ignores non-existant interfaces and any
interfaces that are not UP. This change also avoids bogus warning or error
error messages when the system is shutting down.
2021-06-08 12:31:17 -05:00
Douglas R. Reno
9c53f9d20f Changelog: Make the bootscripts change SysV only 2021-06-03 12:16:34 -05:00
Thomas Trepl (Moody)
6a11766e6e Avoid killing mdmon at shutdown/reboot 2021-06-02 22:12:59 +02:00