Changeset 74bc547


Ignore:
Timestamp:
09/01/2021 02:53:14 PM (5 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
multilib, trunk
Children:
9bfd0b5
Parents:
7f5f7e67
Message:

Fix make-aux-file for lfs-bootscript entities

now, grep returns two lines. Keep only the first one, and
add a comment in packages;ent so that the first line is the
one we want!

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make-aux-files.sh

    r7f5f7e67 r74bc547  
    44
    55# Get base file name and move bootscripts directory to that name
    6 version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
     6version=`grep "ENTITY lfs-bootscripts-version" packages.ent | head -n1| cut -d'"' -f2`
    77mv bootscripts lfs-bootscripts-$version
    88
  • packages.ent

    r7f5f7e67 r74bc547  
    422422<!ENTITY less-fin-sbu "less than 0.1 SBU">
    423423
     424<!-- For all other packages with conditional entities,
     425     the order sysv--systemd is not important.
     426     But for lfs-bootscript, sysv must be before systemd, for the
     427     sake of make-aux-files.sh -->
    424428<![ %sysv; [
    425429<!ENTITY lfs-bootscripts-version "20210608">      <!-- Scripts depend on this format -->
Note: See TracChangeset for help on using the changeset viewer.