Ignore:
Timestamp:
09/27/2019 09:59:32 AM (5 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
2d99aa4
Parents:
4ad6e44
Message:

Remove the lfs- prefix when writing to the instpkg file, for lfs bootscripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen-makefile.sh

    r4ad6e44 ra30c80e  
    5151__wrt_touch() {                    #
    5252#----------------------------------#
    53   local pkg_name=$1
     53local pkg_name="${1#*-?-}"
     54# For having a unique id, we have added lfs- to bootscripts package.
     55# We need to remove it now.
     56case "$pkg_name" in lfs-bootscripts) pkg_name=bootscripts ;; esac
    5457
    5558(
    5659cat << EOF
    5760        @xsltproc --stringparam packages ${PACK_FILE} \\
    58         --stringparam package ${pkg_name#*-?-} \\
     61        --stringparam package "${pkg_name}" \\
    5962        -o track.tmp \\
    6063        ${BUMP} \$(TRACKING_FILE) && \\
Note: See TracChangeset for help on using the changeset viewer.