Changeset 259d5d2


Ignore:
Timestamp:
Dec 21, 2008, 5:53:19 PM (15 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3344456
Parents:
39b740b
Message:

Modify temp-system sed commands to work with more versions of sed

Location:
BOOK/temp-system/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/common/coreutils.xml

    r39b740b r259d5d2  
    2929    <command>install</command> to perform the install:</para>
    3030
    31 <screen os="bs2"><userinput>sed -i "/binPROGRAMS_INSTALL=/s:./ginstall:install:" src/Makefile.in</userinput></screen>
     31<screen os="bs2"><userinput>cp -v src/Makefile.in{,.orig}
     32sed -e "/binPROGRAMS_INSTALL=/s:./ginstall:install:" src/Makefile.in.orig > src/Makefile.in</userinput></screen>
    3233
    3334    <para os="ba">Configure can not properly determine how to get free space
  • BOOK/temp-system/common/gzip.xml

    r39b740b r259d5d2  
    2727    xpointer="xpointer(//*[@os='s1'])"/>
    2828
    29     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    30     href="../../final-system/common/gzip.xml"
    31     xpointer="xpointer(//*[@os='s2'])"/>
     29<screen os="s2"><userinput>for file in $(grep -lr futimens *); do
     30  cp -v ${file}{,.orig}
     31  sed -e "s/futimens/gl_&amp;/" ${file}.orig > ${file}
     32done</userinput></screen>
    3233
    3334    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.