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
Bruce Dubbs
f874424cab
Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
...
Move network services to /lib/services.
Move init-functions to /lib/lsb.
Make /lib/lsb a symlink to /lib/services.
Create convenience symlink /etc/init.d->/etc/rc.d/init.d
Add help and man pages to ifup/ifdown.
Append /run/var/bootlog to /var/log/boot.log at the end of
the boot sequence.
Add capability to step through the boot scripts at boot time.
Optionally allow environment variables in sysconfig directory's
console, network, and clock files to be placed in rc.site.
Add an optional FASTBOOT parameter to set /fastboot when rebooting.
Remove a minor warning message from udev that is triggered
by the udev_retry boot script.
Add SKIPTMPCLEAN as an optional parameter to skip cleaning /tmp at boot time.
Add a page to Chapter 7 documenting rc.site.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9597 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-19 03:31:46 +00:00
Bruce Dubbs
0cda8984a8
Rewrite bootscripts and Chaper 7
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9574 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-08-02 02:15:42 +00:00
DJ Lucas
43c2ecf0b8
Update to lfs-bootscripts-20110531.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-31 03:36:33 +00:00
DJ Lucas
386b3177a5
Fix changelog entries.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9514 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-04-25 04:41:26 +00:00
Bruce Dubbs
9f318ba306
Add new /run mount point to top level directories. Mount a tmpfs on /run in
...
bootscripts. Add symlinks to use new /run tmpfs.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9510 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-04-19 03:26:49 +00:00
Matthew Burgess
f2ca25f95f
Upgrade to Udev-156. Fixes #2671 .
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9294 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-05-29 10:41:33 +00:00
Bryan Kadzban
d3eda3d734
Use --action=add on udevtrigger calls, to handle udev-152 and newer that send "change" events by default.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9256 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-04-21 04:22:02 +00:00
Matthew Burgess
f78845c7a8
Check that /dev isn't already mounted in the udev bootscript. Fixes #2550 .
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9160 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-01-24 20:43:01 +00:00
Bryan Kadzban
42d8d33c82
Use "udevadm trigger --type=failed" instead of "--retry-failed", since the latter is gone as of udev-146. The former works in earlier versions as well, at least as far back as -143 (which includes the current book version).
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9049 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-08-17 04:54:59 +00:00
Bruce Dubbs
4c0c012ee1
Reformatted several pages so pdf is properly generated.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8781 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-01-04 04:48:38 +00:00
DJ Lucas
ed20c2dd12
Moved cleanfs immediately after mountfs and removed the timestamp maker for stale files.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8721 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2008-10-30 23:58:57 +00:00
DJ Lucas
ceed481524
Added Dan Nicholson's patch for #2160 , and cleaned up tab/spacing in changelog.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8701 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2008-10-26 06:58:59 +00:00
DJ Lucas
ea36f37a5f
Removed BROKEN_COMPOSE from console bootscript.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8695 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2008-10-23 05:12:45 +00:00
Bruce Dubbs
1c4800743d
Moved bootscripts and udev-config to BOOK
...
Updated Makefile to automatically generate bootscript and udev-config tarballs
Updated licesnse to be the same as BLFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2008-06-03 21:51:14 +00:00