Changeset 63b87af


Ignore:
Timestamp:
12/09/2006 12:17:20 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
2035ea1
Parents:
24f2c51
Message:

HLFS: Create a custom /etc/hlfs-release file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/master.sh

    r24f2c51 r63b87af  
    402402    # password, edit several files and setup Grub.
    403403    case $this_script in
    404       *usage)   continue  ;; # Contains example commands
    405       *grub)    continue  ;;
    406       *console) continue  ;; # Use the file generated by lfs-bootscripts
    407       *fstab)   [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab
     404      *usage)    continue  ;; # Contains example commands
     405      *grub)     continue  ;;
     406      *console)  continue  ;; # Use the file generated by lfs-bootscripts
     407      *finished) continue  ;; # Customized /etc/hlfs-release created in all target
     408      *fstab)    [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab
    408409        ;;
    409       *kernel)  # If no .config file is supplied, the kernel build is skipped
    410                 [[ -z $CONFIG ]] && continue
    411                 cp $CONFIG $BUILDDIR/sources/kernel-config
     410      *kernel)   # If no .config file is supplied, the kernel build is skipped
     411                 [[ -z $CONFIG ]] && continue
     412                 cp $CONFIG $BUILDDIR/sources/kernel-config
    412413        ;;
    413414    esac
     
    522523all:    ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL
    523524        @sudo make do-housekeeping
     525        @echo "$VERSION - jhalfs build" > hlfs-release && \\
     526        sudo install -m444 hlfs-release \$(MOUNT_PT)/etc/hlfs-release
    524527        @\$(call echo_finished,$VERSION)
    525528
Note: See TracChangeset for help on using the changeset viewer.