Ignore:
Timestamp:
Jan 4, 2014, 12:03:38 AM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
f90d077
Parents:
ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into systemd

Conflicts:

BOOK/appendices/dependencies/common.xml
BOOK/boot/common/devices.xml
BOOK/boot/common/pwdgroup.xml
BOOK/boot/ppc64-64/powerpc-utils.xml
BOOK/boot/ppc64/util-linux-32.xml
BOOK/bootscripts/common/bootscripts.xml
BOOK/final-system/alpha-chapter.xml
BOOK/final-system/common/coreutils.xml
BOOK/final-system/common/eudev.xml
BOOK/final-system/common/kbd.xml
BOOK/final-system/mips-chapter.xml
BOOK/final-system/mips64-64-chapter.xml
BOOK/final-system/mips64-chapter.xml
BOOK/final-system/multilib/udev-64bit.xml
BOOK/final-system/multilib/util-linux.xml
BOOK/final-system/ppc-chapter.xml
BOOK/final-system/ppc64-chapter.xml
BOOK/final-system/sparc-chapter.xml
BOOK/final-system/sparc64-64-chapter.xml
BOOK/final-system/sparc64-chapter.xml
BOOK/final-system/x86-chapter.xml
BOOK/final-system/x86_64-64-chapter.xml
BOOK/final-system/x86_64-chapter.xml
BOOK/introduction/common/changelog.xml
BOOK/materials/common/packages.xml
BOOK/packages.ent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/eglibc.xml

    rec008670 r229ed25  
    5858unset LINKER</userinput></screen>
    5959
    60     <para os="p1">The following patch fixes an issue where EGLIBC will
    61     improperly handle a condition where an elf binary has missing
    62     dependencies:</para>
    63 
    64 <screen os="p2"><userinput>patch -Np1 -i ../&eglibc-dl_dep_fix-patch;</userinput></screen>
    65 
    6660    <para os="b">The EGLIBC build system is self-contained and will install
    6761    perfectly, even though the compiler specs file and linker are still
     
    7165    of achieving a clean build.</para>
    7266
    73     <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the
    74     source directory in a dedicated build directory:</para>
     67    <para os="s1">Allow EGLIBC to detect Make-4.x:</para>
     68
     69<screen os="s2"><userinput>sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>
     70
     71    <para os="e">The EGLIBC documentation recommends building EGLIBC outside of     the source directory in a dedicated build directory:</para>
    7572
    7673<screen os="f"><userinput>mkdir -v ../eglibc-build
     
    8077
    8178<screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \
    82     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    83     --libexecdir=/usr/lib/eglibc</userinput></screen>
     79    --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \
     80    --enable-obsolete-rpc</userinput></screen>
    8481
    8582    <variablelist os="i">
     
    8986        <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term>
    9087        <listitem>
    91           <para>This changes the location of the <command>pt_chown</command>
    92           program from its default of <filename
     88          <para>This changes the location of the <command>getconf</command>
     89          utility from its default of <filename
    9390          class="directory">/usr/libexec</filename> to <filename
    9491          class="directory">/usr/lib/eglibc</filename>.</para>
     
    111108<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
    112109
    113 <screen os="n"><userinput>cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
     110<screen os="n"><userinput remap="test">cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
    114111make -k check 2&gt;&amp;1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen>
    115112
     
    150147<screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen>
    151148
    152     <para os="s">Install the package:</para>
    153 
    154 <screen os="t"><userinput>make install</userinput></screen>
     149    <para os="s">Install the package, and remove unneeded files from
     150    <filename class="directory">/usr/include/rpcsvc</filename>:</para>
     151
     152<screen os="t"><userinput>make install &amp;&amp;
     153rm -v /usr/include/rpcsvc/*.x</userinput></screen>
    155154
    156155  </sect2>
     
    246245EOF</userinput></screen>
    247246
     247    <para>Install timezone data:</para>
     248<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
     249
     250ZONEINFO=/usr/share/zoneinfo
     251mkdir -pv $ZONEINFO/{posix,right}
     252
     253for tz in etcetera southamerica northamerica europe africa antarctica  \
     254          asia australasia backward pacificnew \
     255          systemv; do
     256    zic -L /dev/null   -d $ZONEINFO       -y "sh yearistype.sh" ${tz}
     257    zic -L /dev/null   -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
     258    zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
     259done
     260
     261cp -v zone.tab iso3166.tab $ZONEINFO
     262zic -d $ZONEINFO -p America/New_York
     263unset ZONEINFO</userinput></screen>
     264
     265    <variablelist>
     266      <title>The meaning of the zic commands:</title>
     267
     268      <varlistentry>
     269        <term><parameter>zic -L /dev/null ...</parameter></term>
     270        <listitem>
     271          <para>This creates posix timezones, without any leap seconds.  It is
     272          conventional to put these in both
     273          <filename class="directory">zoneinfo</filename> and
     274          <filename class="directory">zoneinfo/posix</filename>. It is
     275          necessary to put the POSIX timezones in
     276          <filename class="directory">zoneinfo</filename>, otherwise various
     277          test-suites will report errors. On an embedded system, where space is
     278          tight and you do not intend to ever update the timezones, you could save
     279          1.9MB by not using the <filename class="directory">posix</filename>
     280          directory, but some applications or test-suites might give less good
     281          results</para>
     282        </listitem>
     283      </varlistentry>
     284      <varlistentry>
     285        <term><parameter>zic -L leapseconds ...</parameter></term>
     286        <listitem>
     287          <para>This creates right timezones, including leap seconds. On an
     288          embedded system, where space is tight and you do not intend to
     289          ever update the timezones, or care about the correct time, you could
     290          save 1.9MB by omitting the <filename class="directory">right</filename>
     291          directory.</para>
     292        </listitem>
     293      </varlistentry>
     294      <varlistentry>
     295        <term><parameter>zic ... -p ...</parameter></term>
     296        <listitem>
     297          <para>This creates the <filename>posixrules</filename> file. We use
     298          New York because POSIX requires the daylight savings time rules
     299          to be in accordance with US rules.</para>
     300        </listitem>
     301      </varlistentry>
     302    </variablelist>
     303
    248304    <para>To determine the local time zone, run the following script:</para>
    249305
     
    323379      <seglistitem>
    324380        <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
    325         ldd, lddlibc4, locale, localedef, mtrace, nscd,
    326         pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
    327         zdump, and zic</seg>
     381        ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
     382        pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump,
     383        and zic</seg>
    328384        <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
    329385        libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so],
     
    465521      </varlistentry>
    466522
     523      <varlistentry id="makedb">
     524        <term><command>makedb</command></term>
     525        <listitem>
     526          <para>Creates a simple database from textual input</para>
     527          <indexterm zone="ch-system-eglibc makedb">
     528            <primary sortas="b-makedb">makedb</primary>
     529          </indexterm>
     530        </listitem>
     531      </varlistentry>
     532
    467533      <varlistentry id="mtrace">
    468534        <term><command>mtrace</command></term>
     
    497563      </varlistentry>
    498564
    499       <varlistentry id="pt_chown">
    500         <term><command>pt_chown</command></term>
    501         <listitem>
    502           <para>A helper program for <command>grantpt</command> to set the owner,
    503           group and access permissions of a slave pseudo terminal</para>
    504           <indexterm zone="ch-system-eglibc pt_chown">
    505             <primary sortas="b-pt_chown">pt_chown</primary>
     565      <varlistentry id="pldd">
     566        <term><command>pldd</command></term>
     567        <listitem>
     568          <para>Lists dynamic shared objects used by running processes</para>
     569          <indexterm zone="ch-system-eglibc pldd">
     570            <primary sortas="b-pldd">pldd</primary>
    506571          </indexterm>
    507572        </listitem>
     
    519584      </varlistentry>
    520585
    521       <varlistentry id="rpcinfo">
    522         <term><command>rpcinfo</command></term>
    523         <listitem>
    524           <para>Makes an RPC call to an RPC server</para>
    525           <indexterm zone="ch-system-eglibc rpcinfo">
    526             <primary sortas="b-rpcinfo">rpcinfo</primary>
    527           </indexterm>
    528         </listitem>
    529       </varlistentry>
    530 
    531586      <varlistentry id="sln">
    532587        <term><command>sln</command></term>
     
    535590          <indexterm zone="ch-system-eglibc sln">
    536591            <primary sortas="b-sln">sln</primary>
     592          </indexterm>
     593        </listitem>
     594      </varlistentry>
     595
     596      <varlistentry id="sotruss">
     597        <term><command>sotruss</command></term>
     598        <listitem>
     599          <para>Traces shared library procedure calls of a specified command</para>
     600          <indexterm zone="ch-system-eglibc sotruss">
     601            <primary sortas="b-sotruss">sotruss</primary>
    537602          </indexterm>
    538603        </listitem>
Note: See TracChangeset for help on using the changeset viewer.