Changeset c899581


Ignore:
Timestamp:
03/22/2012 09:30:39 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:
e77cfbf
Parents:
2423c94
Message:

Bootscript enhancements

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9783 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
6 edited

Legend:

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

    r2423c94 rc899581  
    4343case "${1}" in
    4444   start)
    45 
    46       # If any LVM based partitions are on the system, ensure they
    47       # are activated so they can be checked/used.
    48       if [ -x /sbin/vgchange ]; then
    49          /sbin/vgchange -a y >/dev/null
    50       fi
    51 
    5245      if [ -f /fastboot ]; then
    5346         msg="/fastboot found, will omit "
  • bootscripts/lfs/init.d/udev

    r2423c94 rc899581  
    5959      # Now wait for udevd to process the uevents we triggered
    6060      /sbin/udevadm settle
     61
     62      # If any LVM based partitions are on the system, ensure they
     63      # are activated so they can be used.
     64      if [ -x /sbin/vgchange ]; then /sbin/vgchange -a y >/dev/null; fi
     65
    6166      log_success_msg2
    6267      ;;
  • bootscripts/lfs/lib/services/ipv4-static

    r2423c94 rc899581  
    4343case "${2}" in
    4444   up)
    45       if [ "$(ip addr show ${1} 2>/dev/null | grep ${IP})" == "" ]; then
     45      if [ "$(ip addr show ${1} 2>/dev/null | grep ${IP}/)" == "" ]; then
    4646         
    4747         # Cosmetic output not needed for multiple services
     
    7070
    7171   down)
    72       if [ "$(ip addr show ${1} 2>/dev/null | grep ${IP})" != "" ]; then
     72      if [ "$(ip addr show ${1} 2>/dev/null | grep ${IP}/)" != "" ]; then
    7373         log_info_msg "Removing IPv4 address ${IP} from the ${1} interface..."
    7474         ip addr del ${args} dev ${1}
  • chapter01/changelog.xml

    r2423c94 rc899581  
    3737
    3838-->
     39    <listitem>
     40      <para>2012-03-22</para>
     41      <itemizedlist>
     42         <listitem>
     43           <para>[bdubbs] - Fix corner case in ipv4-static script. </para>
     44         </listitem>
     45      </itemizedlist>
     46    </listitem>
    3947
    4048    <listitem>
     
    5260           <para>[matthew] - Upgrade to Udev-182. Fixes
    5361           <ulink url="&lfs-ticket-root;3040">#3040</ulink>.</para>
     62         </listitem>
     63      </itemizedlist>
     64    </listitem>
     65
     66    <listitem>
     67      <para>2012-03-19</para>
     68      <itemizedlist>
     69         <listitem>
     70           <para>[bdubbs] - Move optional LVM initialization to the end
     71           of the udev boot script so an LVM partition can be used for swap.
     72           </para>
    5473         </listitem>
    5574      </itemizedlist>
  • general.ent

    r2423c94 rc899581  
    1 <!ENTITY version "SVN-20120320">
    2 <!ENTITY releasedate "Mar 20, 2012">
     1<!ENTITY version "SVN-20120322">
     2<!ENTITY releasedate "Mar 22, 2012">
    33<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!ENTITY milestone "7.2">
  • packages.ent

    r2423c94 rc899581  
    306306<!ENTITY less-ch6-sbu "less than 0.1 SBU">
    307307
    308 <!ENTITY lfs-bootscripts-version "20120229">                 <!-- Scripts depend on this format -->
     308<!ENTITY lfs-bootscripts-version "20120322">                 <!-- Scripts depend on this format -->
    309309<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
    310310<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
Note: See TracChangeset for help on using the changeset viewer.