Changeset 1531f18 in clfs-sysroot for BOOK


Ignore:
Timestamp:
Jun 18, 2006, 1:02:45 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
06e1eb5
Parents:
9748f02
Message:

r3953@server (orig r1777): jciccone | 2006-06-18 12:55:16 -0700
Added a patch to create the zoneinfo files when glibc installs.

Location:
BOOK
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/glibc.xml

    r9748f02 r1531f18  
    4949    href="../common/glibc.xml"
    5050    xpointer="xpointer(//*[@os='p4'])"/>
     51
     52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     53    href="../common/glibc.xml"
     54    xpointer="xpointer(//*[@os='p5'])"/>
     55
     56    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     57    href="../common/glibc.xml"
     58    xpointer="xpointer(//*[@os='p6'])"/>
    5159
    5260    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/common/glibc.xml

    r9748f02 r1531f18  
    4848
    4949<screen os="p4"><userinput>patch -Np1 -i ../&glibc-localedef_segfault-patch;</userinput></screen>
     50
     51    <para os="p5">The following patch changes the way glibc generates it's
     52    timezone information so that it can be generated when
     53    cross-compiling:</para>
     54
     55<screen os="p6"><userinput>patch -Np1 -i ../&glibc-crosscompile_timezone_fix-patch;</userinput></screen>
    5056
    5157    <para os="b">The Glibc documentation recommends building Glibc outside of the
     
    273279    <para>To determine the local time zone, run the following script:</para>
    274280
    275 <screen role="nodump"><userinput>tzselect</userinput></screen>
     281<screen role="nodump"><userinput>${LFS}/usr/bin/tzselect</userinput></screen>
    276282
    277283    <para>After answering a few questions about the location, the script will
     
    280286    <filename>/etc/localtime</filename> file by running:</para>
    281287
    282 <screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
    283     /etc/localtime</userinput></screen>
     288<screen><userinput>cp -v --remove-destination ${LFS}/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
     289    ${LFS}/etc/localtime</userinput></screen>
    284290
    285291    <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
  • BOOK/materials/common/patches.xml

    r9748f02 r1531f18  
    110110
    111111    <varlistentry>
     112      <term>Glibc Timezone Patch- <token>&glibc-crosscompile_timezone_fix-patch-size;</token>:</term>
     113      <listitem>
     114        <para>Download: <ulink
     115        url="&patches-root;glibc/&glibc-crosscompile_timezone_fix-patch;"/></para>
     116        <para>MD5 sum: <literal>&glibc-crosscompile_timezone_fix-patch-md5;</literal></para>
     117      </listitem>
     118    </varlistentry>
     119
     120    <varlistentry>
    112121      <term>Glibc Disable linking with libgcc_eh.a - <token>&glibc-libgcc_eh-patch-size;</token>:</term>
    113122      <listitem>
  • BOOK/patches.ent

    r9748f02 r1531f18  
    4444<!ENTITY gcc-posix-patch-md5 "0d88068740a0e00780891f2cb905b808">
    4545<!ENTITY gcc-posix-patch-size "9 KB">
     46
     47<!ENTITY glibc-crosscompile_timezone_fix-patch "glibc-&glibc-version;-crosscompile_timezone-fix-1.patch">
     48<!ENTITY glibc-crosscompile_timezone_fix-patch-md5 "19f7f1fcd25409fa888b5af0364c8ec4">
     49<!ENTITY glibc-crosscompile_timezone_fix-patch-size "4 KB">
    4650
    4751<!ENTITY glibc-libgcc_eh-patch "glibc-&glibc-version;-libgcc_eh-1.patch">
Note: See TracChangeset for help on using the changeset viewer.