Commit Graph

8432 Commits

Author SHA1 Message Date
Thomas Trepl (Moody)
1b85bf1bb6 Automatic merge of trunk into multilib 2022-03-28 05:45:09 +02: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
Thomas Trepl (Moody)
355d7610df Automatic merge of trunk into multilib 2022-03-27 05:45:10 +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
Thomas Trepl (Moody)
75af69e454 Automatic merge of trunk into multilib 2022-03-26 05:45:09 +01: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
Pierre Labastie
96a636b000 Make runlevel 2 equivalent to 3 by default: network 2022-03-25 10:19:52 +01:00
Pierre Labastie
9d83019355 Make runlevel 2 equivalent to 3 by default: sysklogd 2022-03-25 10:19:52 +01:00
Pierre Labastie
a18e40dbc8 Typo in init-functions 2022-03-25 10:19:52 +01:00
Thomas Trepl (Moody)
051c1608d9 Automatic merge of trunk into multilib 2022-03-25 05:45:09 +01:00
Bruce Dubbs
9b463a2154 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-03-24 12:12:12 -05:00
Bruce Dubbs
bcb20b4701 Speling 2022-03-24 12:11:57 -05:00
Xi Ruoyao
b8a2b7e201
inputrc: "8bit" -> "8-bit"
The info page of readline says "eight-bit", so I guess a dash is proper.

Suggested-by: rhubarbpieguy <rhubarbpieguy@vivaldi.net>
2022-03-25 01:10:23 +08:00
Xi Ruoyao
63107f4bc5
fix typos
Suggested-by: rhubarbpieguy <rhubarbpieguy@vivaldi.net>
2022-03-25 01:03:13 +08:00
Thomas Trepl (Moody)
acd14bc9f5 Automatic merge of trunk into multilib 2022-03-23 05:45:10 +01:00
Pierre Labastie
6ad4730862 Fix kernel config to mount the devtmpfs before boot
Also make the order and the layout the same as in menu.
2022-03-22 22:03:33 +01:00
Pierre Labastie
dda039ba19 Update comments in the mountvirtfs booscript
Since the kernel can mount /dev if given the proper config
parameter, and we tell users to set this parameter when building
the kernel, this should be mentioned in the script
2022-03-22 21:20:46 +01:00
Thomas Trepl (Moody)
60093fdb51 Automatic merge of trunk into multilib 2022-03-22 05:45:10 +01:00
Bruce Dubbs
53b26d62bf Update references to active display managers 2022-03-21 18:16:20 -05:00
Bruce Dubbs
7ebcd28ac3 Clarify SysV run levels.
Update the meaning of run level 2.

Add some clarifying remarks about run levels 0 and 6 (halt and reboot).
2022-03-21 15:04:04 -05:00
Xi Ruoyao
d54813bc0c
zstd: add prefix=/usr for make
libzstd.pc is created during "make", so without prefix=/usr here
"-L/usr/local/lib" will show up in libzstd.pc.

Thanks Ryan Marsaw for the report.
2022-03-21 21:59:45 +08:00
Xi Ruoyao
0a993870cf
libffi: update the desc for --disable-exec-static-tramp
Now BLFS has gobject-introspection-1.72, which is already fixed.  GJS
fix will be released in GNOME 43 (not 42).
2022-03-21 14:39:47 +08:00
Thomas Trepl (Moody)
9b0642ad34 Automatic merge of trunk into multilib 2022-03-21 05:45:10 +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
Thomas Trepl (Moody)
56f8a0097e Remove unused option 2022-03-20 11:29:11 +01:00
Thomas Trepl (Moody)
bae1378181 Automatic merge of trunk into multilib 2022-03-20 05:45:10 +01:00
Thomas Trepl (Moody)
c24dafb886 Adjust parameter documentation 2022-03-19 14:21:35 +01:00
Thomas Trepl (Moody)
377270bda8 Fix changes in later gcc instructions 2022-03-19 13:06:54 +01:00
Thomas Trepl (Moody)
85acfcb0c8 Adopt changes to multilib instrustions. ML CURRENTLY BROKEN 2022-03-19 08:56:37 +01:00
Pierre Labastie
bb9cb3c0d8 [Sysv]: /etc/inittab: respawn sulogin in runlevel 1
If run once (as it is now), the only possibility after hitting
control-D is to reboot. Note that init treats the S runlevel
differently:
when the last daemon to be run n runlevel S exits, init switches
to the default runlevel. This is not the case for other runlevels.
2022-03-18 16:06:36 +01:00
Thomas Trepl (Moody)
02c702c62e Automatic merge of trunk into multilib 2022-03-17 15:30:05 +01:00
Thomas Trepl (Moody)
d9bec1e96a Automatic merge of trunk into multilib 2022-03-17 15:28:37 +01:00
Pierre Labastie
fb651b9116 Fix email addresses for bug report in bootscripts 2022-03-17 08:12:51 +01:00
Xi Ruoyao
43149b904b
markupsafe: mention the suffix "-linux-<arch>" in installed directories 2022-03-16 19:47:09 +08:00
Xi Ruoyao
ae84037e94
update to MarkupSafe-2.1.1 (#5025) 2022-03-16 19:39:06 +08:00
Xi Ruoyao
ccb08fafc8
pkgmgmt: for systemd revision, add how to restart systemd without reboot 2022-03-16 15:49:35 +08:00
Bruce Dubbs
16a517ac7e Update to openssl-3.0.2. 2022-03-15 14:49:33 -05:00
Bruce Dubbs
f868154256 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-03-15 11:17:53 -05:00