Commit Graph

103 Commits

Author SHA1 Message Date
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
40690e1f21 Remove a bashism from the mountkernfs boot script.
Move the $time init capability from setclock to udev.

Remove and recreate $LFS/dev/shm in Section 6.2 if it is 
a symbolic link.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9860 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-05-21 01:47:41 +00:00
Bruce Dubbs
72f3ca780d Various minor text changes to both book and bootscripts.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9842 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-05-06 03:56:30 +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
Bruce Dubbs
970a126c28 Update networking bootscripts. See bootscripts change log for details.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9807 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-04-09 19:14:33 +00:00
Bruce Dubbs
3710570619 Change the location for the python gdb module
generated by gcc to the correct location.

Fix a logic error in the ifdown script.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9805 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-04-05 04:08:33 +00:00
Bruce Dubbs
e77cfbf41a Adjustments to the shutdown scripts
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9784 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-03-23 02:18:15 +00:00
Bruce Dubbs
c8995814d1 Bootscript enhancements
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9783 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-03-22 21:30:39 +00:00
Bruce Dubbs
aa14485736 Minor changes to ifup boot script.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9757 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-02-29 22:22:52 +00:00
Bruce Dubbs
f158011e9c Add sed to the m4 package to fix a false test failure.
Update mountfs script to support LVM volumes when stopping.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9748 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-02-20 02:08:13 +00:00
Bruce Dubbs
8e8d6e66b3 Activate any possible LVM partitions in checkfs script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9746 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-02-15 18:20:54 +00:00
Bruce Dubbs
6553bff0df Fix typo and clarify error check in ifup script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9739 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-02-10 05:11:28 +00:00
Bruce Dubbs
2f0d64dc59 Fixes to bootscripts:
* Remove unneeded function literals.
  * Fix pidlist logic in statusproc.
  * Fix statusproc usage statement.
  * Add nodevtmpfs in mountfs stop.
  * Be consistent wtih #!/bin/sh

Add nodump to xml so command to print out 70-persistent-net.rules 
will not be used in jhalfs. Fixes a problem in kvm.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9728 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-02-05 06:05:45 +00:00
Bruce Dubbs
bd899fb265 Update scripts to support BLFS bridge devices.
Cosmetic cleanups


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9716 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-01-27 20:39:49 +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
Bruce Dubbs
e9ba8aa85f Change bootscripts to use devtmpfs for /dev.
Move mounting of /dev to mountvirtfs and ensure /dev gets placed in /etc/mtab. 
Change fstab and kernel configuration sections to reflect these changes.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9710 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-01-16 18:34:31 +00:00
Matthew Burgess
fa78391249 Fix typo.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9695 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-12-23 19:12:28 +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
7505caa279 Fix missing # in rc.site
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9676 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2011-11-28 09:07:38 +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
17698aac3c Clen up console script.
Fix man-pages url.
Fix minor typos.


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