Commit Graph

8390 Commits

Author SHA1 Message Date
Xi Ruoyao
e1d233c8af
gcc-12: remove --enable-initfini-array in pass 1
Reference: https://gcc.gnu.org/r12-1328
2022-05-06 20:31:01 +08:00
Xi Ruoyao
9fec03d69f
gcc-12: update tarball stat 2022-05-06 20:13:24 +08:00
Bruce Dubbs
f164a246c2 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-05-04 20:22:53 -05:00
Bruce Dubbs
d6cba09c7c Update to openssl-3.0.3. 2022-05-04 20:20:27 -05:00
Xi Ruoyao
7c862eac22
GID 5 (for tty) is also special 2022-05-02 16:02:10 +08:00
Xi Ruoyao
0414633793
minor fix for 65534 explanation: it is also used for "unmapped" groups 2022-05-02 15:42:52 +08:00
Xi Ruoyao
8469f02115
make /etc/group sorted by GID 2022-05-02 15:39:45 +08:00
Xi Ruoyao
14de4552bf
explain the usage of 65534 2022-05-02 15:36:03 +08:00
Xi Ruoyao
d77e98c7e8
fix a typo in changelog 2022-05-02 15:08:43 +08:00
Bruce Dubbs
8cab730a5b Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-04-30 09:40:46 -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
Xi Ruoyao
93db1e614e
python: fix a typo 2022-04-21 23:28:35 +08:00
Bruce Dubbs
dd9987c5ab Minor rewording of pip3 recommendations 2022-04-21 08:43:49 -05:00
Xi Ruoyao
720c0bd9fb
python: add a <important> for pip3 usage 2022-04-21 14:23:07 +08:00
Xi Ruoyao
e286d8db14
decorate the references to root and lfs user
The references already correctly decorated are not changed because "if
it's not broken don't fix it".
2022-04-21 14:12:43 +08:00
Xi Ruoyao
421e0cfcda
add convenience entities for users root and lfs 2022-04-21 14:02:44 +08:00
Xi Ruoyao
c919b34c8a
generalize the note about removed and vulnerably releases 2022-04-20 18:53:42 +08:00
Xi Ruoyao
474ba0c426
mpfr: use ftp.gnu.org, at least for now
Currently www.mpfr.org has a certificate issue.
2022-04-20 18:34:28 +08:00
Bruce Dubbs
9de91f7822 Fix currency for mpfr
There is something wrong with the certificate for the mpfr
web page https://mpfr.loria.fr/mpfr-current/.  Ignore the certificate
problem.
2022-04-19 11:36:18 -05:00
Bruce Dubbs
18e99c88b9 Update lfs currency for wheel 2022-04-18 11:32:36 -05:00
Xi Ruoyao
4b51d83b3e
wheel: capitalize the first letter of the title, like all other packages 2022-04-18 20:44:35 +08:00
Xi Ruoyao
ee16e55d20
text fixes for wheel change
* Add description for "wheel" command
* Explain why pip3 warning does not matter for us
* Format and typo fixes
2022-04-18 12:59:52 +08:00
Bruce Dubbs
9749744481 Use pip3 to install Python modules and programs
meson, Markupsafe, and Jinja2
2022-04-17 23:08:16 -05:00
Bruce Dubbs
5a2aca5626 Add wheel.xml 2022-04-17 19:04:53 -05:00
Bruce Dubbs
032d88fc75 Add wheel-0.37.1 (Python module). 2022-04-17 17:11:27 -05:00
Bruce Dubbs
7a0687cbbf Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-04-17 14:19:34 -05:00
Bruce Dubbs
e9538133fa Suppress a waring if running pip3 as root.
In serveral places we use the pip3 command to install Python 3 programs
and modules for all users as root. This conflicts with the Python
developers' recommendation to build packages in a virtual environment as
a regular user. To this end, a multi-line warning is written when using
pip3 as the root user.

