Changeset 52ed4da for BOOK/final-system/common
- Timestamp:
- Jun 6, 2013, 1:09:45 PM (11 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 874ec12
- Parents:
- 5ae61b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/eglibc.xml
r5ae61b1 r52ed4da 58 58 unset LINKER</userinput></screen> 59 59 60 <para os="p3">The following patch fixes an issue that can cause61 ALSA to crash:</para>62 63 <screen os="p4"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen>64 65 60 <para os="b">The EGLIBC build system is self-contained and will install 66 61 perfectly, even though the compiler specs file and linker are still … … 79 74 80 75 <screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \ 81 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc</userinput></screen> 76 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \ 77 --enable-obsolete-rpc</userinput></screen> 82 78 83 79 <variablelist os="i"> … … 152 148 <screen os="t"><userinput>make install</userinput></screen> 153 149 154 <para os="ra">Install NIS and RPC related headers that are not installed by default.</para>155 156 <screen os="rb"><userinput>cp -v ../eglibc-&eglibc-version;/sunrpc/rpc/*.h /usr/include/rpc157 cp -v ../eglibc-&eglibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc158 cp -v ../eglibc-&eglibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>159 160 150 </sect2> 161 151 … … 249 239 # End /etc/nsswitch.conf</literal> 250 240 EOF</userinput></screen> 241 242 <para>Install timezone data:</para> 243 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 244 245 ZONEINFO=/usr/share/zoneinfo 246 mkdir -pv $ZONEINFO/{posix,right} 247 248 for tz in etcetera southamerica northamerica europe africa antarctica \ 249 asia australasia backward pacificnew solar87 solar88 solar89 \ 250 systemv; do 251 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz} 252 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} 253 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz} 254 done 255 256 cp -v zone.tab iso3166.tab $ZONEINFO 257 zic -d $ZONEINFO -p America/New_York 258 unset ZONEINFO</userinput></screen> 259 260 <variablelist> 261 <title>The meaning of the zic commands:</title> 262 263 <varlistentry> 264 <term><parameter>zic -L /dev/null ...</parameter></term> 265 <listitem> 266 <para>This creates posix timezones, without any leap seconds. It is 267 conventional to put these in both 268 <filename class="directory">zoneinfo</filename> and 269 <filename class="directory">zoneinfo/posix</filename>. It is 270 necessary to put the POSIX timezones in 271 <filename class="directory">zoneinfo</filename>, otherwise various 272 test-suites will report errors. On an embedded system, where space is 273 tight and you do not intend to ever update the timezones, you could save 274 1.9MB by not using the <filename class="directory">posix</filename> 275 directory, but some applications or test-suites might give less good 276 results</para> 277 </listitem> 278 </varlistentry> 279 <varlistentry> 280 <term><parameter>zic -L leapseconds ...</parameter></term> 281 <listitem> 282 <para>This creates right timezones, including leap seconds. On an 283 embedded system, where space is tight and you do not intend to 284 ever update the timezones, or care about the correct time, you could 285 save 1.9MB by omitting the <filename class="directory">right</filename> 286 directory.</para> 287 </listitem> 288 </varlistentry> 289 <varlistentry> 290 <term><parameter>zic ... -p ...</parameter></term> 291 <listitem> 292 <para>This creates the <filename>posixrules</filename> file. We use 293 New York because POSIX requires the daylight savings time rules 294 to be in accordance with US rules.</para> 295 </listitem> 296 </varlistentry> 297 </variablelist> 251 298 252 299 <para>To determine the local time zone, run the following script:</para>
Note:
See TracChangeset
for help on using the changeset viewer.