Commit Graph

72 Commits

Author SHA1 Message Date
Bryan Kadzban
81060b6ada Add missing udev_retry config file to the bootscripts package
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9615 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-07 03:28:45 +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
6d8e177ab9 Fix the fix. :(
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9604 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-26 16:43:57 +00:00
Bruce Dubbs
d8efcaddcc Correct syntax in modules boot script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9603 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-26 16:40:50 +00:00
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
ddfba10adb Fix some spacing
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9600 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-21 18:27:48 +00:00
Bruce Dubbs
8dd9cdb54a Updates to lfs-bootscripts Makefile
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9599 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-09-21 18:24:09 +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
DJ Lucas
63a2c2d454 Moved BOOK/bootscripts/contrib/lsb-v3 to BOOK/lsb-bootscripts.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9538 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-15 03:17:07 +00:00
DJ Lucas
dcae1d7df3 Added LICENSE.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9537 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-15 03:10:27 +00:00
DJ Lucas
325474589e Copied lfs-bootscripts changelog, modified format of existing changelog.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9536 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-15 02:35:14 +00:00
DJ Lucas
2d439ed7e5 README changes for release
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9535 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-15 01:01:48 +00:00
DJ Lucas
52a4dd2f16 Remove unused /etc/lsb and manage-functions.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9534 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-15 00:23:06 +00:00
DJ Lucas
9f55ea084d Fix DESTDIR installation.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9533 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-15 00:17:32 +00:00
DJ Lucas
dc55fb5e4b Changes per thread starting at http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2011-May/064677.html
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9532 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-14 21:00:31 +00:00
DJ Lucas
cb95d5f23b Changed distribution directory structure.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9530 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-14 19:41:18 +00:00
DJ Lucas
03bf43c6ea Do not run install_initd on setclock script by default
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9529 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-14 18:57:10 +00:00
DJ Lucas
2c1e486f33 Fix missed changelog entry
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9528 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-14 18:55:44 +00:00
DJ Lucas
dad97deb88 Moved configuration of clock and hostname to rc.site
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9527 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-14 18:54:11 +00:00
DJ Lucas
bd1b5bedc2 Added FAILURE_ACTION variable to rc.site
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9526 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-14 18:46:00 +00:00
DJ Lucas
34a7193e49 Fix dependency typo
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9525 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-05-13 02:28:49 +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
DJ Lucas
84ce1e3fca Synced lsb-v3 scripts with main bootscripts, changed format of changelog.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9513 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-04-25 03:07:03 +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
DJ Lucas
d03909fd11 Added udev to Required-Start for swap script.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9395 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-10-12 23:00:36 +00:00
DJ Lucas
f13cd5e3da Add proper attribution.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9366 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-08-24 03:09:02 +00:00
DJ Lucas
12078f7f54 Fix missing 'then' in sendsignals conditionals.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9365 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-08-23 13:14:58 +00:00
DJ Lucas
7956b8825b Fix Changelog typo
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9325 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-06-27 13:28:32 +00:00
DJ Lucas
559731897e Standardized urinary comparisons^Cn tests
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9324 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-06-27 07:33:25 +00:00
DJ Lucas
c8595ed645 Oops, previous commit wasn't POSIX compliant
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9323 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-06-27 07:05:07 +00:00
DJ Lucas
d2abc4d35c Sync to main. Updated lsb-v3 scripts to account for change in sysvinit version.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9321 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-06-27 05:32:22 +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
DJ Lucas
3179cd695f Sync lsb-v3 scripts to LFS-Bootscripts-20100529 (udev changes).
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9290 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-05-29 02:39:28 +00:00
DJ Lucas
a8a87e6739 Typo fix. Thanks Gilles.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9260 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-04-29 01:08:25 +00:00
DJ Lucas
ec45bd6dd9 fixed paths and removed unneeded X-LFS-Default lines.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9259 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2010-04-28 03:46:23 +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