summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-23 20:15:50 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-23 20:15:50 (EDT)
commita0e8fb7db3814f75bde9b586bb91d49b20793b3e (patch)
tree2c806767e2069ed4108fae043dc30c60d708f787
parent7f021fa218fed53fd36350168d501aba18993605 (diff)
Add 'ld.so.conf' and 'nsswitch.conf'.
-rwxr-xr-xbuild2
-rw-r--r--ld.so.conf4
-rw-r--r--libc.6.pkg/install2
-rw-r--r--nsswitch.conf13
4 files changed, 21 insertions, 0 deletions
diff --git a/build b/build
index f861cd6..cba437d 100755
--- a/build
+++ b/build
@@ -110,6 +110,8 @@ eglibc.install.stamp: eglibc.build.stamp
mkdir -p dest/usr/share/doc/eglibc-doc/nptl_db && \
cp -Rp src/libc/nptl_db/ChangeLog* \
dest/usr/share/doc/eglibc-doc/nptl_db
+ cp ../ld.so.conf dest/etc
+ cp ../nsswitch.conf dest/etc
touch eglibc.install.stamp
bash
diff --git a/ld.so.conf b/ld.so.conf
new file mode 100644
index 0000000..04f3479
--- /dev/null
+++ b/ld.so.conf
@@ -0,0 +1,4 @@
+# /etc/ld.so.conf
+
+/usr/local/lib
+/opt/lib
diff --git a/libc.6.pkg/install b/libc.6.pkg/install
index dda59f9..1a96128 100644
--- a/libc.6.pkg/install
+++ b/libc.6.pkg/install
@@ -1,2 +1,4 @@
/lib/*.so*
/usr/lib/gconv
+/etc/ld.so.conf
+/etc/nsswitch.conf
diff --git a/nsswitch.conf b/nsswitch.conf
new file mode 100644
index 0000000..d825e9c
--- /dev/null
+++ b/nsswitch.conf
@@ -0,0 +1,13 @@
+# /etc/nsswitch.conf
+
+passwd: files
+group: files
+shadow: files
+
+hosts: files dns
+networks: files
+
+protocols: files
+services: files
+ethers: files
+rpc: files