summaryrefslogtreecommitdiffstats
path: root/rules/rootfs_configfiles.in
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-01-09 10:46:00 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2007-01-09 10:46:00 +0000
commit11f4fc5589715e427d10bf7be7a903f73624847b (patch)
tree157b92de950c463cfcf0f9cc27dac4b9ab5ce770 /rules/rootfs_configfiles.in
parent4d2aa8618da6f609f71a7a5573c504470fe5708d (diff)
downloadptxdist-11f4fc5589715e427d10bf7be7a903f73624847b.tar.gz
ptxdist-11f4fc5589715e427d10bf7be7a903f73624847b.tar.xz
* rootfs - remove generic /etc/resolv.conf
- there is no generic solution possible - its useless in the presence of the generic /etc/nsswitch.conf - its also useless if dns is activated (it does not what one expects when one activates dns) - help added, how to get a working dns git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6787 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/rootfs_configfiles.in')
-rw-r--r--rules/rootfs_configfiles.in59
1 files changed, 23 insertions, 36 deletions
diff --git a/rules/rootfs_configfiles.in b/rules/rootfs_configfiles.in
index a43595c57..f83aad88b 100644
--- a/rules/rootfs_configfiles.in
+++ b/rules/rootfs_configfiles.in
@@ -309,8 +309,11 @@ menuconfig ROOTFS_NSSWITCH
bool
prompt "Use generic"
help
- Installs a generic /etc/nsswitch.conf file.
- See <ptxdist-install>/generic/nsswitch.conf
+ Installs a generic /etc/nsswitch.conf file. See
+ <ptxdist-install>/generic/nsswitch.conf.
+ Note: This file only supports local name resolution. It
+ does not use any DNS service, so it makes no sense to
+ use a /etc/resolv.conf if this generic file is in use.
config ROOTFS_USER_NSSWITCH
bool
@@ -318,10 +321,27 @@ menuconfig ROOTFS_NSSWITCH
help
This uses a user defined /etc/nsswitch.conf. PTXdist
uses file projectroot/etc/nsswitch.conf in your local
- project
+ project. Refer "man nsswitch.conf" how to create a
+ specific file to achive your requirements.
endchoice
#
+# /etc/resolv.conf
+# This file makes only sense when:
+# - dns is activated in nsswitch.conf (our generic one does not so)
+# - the network DNS is known
+#
+config ROOTFS_RESOLV
+ depends on ROOTFS
+ depends on ROOTFS_USER_NSSWITCH
+ bool
+ prompt "project's /etc/resolv.conf"
+ help
+ Installs a /etc/resolv.conf file from projectroot/etc/resolv.conf in
+ your local project. Refer "man resolv.conf" how to create a specific
+ file to achive your requirements.
+
+#
# /etc/profile
#
menuconfig ROOTFS_PROFILE
@@ -411,39 +431,6 @@ menuconfig ROOTFS_PROTOCOLS
endchoice
#
-# /etc/resolv.conf
-#
-menuconfig ROOTFS_RESOLV
- depends on ROOTFS
- bool
- prompt "/etc/resolv.conf "
- default y
- help
- Installs a /etc/resolv.conf file from a selectable source.
-
- choice
- prompt "Kind of /etc/resolv.conf"
- depends on ROOTFS_RESOLV
- default ROOTFS_GENERIC_RESOLV
-
- config ROOTFS_GENERIC_RESOLV
- bool
- prompt "Use generic"
- help
- Install a generic /etc/resolv.conf file. See
- <ptxdist-install>/generic/resolv.conf.
-
- config ROOTFS_USER_RESOLV
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/resolv.conf. PTXdist
- uses file projectroot/etc/resolv.conf in your local
- project.
-
- endchoice
-
-#
# /etc/inetd.conf
#
menuconfig ROOTFS_INETD