Commit Graph

128 Commits

Author SHA1 Message Date
Bruce Dubbs
240ff150c6 Allow variables in rc.site to override defaults
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9602 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-23 17:06:43 +00:00
Bruce Dubbs
620c6d09e7 Fixes to console script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9601 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-22 15:13:58 +00:00
Bruce Dubbs
5a58876838 Grammar updates and a minor script touch up.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9598 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-19 03:50:56 +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
13e7d79417 Fix binutils extracted directory version in binutils
build instructions.  This will be reverted at the next upstream release
when the tarball name is again synced with the extracted directory
name.

Fix bootscripts to properly export IN_BOOT variable.

Adjust minimum kernel for the host sysem to 2.6.25
due to a udev requirement.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9592 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-03 15:42:14 +00:00
Bruce Dubbs
5bc19fc1e5 Update to linux-3.0.4 and util-linux-2.20.
Fix minor bootscript problems.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9587 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-08-30 22:54:52 +00:00
Bruce Dubbs
0af8f10023 Minor corrections to bootscripts
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9579 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-08-03 12:56:07 +00:00
Bruce Dubbs
a2e555d8d6 Add /etc/sysconfig to Creating Directories
Update boot logging to remove terminal escape sequences


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9575 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-08-02 16:28:02 +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
Bruce Dubbs
29450ec185 Tweaks to bootscripts
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9512 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-04-20 03:06:03 +00:00
Bruce Dubbs
d61a33f867 Update cleanfs bootscript to not clean /var/run or /var/lock because
they are now linked to a fresh tmpfs.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9511 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-04-19 21:31:18 +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
Bruce Dubbs
6d4552205c Update sendsignals bootscript as a part of sysvinit update
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9320 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-06-27 05:15:45 +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
Matthew Burgess
eb18f5aa2e Remove the buggy legacy getpids() function. Fixes #2472.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9040 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-08-12 19:55:10 +00:00
Bruce Dubbs
63f6e21758 Change the bootsripts and udev configuration so the rtc is set by udev upon boot.
Removed aio device from udev configuration so defaults are used.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8902 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-05-23 12:29:29 +00:00
Bruce Dubbs
a21a3c7cf0 Ignore error in ifdown script when determining status
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8887 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-05-17 19:02:38 +00:00
Bruce Dubbs
77e2988b31 Minor changes for consistent pdf generation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8782 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2009-01-15 07:20:24 +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
Bryan Kadzban
c4487b1648 Remove extra ! in the /var/lock find command (presumably this was just a typo).
(The presence of the ! does not actually break anything, but still looks wrong.)


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8723 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2008-10-31 03:40:45 +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