Changeset c6ee8ea


Ignore:
Timestamp:
05/08/2014 03:51:53 PM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
c4ad7bf
Parents:
719d0fc
Message:

Adaptation to the new layout for CLFS systemd.
From a patch by W. Harrington

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    r719d0fc rc6ee8ea  
    359359      *kernel)        name=linux                   ;;
    360360      *bootscripts)   name="bootscripts-cross-lfs" ;;
     361      *boot-scripts)   name="boot-scripts-cross-lfs" ;;
    361362      *udev-rules)    name="udev-cross-lfs"        ;;
    362363      *grub-build)    name=grub                    ;;
     
    606607#--------------------------------------#
    607608
     609# New versions of the book do not have bootscripts anymore
     610# (use systemd configuration files)
     611# Define a variable to be used for the right script directory to parse
     612  if [ -d bootscripts ]; then
     613    config="bootscripts"
     614  else
     615    config="system-config"
     616  fi
     617
    608618  if [[ "${METHOD}" = "chroot" ]]; then
    609     echo "${tab_}${GREEN}Processing... ${L_arrow}(chroot) bootscripts   ( CHROOT ) ${R_arrow}"
     619    echo "${tab_}${GREEN}Processing... ${L_arrow}(chroot) $config   ( CHROOT ) ${R_arrow}"
    610620  else
    611     echo "${tab_}${GREEN}Processing... ${L_arrow}(boot) bootscripts     ( ROOT ) ${R_arrow}"
     621    echo "${tab_}${GREEN}Processing... ${L_arrow}(boot) $config     ( ROOT ) ${R_arrow}"
    612622  fi
    613623
    614   for file in bootscripts/* ; do
     624  for file in $config/* ; do
    615625    # Keep the script file name
    616626    this_script=`basename $file`
Note: See TracChangeset for help on using the changeset viewer.