Changeset 01672b8 for BOOK


Ignore:
Timestamp:
Nov 12, 2012, 1:25:42 PM (12 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3d8b4f6
Parents:
5759332
Message:

Do not use sed -i in temp-system as the host cannot be guaranteed to have GNU sed

Location:
BOOK
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/64/shadow.xml

    r5759332 r01672b8  
    2424
    2525    <para os="b">Disable the installation of the <command>groups</command>
    26     program and its man pages, as Coreutils provides a better version:</para>
     26    program, as Coreutils provides a better version:</para>
    2727
    28 <screen os="c"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in
    29 find man -name Makefile.in -exec sed -i '/groups\.1\.xml/d' '{}' \;
    30 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
     28<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
     29sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen>
    3130
    3231    <para os="t1">The following cache entries set the values for tests that do
  • BOOK/boot/common/shadow.xml

    r5759332 r01672b8  
    2424
    2525    <para os="b">Disable the installation of the <command>groups</command>
    26     program and its man pages, as Coreutils provides a better version:</para>
     26    program, as Coreutils provides a better version:</para>
    2727
    28 <screen os="c"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in
    29 find man -name Makefile.in -exec sed -i '/groups\.1\.xml/d' '{}' \;
    30 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
     28<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
     29sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen>
    3130
    3231    <para os="t1">The following cache entries set the values for tests that do
  • BOOK/boot/multilib/shadow.xml

    r5759332 r01672b8  
    2424
    2525    <para os="b">Disable the installation of the <command>groups</command>
    26     program and its man pages, as Coreutils provides a better version:</para>
     26    program, as Coreutils provides a better version:</para>
    2727
    28 <screen os="c"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in
    29 find man -name Makefile.in -exec sed -i '/groups\.1\.xml/d' '{}' \;
    30 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
     28<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
     29sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen>
    3130
    3231    <para os="t1">The following cache entries set the values for tests that do
  • BOOK/temp-system/common/coreutils.xml

    r5759332 r01672b8  
    4848    <para os="h1">Coreutils does not build make-prime-list properly and the host cannot execute it. We build it using the host compiler so it can be executed for the generation of data required for the build.</para>
    4949
    50 <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile
     50<screen os="h2"><userinput>cp -v Makefile{,.orig}
     51sed '/src_make_prime_list/d' Makefile.orig > Makefile
    5152depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&amp;|;s|\.o$||'`;\
    5253    gcc -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src  \
     
    6162    <para os="h3">Remove the building of the hostname man page as it is affected by the previous commands.</para>
    6263
    63 <screen os="h4"><userinput>sed -i '/hostname.1/d' -i Makefile</userinput></screen>
     64<screen os="h4"><userinput>cp -v Makefile{,.bak}
     65sed -e '/hostname.1/d' Makefile.bak > Makefile</userinput></screen>
    6466<!-- End hack -->
    6567
  • BOOK/temp-system/common/vim.xml

    r5759332 r01672b8  
    3535    following command:</para>
    3636
    37 <screen os="s2"><userinput>sed -i "/using uint32_t/s/as_fn_error/#&amp;/" src/auto/configure</userinput></screen>
     37<screen os="s2"><userinput>cp -v src/auto/configure{,.orig}
     38sed "/using uint32_t/s/as_fn_error/#&amp;/" src/auto/configure.orig > src/auto/configure</userinput></screen>
    3839
    3940    <para os="c1">The <command>configure</command> script is full of logic
  • BOOK/temp-system/multilib/coreutils.xml

    r5759332 r01672b8  
    5353    xpointer="xpointer(//*[@os='h1'])"/>
    5454
    55 <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile
     55<screen os="h2"><userinput>cp -v Makefile{,.orig}
     56sed '/src_make_prime_list/d' Makefile.orig > Makefile
    5657depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&amp;|;s|\.o$||'`;\
    5758    gcc -m64 -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src \
Note: See TracChangeset for help on using the changeset viewer.