summaryrefslogtreecommitdiffstats
path: root/rules/rootfs_configfiles.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-02-20 23:13:39 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-02-20 23:13:39 +0000
commit2e878658a02ca4651673cad2f41a57f27557d6dc (patch)
treefd1c10f972e4e7f79775a2b3c52fe907869e6032 /rules/rootfs_configfiles.in
parentbe1d99320d214120a306d659e3eacac4411b5ad3 (diff)
downloadptxdist-2e878658a02ca4651673cad2f41a57f27557d6dc.tar.gz
ptxdist-2e878658a02ca4651673cad2f41a57f27557d6dc.tar.xz
* init: introduce infrastructure for multiple init methods
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9802 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/rootfs_configfiles.in')
-rw-r--r--rules/rootfs_configfiles.in520
1 files changed, 0 insertions, 520 deletions
diff --git a/rules/rootfs_configfiles.in b/rules/rootfs_configfiles.in
index f743769c1..e69de29bb 100644
--- a/rules/rootfs_configfiles.in
+++ b/rules/rootfs_configfiles.in
@@ -1,520 +0,0 @@
-## SECTION=rootfs
-
-# ----------------------------------------------------------------------------
-menu "config files "
-# ----------------------------------------------------------------------------
-
-#
-# /etc/passwd
-#
-menuconfig ROOTFS_PASSWD
- depends on ROOTFS
- bool
- prompt "/etc/passwd "
- default y
- help
- Installs a /etc/passwd file from a selectable source.
-
- choice
- prompt "Kind of /etc/passwd"
- depends on ROOTFS_PASSWD
- default ROOTFS_GENERIC_PASSWD
-
- config ROOTFS_GENERIC_PASSWD
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/passwd file. This file does
- not offer any security, the root login is without a
- password. So don't use it in a network environment
- which is available to the outside.
- See <ptxdist-install>/generic/passwd
-
- config ROOTFS_USER_PASSWD
- bool
- prompt "User defined"
- help
- This uses a user defined passwd. PTXdist uses file
- projectroot/etc/passwd in your local project
- endchoice
-
-#
-# /etc/shadow, /etc/shadow-
-#
-menuconfig ROOTFS_SHADOW
- depends on ROOTFS
- bool
- prompt "/etc/shadow, /etc/shadow- "
- default y
- help
- Installs a /etc/shadow and /etc/shadow- file from a selectable source.
-
- choice
- prompt "Kind of /etc/shadow|shadow-"
- depends on ROOTFS_SHADOW
- default ROOTFS_GENERIC_SHADOW
-
- config ROOTFS_GENERIC_SHADOW
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/shadow and /etc/shadow- file.
- See <ptxdist-install>/generic/etc/shadow|shadow-
-
- config ROOTFS_USER_SHADOW
- bool
- prompt "User defined"
- help
- This uses a user defined shadow|shadow-. PTXdist uses
- files projectroot/etc/shadow|shadow- in your local
- project
- endchoice
-
-#
-# /etc/group, /etc/gshadow
-#
-menuconfig ROOTFS_GROUP
- depends on ROOTFS
- bool
- prompt "/etc/group, /etc/gshadow "
- default y
- help
- Installs a /etc/group and /etc/gshadow file from a selectable source.
-
- choice
- prompt "Kind of /etc/group|gshadow"
- depends on ROOTFS_GROUP
- default ROOTFS_GENERIC_GROUP
-
- config ROOTFS_GENERIC_GROUP
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/group and /etc/gshadow file.
- See <ptxdist-install>/generic/group|gshadow
-
- config ROOTFS_USER_GROUP
- bool
- prompt "User defined"
- help
- This uses a user defined group|gshadow. PTXdist uses files
- projectroot/etc/group|gshadow in your local project
- endchoice
-
-#
-# /etc/fstab
-#
-menuconfig ROOTFS_FSTAB
- depends on ROOTFS
- bool
- prompt "/etc/fstab "
- default y
- help
- Installs a /etc/fstab file from a selectable source.
-
- choice
- prompt "Kind of /etc/fstab"
- depends on ROOTFS_FSTAB
- default ROOTFS_GENERIC_FSTAB
-
- config ROOTFS_GENERIC_FSTAB
- bool
- prompt "Use generic"
- help
- This uses a generic fstab for this project. See
- <ptxdist-install>/generic/fstab
-
- config ROOTFS_USER_FSTAB
- bool
- prompt "User defined"
- help
- This uses a user defined fstab. PTXdist uses file
- projectroot/etc/fstab in your local project
- endchoice
-
-#
-# /etc/mtab
-#
-menuconfig ROOTFS_MTAB
- depends on ROOTFS
- bool
- prompt "/etc/mtab "
- default y
- help
- Installs a /etc/mtab file from a selectable source.
-
- choice
- prompt "Kind of /etc/mtab"
- depends on ROOTFS_MTAB
- default ROOTFS_GENERIC_MTAB
-
- config ROOTFS_GENERIC_MTAB
- bool
- prompt "Use link"
- help
- Installs a link to /proc/mounts as /etc/mtab. Some tools
- like those from the e2fs-tools suite need this file to
- function properly. However, it is a good idea to keep this
- file around, since a real /etc/mtab would have to be
- read-write to be accurate, which is not a good idea in
- embedded environments with ro-mounted rootfs.
-
- config ROOTFS_USER_MTAB
- bool
- prompt "User defined"
- help
- This uses a user defined fstab. PTXdist uses file
- projectroot/etc/mtab in your local project
- endchoice
-
-#
-# /etc/hostname
-#
-menuconfig ROOTFS_HOSTNAME
- depends on ROOTFS
- bool
- prompt "/etc/hostname "
- default y
- help
- Installs a generic /etc/hostname file.
-
- choice
- prompt "Kind of /etc/hostname"
- depends on ROOTFS_HOSTNAME
- default ROOTFS_GENERIC_HOSTNAME
-
- config ROOTFS_GENERIC_HOSTNAME
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/hostname file.
- See <ptxdist-install>/generic/hostname
-
- config ROOTFS_USER_HOSTNAME
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/hostname. PTXdist uses
- file projectroot/etc/hostname in your local project
-
- endchoice
-
- config ROOTFS_ETC_HOSTNAME
- depends on ROOTFS_HOSTNAME
- depends on ROOTFS_GENERIC_HOSTNAME
- string
- default ptx
- prompt "set hostname in /etc/hostname"
-
-#
-# /etc/hosts
-#
-menuconfig ROOTFS_HOSTS
- depends on ROOTFS
- bool
- prompt "/etc/hosts "
- default y
- help
- Installs a /etc/hosts file from a selectable source.
-
- choice
- prompt "Kind of /etc/hosts"
- depends on ROOTFS_HOSTS
- default ROOTFS_GENERIC_HOSTS
-
- config ROOTFS_GENERIC_HOSTS
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/hosts file.
- See <ptxdist-install>/generic/hosts
-
- config ROOTFS_USER_HOSTS
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/hosts. PTXdist uses file
- projectroot/etc/hosts in your local project
-
- endchoice
-
-#
-# /etc/inittab
-#
-menuconfig ROOTFS_INITTAB
- depends on ROOTFS
- select BUSYBOX_GETTY if BUSYBOX
- bool
- prompt "/etc/inittab "
- default y
- help
- Installs a /etc/inittab file from a selectable source.
-
- choice
- prompt "Kind of /etc/inittab"
- depends on ROOTFS_INITTAB
- default ROOTFS_GENERIC_INITTAB
-
- config ROOTFS_GENERIC_INITTAB
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/inittab file.
- See <ptxdist-install>/generic/inittab
-
- config ROOTFS_USER_INITTAB
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/inittab. PTXdist uses file
- projectroot/etc/inittab in your local project.
- Note: The placeholders @SPEED@ and @CONSOLE@ will be
- replaced before installing with the values below.
- See <ptxdist-install>/generic/inittab how to use them.
- endchoice
-
-#
-# /etc/nsswitch
-#
-menuconfig ROOTFS_NSSWITCH
- depends on ROOTFS
- bool
- prompt "/etc/nsswitch.conf "
- default y
- help
- Installs a /etc/nsswitch.conf file from a selectable source.
-
- choice
- prompt "Kind of /etc/nsswitch.conf"
- depends on ROOTFS_NSSWITCH
- default ROOTFS_GENERIC_NSSWITCH
-
- config ROOTFS_GENERIC_NSSWITCH
- bool
- prompt "Use generic"
- help
- 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
- prompt "User defined"
- help
- This uses a user defined /etc/nsswitch.conf. PTXdist
- uses file projectroot/etc/nsswitch.conf in your local
- 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
- depends on ROOTFS
- bool
- prompt "/etc/profile "
- default y
- help
- Installs a generic /etc/profile file.
-
- choice
- prompt "Kind of /etc/profile"
- depends on ROOTFS_PROFILE
- default ROOTFS_GENERIC_PROFILE
-
- config ROOTFS_GENERIC_PROFILE
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/profile file.
- See <ptxdist-install>/generic/profile
-
- config ROOTFS_USER_PROFILE
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/profile. PTXdist
- uses file projectroot/etc/profile in your local
- project.
-
- endchoice
-
-#
-# /etc/protocols
-#
-menuconfig ROOTFS_PROTOCOLS
- depends on ROOTFS
- bool
- prompt "/etc/protocols "
- default y
- help
- Installs a /etc/protocols file from a selectable source.
-
- choice
- prompt "Kind of /etc/protocols"
- depends on ROOTFS_PROTOCOLS
- default ROOTFS_GENERIC_PROTOCOLS
-
- config ROOTFS_GENERIC_PROTOCOLS
- bool
- prompt "Use generic"
- help
- Install a generic /etc/protocols file. See
- <ptxdist-install>/generic/protocols.
- Note: This will provide only the required
- entries. If you need a full blown protocols,
- use your own.
-
- config ROOTFS_USER_PROTOCOLS
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/protocols. PTXdist
- uses file projectroot/etc/protocols in your local
- project.
-
- endchoice
-
-#
-# /etc/inetd.conf
-#
-menuconfig ROOTFS_INETD
- depends on ROOTFS
- depends on BUSYBOX_INETD || INETUTILS_INETD
- bool
- prompt "/etc/inetd.conf "
- default y
- help
- Installs a /etc/inetd.conf file from a selectable source.
-
- choice
- prompt "Kind of /etc/inetd.conf"
- depends on ROOTFS_INETD
- default ROOTFS_GENERIC_INETD
-
- config ROOTFS_GENERIC_INETD
- bool
- prompt "Use generic"
- help
- Install a generic /etc/inetd.conf file. See
- <ptxdist-install>/generic/inetd.conf. But there are
- mostly placeholders in. It depends on the selections
- you made, what placeholders expand to a valid value.
- Not selected tools expand their placeholder to empty
- space.
-
- config ROOTFS_USER_INETD
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/inetd.conf. PTXdist
- uses file projectroot/etc/inetd.conf in your local
- project. You can also use the placeholders from the
- generic part if you like.
-
- endchoice
-
-#
-# /etc/modules
-#
-config ROOTFS_ETC_MODULES
- depends on ROOTFS
- depends on ROOTFS_ETC_INITD_MODULES
- bool
- prompt "project's /etc/modules"
- help
- Installs a /etc/modules file from projectroot/etc/modules in
- your local project.
-
-#
-# /etc/udhcpc.script
-# specific to BusyBox' udhcp-client
-#
-menuconfig ROOTFS_UDHCPC
- depends on ROOTFS
- depends on BUSYBOX_APP_UDHCPC
- select BUSYBOX_IFCONFIG
- bool
- prompt "/etc/udhcpc.script "
- default y
- help
- Installs a /etc/udhcpc.script file from a selectable source.
- You have checked BusyBox' udhcpc feature. It accepts the -s file or
- --script=file option. So this /etc/udhcpc.script will be run at dhcp
- events.
- If your network supports DNS, this script will generate /etc/resolv.conf.
- To use this feature, you also need a user defined /etc/nsswitch.conf
- file that enables DNS for name resolution. The generic one shipped
- with PTXdist does not so.
-
- choice
- prompt "Kind of /etc/udhcpc.script"
- depends on ROOTFS_UDHCPC
- default ROOTFS_GENERIC_UDHCPC
-
- config ROOTFS_GENERIC_UDHCPC
- bool
- prompt "Use generic"
- help
- Install a generic /etc/udhcpc.script file. See
- <ptxdist-install>/generic/etc/udhcpc.script.
-
- config ROOTFS_USER_UDHCPC
- bool
- prompt "User defined"
- help
- This uses a user defined /etc/udhcpc.script. PTXdist
- uses file projectroot/etc/udhcpc.script in your local
- project.
-
- endchoice
-
-#
-# for BusyBox' crond only
-# /var/spool/cron/crontabs/
-# /etc/crond.conf
-#
-config ROOTFS_USER_CROND_CONF
- depends on ROOTFS
- depends on ROOTFS_ETC_INITD_CROND
- bool
- prompt "project's crond configuration"
- help
- Install /var/spool/cron/crontabs/root from projectroot/crond/root and
- /etc/cron/daily from projectroot/crond/daily
-
-#
-# for BusyBox' http only
-# install users httpd.conf
-#
-config ROOTFS_BUSYBOX_USER_HTTPD_CONF
- depends on ROOTFS
- depends on BUSYBOX_HTTPD
- bool
- prompt "project's httpd.conf configuration"
- help
- Install /etc/httpd.conf from projectroot/etc/httpd.conf
- Note: This is for the busysbox based httpd only!
-
-# ----------------------------------------------------------------------------
-
-endmenu