summaryrefslogtreecommitdiffstats
path: root/temporary-bootstrap-builder-setup.txt
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-06 01:35:26 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-06 01:35:26 (EST)
commitc5074348b3101c3ab81d8076ff297ad876951685 (patch)
tree71fd860367ee4f3dbcbeae9a9002b089b4fcc4d9 /temporary-bootstrap-builder-setup.txt
parent15e3bdf013f145ac02881599dfc44227f5195afb (diff)
Set up /etc/{nsswitch.conf,localtime,ld.so.conf}.
Diffstat (limited to 'temporary-bootstrap-builder-setup.txt')
-rw-r--r--temporary-bootstrap-builder-setup.txt34
1 files changed, 34 insertions, 0 deletions
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 <<EOF
+ > # /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 '<TZ>' below with this name.
+ $ ln -sfv ../usr/share/zoneinfo/<TZ> ${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 <<EOF
+ > # /etc/ld.so.conf
+ >
+ > /usr/local/lib
+ > /opt/lib
+ > EOF