This change shows users how to avoid this warning.
2022-04-17 12:55:48 -05:00
Ken Moffat
1d694184b3 Patch xz for the xzgrep vulnerability. 2022-04-15 20:01:35 +01:00
Xi Ruoyao
75bab32f83
procps: update library and include directory name 2022-04-15 10:32:55 +08: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
Bruce Dubbs
b861051f19 Typos 2022-04-12 14:31:26 -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
Xi Ruoyao
d70fd55a87
procps-ng: remove an outdated note
It now just untars into procps-ng-4.0.0 directory, as we expect.
2022-04-05 01:30:19 +08:00
Bruce Dubbs
f30c2e8029 Add in the patch needed for systemd with the 5.17 kernel 2022-03-31 12:39:23 -05: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
Bruce Dubbs
cf30814bdb Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-03-27 11:46:12 -05:00
Bruce Dubbs
f23beb1acf Remove refereces to Russia 2022-03-27 11:46:00 -05:00
Pierre Labastie
d608267a48 Fix a stupid typo in bootscripts/Makefile
copy/paste error rc0.d -> rc6.d. Brown paperbag commit...
2022-03-27 14:30:05 +02:00
Xi Ruoyao
ab7af9e6f0
libffi: reword the note about "building for another system"
Telling the user to override CFLAGS and CXXFLAGS may cause two problems:

1. We've added --with-gcc-arch=native, so the configure script will add
   "-march=native" into CFLAGS.  Then we've not really verified which
   -march= value is the last one in the GCC command line and being really
   used.
2. User may just export CFLAGS="-march=x86_64", without "-O2".  This
   will produce unoptimized binaries.
2022-03-26 23:25:36 +08:00
Pierre Labastie
827cc05c37 Upstate bootscripts to 20220324 2022-03-25 18:32:05 +01:00
Pierre Labastie
2103b64b5d Bump bootscripts version 2022-03-25 10:52:35 +01:00
Pierre Labastie
aaad260318 Update bootscripts/ChangeLog for recent changes 2022-03-25 10:52:35 +01:00
Pierre Labastie
497d43515f Remove the 0/6 exception explanation in usage.xml
It's not true anymore with the new semantics of K/S files.
2022-03-25 10:52:35 +01:00
Pierre Labastie
ed6ffcb2e2 network bootscript: Don't run ifup if route already set
Otherwise, warnings are issued when changing runlevel. "ip route"
is a good test of whether network is already up. If users want to
change some config, they should use ifup/down, not the network
bootscript.
2022-03-25 10:52:34 +01:00
Pierre Labastie
2539253399 New semantics for S/K files in boot scripts
Now start and reboot should be called as "script start", and they
should be the last in their runlevel. Note that install_initd
needs to be patched for this to work; see
https://github.com/lfs-book/LSB-Tools/pull/12
2022-03-25 10:52:17 +01:00
Pierre Labastie
3b20f597b2 Fix Makefile for new semantics of S/K symlinks
In runlevel 0/6, services which must be stopped should be
with Kxx symlinks
2022-03-25 10:24:45 +01:00
Pierre Labastie
887af775a5 Adapt template to new semantics of S/K symlinks 2022-03-25 10:24:45 +01:00
Pierre Labastie
27d23b1d41 Change semantics of S and K files
Presently, there are a lot of special cases:
- runlevel 0 and 6 unconditionally run "script stop" if they
  find a Kxxscript symlink. This may lead to trying to stop an
  already stopped device if for example switching to runlevel 0/6
  from runlevel 1. This can be fixed by stating the convention
  that it is the responsability of scripts to check that the service
  is running before killing it (or not running before starting it).
  Still, we shouldn't try to stop a service if it was marked K in
  the previous runlevel. And same for S files: we shouldn't try to
  start a service that was marked S in the previous runlevel. Note
  that changing runlevel is not a "reset": if a user has manually
  changed the state of a daemon, this state will remain the same
  upon changing runlevel if the S/K status of that dameon is
  the same in both runlevels.

- Sxxscript symlinks in runlevel 0/6 are run as "script stop"
  instead of the more intuitive "script start". This does not interact
  well with LSB-tools (some scripts would need "Default-Start: S 0 6"
  but then it is impossible to get correct "Required-Start" or
  "Should-Start" fields). Furthermore, having a counter-intuitive
  behavior is error prone. So now runlevel 0/6 will run "script
  sart" for a Sxxscript.
2022-03-25 10:19:53 +01:00
Pierre Labastie
17c6532e0f Do not redefine is_true in the console script
There is a better version in init-functions
2022-03-25 10:19:53 +01:00
Pierre Labastie
db7c8be8ae Make runlevel 2 equivalent to 3 by default: Makefile 2022-03-25 10:19:52 +01:00