From c5074348b3101c3ab81d8076ff297ad876951685 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 06 Jan 2012 01:35:26 -0500 Subject: Set up /etc/{nsswitch.conf,localtime,ld.so.conf}. --- diff --git a/temporary-bootstrap-builder-setup.txt b/temporary-bootstrap-builder-setup.txt index 5ea85b3..592500a 100644 --- a/temporary-bootstrap-builder-setup.txt +++ b/temporary-bootstrap-builder-setup.txt @@ -282,3 +282,37 @@ Build EGLIBC's localedef and install locales. > fr_FR.UTF-8/UTF-8 fr_FR/ISO-8859-1 fr_FR@euro/ISO-8859-15 \ > it_IT.UTF-8/UTF-8 it_IT/ISO-8859-1 \ > ja_JP.EUC-JP/EUC-JP ja_JP.UTF-8/UTF-8' install-locales + $ cd .. + $ rm -Rf eglibc-2.14 eglibc-build + +Write the Name Service Switch configuration file. + $ cat > ${BBL}/etc/nsswitch.conf < # /etc/nsswitch.conf + > + > passwd: files + > group: files + > shadow: files + > + > hosts: files dns + > networks: files + > + > protocols: files + > services: files + > ethers: files + > rpc: files + > EOF + +Set the system's timezone. + $ TZDIR=${BBL}/usr/share/zoneinfo ${BBL}/usr/bin/tzselect +Answer the prompts and the tzselect script will output the name of a time zone. +Substitute '' below with this name. + $ ln -sfv ../usr/share/zoneinfo/ ${BBL}/etc/localtime + +Configure the dynamic loader to search for libraries in /usr/local/lib and +/opt/lib in addition to its default locations /lib and /usr/lib. + $ cat > ${BBL}/etc/ld.so.conf < # /etc/ld.so.conf + > + > /usr/local/lib + > /opt/lib + > EOF -- cgit v0.9.1