Commit Graph

113 Commits

Author SHA1 Message Date
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
97e156e368 Finish removal of sysconfig/rc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9974 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-09-01 14:52:50 +00:00
Bruce Dubbs
99cee8bbe0 More cleanup
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9971 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-08-31 16:59:31 +00:00
Bruce Dubbs
ed992fbc68 Minor typos in bootscripts.
Remove obsolete udev-config directory.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9970 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-08-31 16:42:52 +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
36ba266b6f lfs-udev fixes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9920 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-07-25 21:52:18 +00:00
Bruce Dubbs
9b7cbc7e91 Update to pkg-config-0.27
Remove popt
Fix udev-retry boot script for latest udev functioanlity


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9916 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-07-22 22:31:14 +00:00
Bruce Dubbs
c433b2fe3c Typo in bootscrits
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9884 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-06-17 18:40:42 +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
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