Commit Graph

80 Commits

Author SHA1 Message Date
Bruce Dubbs
a64fd5aa90 Tweak when boot log is saved
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9662 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-11-14 20:46:34 +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
916c906b11 Text correction in bootscripts description.
Remove erroneous sourcing line in bootscript 'functions' file used for 
backward BLFS compatibility.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9659 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-11-08 19:11:01 +00:00
Bruce Dubbs
5cf7fc1496 Fix statusproc in init-functions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9640 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-22 03:30:16 +00:00
Bruce Dubbs
776f1dc3a4 Add statusproc back to bootscripts.
Remove doc/ files when stripping in Chapter 5.
Add --noclear to agetty for tty1 in inittab.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9636 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-18 00:03:30 +00:00
Bruce Dubbs
80eee1527e Correct logic error in console boot script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-08 20:13:33 +00:00
Bruce Dubbs
01c7ffe8c1 Fix man-pages tarball location/name
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9620 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-08 16:25:33 +00:00
Bruce Dubbs
daed5a3e75 Miror update to bootscripts Makefile.
Add capability in main Makefile to create md5sum file.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9618 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-10-08 02:12:06 +00:00
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