Changeset 4eba1ea


Ignore:
Timestamp:
12/04/2006 11:49:51 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
5f4982d
Parents:
f3a7f3b
Message:

LFS bug fix: Removed kernfs script from CHROOT target dependencies.
Avoided hardcoded SUDO target dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    rf3a7f3b r4eba1ea  
    9696    # First append each name of the script files to a list (this will become
    9797    # the names of the targets in the Makefile
    98     # DO NOT append the changingowner script.
     98    # DO NOT append the changingowner script, it need be run as root.
    9999    # A hack is necessary: create script in chap5 BUT run as a dependency for
    100     #  chap6 CHROOT
    101     case "${this_script}" in
    102       *changingowner) : ;;
     100    # SUDO target
     101    case "${this_script}" in
     102      *changingowner) runasroot="$runasroot ${this_script}" ;;
    103103                   *) chapter5="$chapter5 ${this_script}" ;;
    104104    esac
     
    197197    esac
    198198
    199     # Grab the name of the target
     199    # Grab the name of the target.
    200200    name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@'`
    201201
     
    214214    # Append each name of the script files to a list (this will become
    215215    # the names of the targets in the Makefile)
    216     chapter6="$chapter6 ${this_script}${N}"
     216    # The kernfs script must be run as part of SUDO target.
     217    case "${this_script}" in
     218      *kernfs) runasroot="$runasroot ${this_script}" ;;
     219            *) chapter6="$chapter6 ${this_script}${N}" ;;
     220    esac
    217221
    218222    # Append each name of the script files to a list (this will become
     
    471475SETUP:     $chapter4
    472476LUSER:     $chapter5
    473 SUDO:      057-changingowner 059-kernfs
     477SUDO:      $runasroot
    474478CHROOT:    $chapter6
    475479BOOT:      $chapter789
Note: See TracChangeset for help on using the changeset viewer.