Changeset 7b08ae24 for bootscripts/lfs


Ignore:
Timestamp:
06/17/2012 05:57:40 PM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
c433b2f
Parents:
2fa5f26
Message:

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

Location:
bootscripts/lfs/init.d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/mountfs

    r2fa5f26 r7b08ae24  
    6767
    6868      # Make all LVM volume groups unavailable, if appropriate
    69       if [ -x /sbin/vgchange ]; then /sbin/vgchange -an > /dev/null; fi
     69      # This fails if swap or / are on an LVM partition
     70      #if [ -x /sbin/vgchange ]; then /sbin/vgchange -an > /dev/null; fi
    7071      ;;
    7172
  • bootscripts/lfs/init.d/mountvirtfs

    r2fa5f26 r7b08ae24  
    3333   start)
    3434      # Make sure /run/var is available before logging any messages
    35       mount -n /run || failed=1
     35      if ! mountpoint /sys >/dev/null; then
     36         mount -n /run || failed=1
     37      fi
     38
    3639      mkdir -p /run/var /run/lock /run/shm
    3740      chmod 1777 /run/shm
     
    5760      cp -a /lib/udev/devices/* /dev
    5861
    59       ln -s /run/shm /dev/shm
     62      ln -sfn /run/shm /dev/shm
    6063     
    6164      (exit ${failed})
Note: See TracChangeset for help on using the changeset viewer.