Commit Graph

16 Commits

Author SHA1 Message Date
Bruce Dubbs
cba2d4e6aa Added systemd and dbus to the book.
Set up systemd and System V side-by-side with the
ability to reboot to either system.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-04-03 21:52:09 +00:00
Bruce Dubbs
28c4c1ede4 Remove unneeded options and commands from mountfs and
mountvirtfs when mtab is a symlink to /proc/self/mounts


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10275 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-05-15 17:01:37 +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
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
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
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
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
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
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
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