Xi Ruoyao
44674e4c92
sysv: Mount cgroup fs for memory pressure information early
...
Prepare for systemd-254 update. See #5293 for details.
2023-07-28 19:59:01 +08:00
Xi Ruoyao
da0d47999c
bootscripts: Add missed Change Log entry and version bump for udev
2023-07-22 23:44:10 +08:00
Xi Ruoyao
8435a70be4
bootscripts: mountvirtfs: Create essential symlinks in /dev targeting /proc
...
These were handled by Eudev, but systemd-udevd stopped to creating them
since 2020.
2023-07-22 23:40:32 +08:00
Xi Ruoyao
c7ee38fb5a
bootscripts: Use /bin/udevadm instead of /sbin/udevadm
...
We are switching from eudev to systemd-udev for SysV. Systemd installs
udevadm into /usr/bin, and at least a part of its function can be used
as non-root user, so we'll no longer put it into /usr/sbin.
2023-07-16 10:04:12 +08:00
David Bryant
4ecb5ada8e
Changed "behaviour" to "behavior" throughout the LFS book.
2022-12-12 14:44:57 -06: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
Thomas Trepl (Moody)
68e4fd59b2
Mark raid array as clean at shutdown
2022-07-23 22:42:36 +02:00
Pierre Labastie
aaad260318
Update bootscripts/ChangeLog for recent changes
2022-03-25 10:52:35 +01:00
Pierre Labastie
a44ae5771f
Remove spaces at end of lines - bootscripts
2021-09-07 23:01:23 +02: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
Thomas Trepl (Moody)
9804e1619b
Update chglog and bootscript version
2021-06-02 22:28:20 +02:00
Bruce Dubbs
49e360b9b5
Add manual locales needed for tests if using alternate locale installation
...
instructions.
Minor changes to boot scripts.
2021-04-28 16:40:51 -05:00
Bruce Dubbs
305ab2a4fa
Update to bc-3.2.6.
...
Update to glibc-2.33.
Minor change to mountfs boot script.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-02 16:15:16 +00:00
Xi Ruoyao
02776dffe1
use /run for runtime state directories
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-13 08:44:28 +00:00
DJ Lucas
3c784d8d8a
make a Should-Stop dependency of swap to allow clean install
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-10-02 03:57:24 +00:00
Bruce Dubbs
ba82c18266
Update to gettext-0.21.
...
Update to binutils-2.35.
Update to gcc-10.2.0.
Update to check-0.15.1.
Update to bison-3.7.1.
Update to util-linux 2.36.0.
Update to libcap-2.42.
Update to linux-5.7.12.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12007 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-04 20:14:32 +00:00
DJ Lucas
b9560f3159
Remove errant swap dependency for checkfs
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11694 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-10-31 03:59:01 +00:00
DJ Lucas
84a2932d4a
Syslog should not start in runlevel 2 due to network logging
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11692 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-10-31 03:25:34 +00:00
DJ Lucas
5f66ac891a
Network script depends on firewall scripts from BLFS if activated.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11683 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-10-04 23:07:02 +00:00
DJ Lucas
11e78808ff
Additional updates to facilities in LSB headers.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11682 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-10-04 22:58:07 +00:00
DJ Lucas
6903d5eff3
Update to LFS-Bootscripts-20190902
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11666 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-09-02 08:53:46 +00:00
Bruce Dubbs
94cea1d886
Remove section disussing configuration without a network card.
...
Update boot scripts to unmount network file systems before bringing down the network.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11260 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-06-24 19:33:48 +00:00
DJ Lucas
b875e19ed6
Update to lfs-bootscripts-20170825. Fix a scope issue in the rc script. Thanks to quesker in #lfs-support for the report and subsequent testing.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11210 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-03-25 05:48:04 +00:00
Bruce Dubbs
b7804aeaec
Cosmetic changes to output messages by network boot scripts.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10858 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-02-22 21:50:39 +00:00
Bruce Dubbs
f42cce0d57
Update ifup and ipv4-static to better support multiple IP addresses
...
on an interface.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10838 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-02-08 06:17:24 +00:00
Bruce Dubbs
5632647099
Update to linix-3.18.1.
...
Update to xz-5.2.0.
Update to binutils-2.25.
Update comments for sysklogd boot script.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10808 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-12-25 04:36:44 +00:00
Bruce Dubbs
d9ddcb3bc4
Change default permissions for /run/lock to 1777
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10792 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-11-11 20:58:12 +00:00
Bruce Dubbs
87af6d65ed
Update readline, bash, and mpfr patches.
...
Remove obsolete hotplug referece in udev boot script.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10689 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-08-12 19:59:01 +00:00
Bruce Dubbs
0bf4dfe63c
Move sed to be after acl.
...
Remove reference to obsolete /proc/ksyms in modules boot script.
Change internal references to svn to an entitiy.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10671 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-08-03 02:59:46 +00:00
Bruce Dubbs
6bd5f11241
Removed references to /lib/udev/devices.
...
Update to linux-3.15.4.
Removed systemd references in bootscripts.
Simlify lto instructions in chapter 6 gcc.
Update XML-Parser source location.
Update to eudev-1.9.
Update to kbd-2.0.2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10626 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-07-08 16:36:46 +00:00
Bruce Dubbs
cba2d4e6aa
Added systemd and dbus to the book.
...
Set up systemd and System V side-by-side with the
ability to reboot to either system.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-04-03 21:52:09 +00:00
Bruce Dubbs
a93258dc7f
Update minimum kernel requirement for the host
...
Minor edit in rc.sit requiring bootscript update.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10327 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-08-22 14:45:43 +00:00
Bruce Dubbs
0c5d0027b8
Update to linux-3.10.5
...
Fix bootscript ipv4-static-route
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10310 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-08-05 19:38:44 +00:00
Bruce Dubbs
28c4c1ede4
Remove unneeded options and commands from mountfs and
...
mountvirtfs when mtab is a symlink to /proc/self/mounts
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10275 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-05-15 17:01:37 +00:00
Bruce Dubbs
df02b599e1
Make sure the root fs is mounted read only in mountfs
...
before halting
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10272 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-05-12 04:13:51 +00:00
Bruce Dubbs
53ea84b7e5
Remove bashisms from init-functions file in the boot scripts.
...
Upgrade to e2fsprogs-1.42.7.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10103 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-01-24 21:45:18 +00:00
Bruce Dubbs
12574f2c42
Add boot/shutdown script customization instructions
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10016 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-10-13 16:14:09 +00:00
Bruce Dubbs
1005bde5ea
Add udevadm trigger --action=change line
...
to udev script to support initramfs/LVM better.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-09-05 23:40:19 +00:00
Bruce Dubbs
cb02946abf
Lots of spelling fixes.
...
Delete the no longer used lsb-bootscripts directory
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-08-29 20:45:23 +00:00
Bruce Dubbs
d163adadb9
Read /etc/sysconfig/console when needed in rc
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9960 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-08-24 03:23:34 +00:00
Bruce Dubbs
7b08ae242d
Added a stronger note about automake teste time.
...
Updated boot scripts:
Only mount /run in mountvirtfs if it is not already mounted
(from an initrd).
Force the /dev/shm->/run/shm symlink
Skip making LVM virtual groups unavailable at shutdown
because the / or swap partitions may be still in use.
Fix some whitespace in iproute2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9883 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-06-17 17:57:40 +00:00
Bruce Dubbs
9a70048e12
Copy all entries in /lib/udev/devices to /dev in mountvirtfs.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9868 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-05-30 20:49:17 +00:00
Bruce Dubbs
1025b2a0b0
Minor tweaks to mountkernfs boot script
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9861 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-05-24 22:46:38 +00:00
Bruce Dubbs
9bb0228cb0
Bootscript change log.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9808 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-04-09 19:16:14 +00:00
Matthew Burgess
f70b664df1
Upgrade to Udev-178 and add its dependency of Kmod-4. Fixes #2998 and #3001 .
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9711 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-01-22 09:01:57 +00:00
Matthew Burgess
ef504c23b1
Correct permissions on /run/shm. Fixes #2984 .
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9692 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-12-23 19:04:27 +00:00
DJ Lucas
701d877e61
Revert previous change to init-functions and set defaults for interactive prompt in rc
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9675 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-11-28 09:05:32 +00:00
DJ Lucas
642e2e9f3f
Various cosmetic fixes for bootscripts
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9673 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-11-28 08:13:36 +00:00
Bruce Dubbs
9813d5e328
Updates to boot scripts:
...
general cleanup;
move consolelog function to rc;
clean up boot logging functions;
fix interactive prompt between run level S and target run level.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9661 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-11-14 20:40:06 +00:00
Bruce Dubbs
2a1c1e03a4
Fix the udev_retry script, and add an explanation
...
for how to configure it.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9614 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-06 15:35:49 +00:00