generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
642
system/Config.in
Normal file
642
system/Config.in
Normal file
@ -0,0 +1,642 @@
|
||||
menu "System configuration"
|
||||
|
||||
# Note on package/skeleton: usually, it is not safe to 'select' a
|
||||
# provider of a virtual package. But below we have an exception: each
|
||||
# init system may select one of the virtual skeleton-init-* packages.
|
||||
# As only one init system may be enabled, only one skeleton-init-* may
|
||||
# be selected. So this is a safe situation.
|
||||
choice
|
||||
prompt "Root FS skeleton"
|
||||
|
||||
config BR2_ROOTFS_SKELETON_DEFAULT
|
||||
bool "default target skeleton"
|
||||
help
|
||||
Use default target skeleton for selected init system.
|
||||
|
||||
config BR2_ROOTFS_SKELETON_CUSTOM
|
||||
bool "custom target skeleton"
|
||||
select BR2_PACKAGE_SKELETON_CUSTOM
|
||||
help
|
||||
Use custom target skeleton.
|
||||
|
||||
# skeleton from br2-external trees, if any
|
||||
source "$BR2_BASE_DIR/.br2-external.in.skeleton"
|
||||
|
||||
endchoice
|
||||
|
||||
if BR2_ROOTFS_SKELETON_CUSTOM
|
||||
|
||||
config BR2_ROOTFS_SKELETON_CUSTOM_PATH
|
||||
string "custom target skeleton path"
|
||||
help
|
||||
Path to custom target skeleton.
|
||||
|
||||
endif
|
||||
|
||||
if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_TARGET_GENERIC_HOSTNAME
|
||||
string "System hostname"
|
||||
default "buildroot"
|
||||
help
|
||||
Select system hostname to be stored in /etc/hostname.
|
||||
|
||||
Leave empty to not create /etc/hostname, or to keep the
|
||||
one from a custom skeleton.
|
||||
|
||||
config BR2_TARGET_GENERIC_ISSUE
|
||||
string "System banner"
|
||||
default "Welcome to Buildroot"
|
||||
help
|
||||
Select system banner (/etc/issue) to be displayed at login.
|
||||
|
||||
Leave empty to not create /etc/issue, or to keep the
|
||||
one from a custom skeleton.
|
||||
|
||||
endif
|
||||
|
||||
choice
|
||||
bool "Passwords encoding"
|
||||
default BR2_TARGET_GENERIC_PASSWD_SHA256
|
||||
help
|
||||
Choose the password encoding scheme to use when Buildroot
|
||||
needs to encode a password (eg. the root password, below).
|
||||
|
||||
Note: this is used at build-time, and *not* at runtime.
|
||||
|
||||
config BR2_TARGET_GENERIC_PASSWD_SHA256
|
||||
bool "sha-256"
|
||||
help
|
||||
Use SHA256 to encode passwords which is stronger than MD5.
|
||||
|
||||
config BR2_TARGET_GENERIC_PASSWD_SHA512
|
||||
bool "sha-512"
|
||||
help
|
||||
Use SHA512 to encode passwords which is stronger than SHA256
|
||||
|
||||
endchoice # Passwd encoding
|
||||
|
||||
config BR2_TARGET_GENERIC_PASSWD_METHOD
|
||||
string
|
||||
default "md5" if BR2_TARGET_GENERIC_PASSWD_MD5
|
||||
default "sha-256" if BR2_TARGET_GENERIC_PASSWD_SHA256
|
||||
default "sha-512" if BR2_TARGET_GENERIC_PASSWD_SHA512
|
||||
|
||||
# See comment at the top of the file, about selecting individual
|
||||
# skeletons, which are providers of the virtual skeleton package.
|
||||
choice
|
||||
prompt "Init system"
|
||||
default BR2_INIT_BUSYBOX
|
||||
|
||||
config BR2_INIT_BUSYBOX
|
||||
bool "BusyBox"
|
||||
select BR2_PACKAGE_BUSYBOX
|
||||
select BR2_PACKAGE_INITSCRIPTS
|
||||
select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_INIT_SYSV
|
||||
bool "systemV"
|
||||
depends on BR2_USE_MMU # sysvinit
|
||||
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
|
||||
select BR2_PACKAGE_INITSCRIPTS
|
||||
select BR2_PACKAGE_SYSVINIT
|
||||
select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_INIT_OPENRC
|
||||
bool "OpenRC"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_OPENRC
|
||||
select BR2_PACKAGE_SKELETON_INIT_OPENRC if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
comment "openrc needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
# In Buildroot, we decided not to support a split-usr when systemd is
|
||||
# used as an init system. This is a design decision, not a systemd
|
||||
# issue. Thus the select is with BR2_INIT_SYSTEMD (below) rather than
|
||||
# with BR2_PACKAGE_SYSTEMD.
|
||||
config BR2_INIT_SYSTEMD
|
||||
bool "systemd"
|
||||
depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_TOOLCHAIN_HAS_SSP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
depends on BR2_HOST_GCC_AT_LEAST_5
|
||||
select BR2_ROOTFS_MERGED_USR
|
||||
select BR2_PACKAGE_SYSTEMD
|
||||
select BR2_PACKAGE_SKELETON_INIT_SYSTEMD if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
comment "systemd needs a glibc toolchain w/ SSP, headers >= 3.10, host and target gcc >= 5"
|
||||
depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_TOOLCHAIN_HAS_SSP || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_5
|
||||
|
||||
config BR2_INIT_NONE
|
||||
bool "None"
|
||||
select BR2_PACKAGE_SKELETON_INIT_NONE if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
help
|
||||
Buildroot will not install any init system. You will
|
||||
have to provide your own, either with a new package
|
||||
or with a rootfs-overlay.
|
||||
|
||||
# Init systems from br2-external trees, if any
|
||||
source "$BR2_BASE_DIR/.br2-external.in.init"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_DEFAULT_TARGET
|
||||
string "The default unit systemd starts at bootup"
|
||||
default "multi-user.target"
|
||||
depends on BR2_INIT_SYSTEMD
|
||||
help
|
||||
Specify the name of the unit configuration file to be started
|
||||
at bootup by systemd. Should end in ".target".
|
||||
ex: multi-user.target
|
||||
|
||||
https://www.freedesktop.org/software/systemd/man/systemd.special.html#default.target
|
||||
|
||||
choice
|
||||
prompt "/dev management" if !BR2_INIT_SYSTEMD
|
||||
default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
|
||||
|
||||
config BR2_ROOTFS_DEVICE_CREATION_STATIC
|
||||
bool "Static using device table"
|
||||
|
||||
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
|
||||
bool "Dynamic using devtmpfs only"
|
||||
|
||||
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
|
||||
bool "Dynamic using devtmpfs + mdev"
|
||||
select BR2_PACKAGE_BUSYBOX
|
||||
|
||||
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
|
||||
bool "Dynamic using devtmpfs + eudev"
|
||||
depends on BR2_USE_WCHAR # eudev
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU # eudev
|
||||
select BR2_PACKAGE_EUDEV
|
||||
|
||||
comment "eudev needs a toolchain w/ wchar, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||
|
||||
endchoice
|
||||
|
||||
comment "/dev management using udev (from systemd)"
|
||||
depends on BR2_INIT_SYSTEMD
|
||||
|
||||
config BR2_ROOTFS_DEVICE_TABLE
|
||||
string "Path to the permission tables"
|
||||
default "system/device_table.txt"
|
||||
help
|
||||
Specify a space-separated list of permission table locations,
|
||||
that will be passed to the makedevs utility to assign
|
||||
correct owners and permissions on various files in the
|
||||
target filesystem.
|
||||
|
||||
See package/makedevs/README for details on the usage and
|
||||
syntax of these files.
|
||||
|
||||
config BR2_ROOTFS_STATIC_DEVICE_TABLE
|
||||
string "Path to the device tables"
|
||||
default "system/device_table_dev.txt"
|
||||
depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
|
||||
help
|
||||
Specify a space-separated list of device table locations,
|
||||
that will be passed to the makedevs utility to create all
|
||||
the special device files under /dev.
|
||||
|
||||
See package/makedevs/README for details on the usage and
|
||||
syntax of these files.
|
||||
|
||||
config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES
|
||||
bool "support extended attributes in device tables"
|
||||
help
|
||||
Support extended attributes handling in device tables
|
||||
|
||||
config BR2_ROOTFS_MERGED_USR
|
||||
bool "Use symlinks to /usr for /bin, /sbin and /lib"
|
||||
help
|
||||
If you say 'n' here, then /bin, /sbin and /lib and their
|
||||
counterparts in /usr will be separate directories. This
|
||||
is the historical UNIX way. In this case, /usr can be a
|
||||
filesystem on a partition separate from / .
|
||||
|
||||
If you say 'y' here, then /bin, /sbin and /lib will be
|
||||
symlinks to their counterparts in /usr. In this case, /usr can
|
||||
not be a separate filesystem.
|
||||
|
||||
if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_TARGET_ENABLE_ROOT_LOGIN
|
||||
bool "Enable root login with password"
|
||||
default y
|
||||
select BR2_PACKAGE_HOST_MKPASSWD if BR2_TARGET_GENERIC_ROOT_PASSWD != ""
|
||||
help
|
||||
Allow root to log in with a password.
|
||||
|
||||
If not enabled, root will not be able to log in with a
|
||||
password. However, if you have an ssh server and you add an
|
||||
ssh key, you can still allow root to log in. Alternatively,
|
||||
you can use sudo to become root.
|
||||
|
||||
config BR2_TARGET_GENERIC_ROOT_PASSWD
|
||||
string "Root password"
|
||||
default ""
|
||||
depends on BR2_TARGET_ENABLE_ROOT_LOGIN
|
||||
help
|
||||
Set the initial root password.
|
||||
|
||||
If set to empty (the default), then no root password will be
|
||||
set, and root will need no password to log in.
|
||||
|
||||
If the password starts with any of $1$, $5$ or $6$, it is
|
||||
considered to be already crypt-encoded with respectively md5,
|
||||
sha256 or sha512. Any other value is taken to be a clear-text
|
||||
value, and is crypt-encoded as per the "Passwords encoding"
|
||||
scheme, above.
|
||||
|
||||
Note: "$" signs in the hashed password must be doubled. For
|
||||
example, if the hashed password is
|
||||
"$1$longsalt$v35DIIeMo4yUfI23yditq0", then you must enter it
|
||||
as "$$1$$longsalt$$v35DIIeMo4yUfI23yditq0" (this is necessary
|
||||
otherwise make would attempt to interpret the $ as a variable
|
||||
expansion).
|
||||
|
||||
WARNING! WARNING!
|
||||
The password appears as-is in the .config file, and may appear
|
||||
in the build log! Avoid using a valuable password if either
|
||||
the .config file or the build log may be distributed, or at
|
||||
the very least use a strong cryptographic hash for your
|
||||
password!
|
||||
|
||||
choice
|
||||
bool "/bin/sh"
|
||||
default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX
|
||||
help
|
||||
Select which shell will provide /bin/sh.
|
||||
|
||||
# busybox has shells that work on noMMU
|
||||
config BR2_SYSTEM_BIN_SH_BUSYBOX
|
||||
bool "busybox' default shell"
|
||||
depends on BR2_PACKAGE_BUSYBOX
|
||||
|
||||
config BR2_SYSTEM_BIN_SH_BASH
|
||||
bool "bash"
|
||||
depends on BR2_USE_MMU # bash
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_BASH
|
||||
|
||||
config BR2_SYSTEM_BIN_SH_DASH
|
||||
bool "dash"
|
||||
depends on BR2_USE_MMU # dash
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_DASH
|
||||
|
||||
config BR2_SYSTEM_BIN_SH_MKSH
|
||||
bool "mksh"
|
||||
depends on BR2_USE_MMU # mksh
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_MKSH
|
||||
|
||||
config BR2_SYSTEM_BIN_SH_ZSH
|
||||
bool "zsh"
|
||||
depends on BR2_USE_MMU # zsh
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_ZSH
|
||||
|
||||
comment "bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS"
|
||||
depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS && BR2_PACKAGE_BUSYBOX
|
||||
|
||||
config BR2_SYSTEM_BIN_SH_NONE
|
||||
bool "none"
|
||||
|
||||
endchoice # /bin/sh
|
||||
|
||||
config BR2_SYSTEM_BIN_SH
|
||||
string
|
||||
default "bash" if BR2_SYSTEM_BIN_SH_BASH
|
||||
default "dash" if BR2_SYSTEM_BIN_SH_DASH
|
||||
default "mksh" if BR2_SYSTEM_BIN_SH_MKSH
|
||||
default "zsh" if BR2_SYSTEM_BIN_SH_ZSH
|
||||
|
||||
menuconfig BR2_TARGET_GENERIC_GETTY
|
||||
bool "Run a getty (login prompt) after boot"
|
||||
default y
|
||||
|
||||
if BR2_TARGET_GENERIC_GETTY
|
||||
config BR2_TARGET_GENERIC_GETTY_PORT
|
||||
string "TTY port"
|
||||
default "console"
|
||||
help
|
||||
Specify a port to run a getty on.
|
||||
|
||||
choice
|
||||
prompt "Baudrate"
|
||||
default BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
|
||||
help
|
||||
Select a baudrate to use.
|
||||
|
||||
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
|
||||
bool "keep kernel default"
|
||||
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
|
||||
bool "9600"
|
||||
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
|
||||
bool "19200"
|
||||
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
|
||||
bool "38400"
|
||||
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
|
||||
bool "57600"
|
||||
config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
|
||||
bool "115200"
|
||||
endchoice
|
||||
|
||||
config BR2_TARGET_GENERIC_GETTY_BAUDRATE
|
||||
string
|
||||
default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
|
||||
default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
|
||||
default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
|
||||
default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
|
||||
default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
|
||||
default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
|
||||
|
||||
config BR2_TARGET_GENERIC_GETTY_TERM
|
||||
string "TERM environment variable"
|
||||
default "vt100"
|
||||
# currently observed by all but systemd
|
||||
depends on !BR2_INIT_SYSTEMD
|
||||
help
|
||||
Specify a TERM type.
|
||||
|
||||
config BR2_TARGET_GENERIC_GETTY_OPTIONS
|
||||
string "other options to pass to getty"
|
||||
default ""
|
||||
# currently observed by all but systemd
|
||||
depends on !BR2_INIT_SYSTEMD
|
||||
help
|
||||
Any other flags you want to pass to getty,
|
||||
Refer to getty --help for details.
|
||||
endif
|
||||
|
||||
config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
|
||||
bool "remount root filesystem read-write during boot"
|
||||
default y
|
||||
help
|
||||
The root filesystem is typically mounted read-only at boot.
|
||||
By default, buildroot remounts it in read-write mode early
|
||||
during the boot process.
|
||||
Say no here if you would rather like your root filesystem to
|
||||
remain read-only.
|
||||
If unsure, say Y.
|
||||
|
||||
config BR2_SYSTEM_DHCP
|
||||
string "Network interface to configure through DHCP"
|
||||
default ""
|
||||
depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
|
||||
BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC
|
||||
help
|
||||
Enter here the name of the network interface (E.G. eth0) to
|
||||
automatically configure through DHCP at bootup.
|
||||
|
||||
If left empty, no automatic DHCP requests will take place.
|
||||
|
||||
For more complicated network setups use an overlay to
|
||||
overwrite /etc/network/interfaces or add a networkd
|
||||
configuration file.
|
||||
|
||||
comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd or netifrc"
|
||||
depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
|
||||
BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC)
|
||||
|
||||
endif # BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_SYSTEM_DEFAULT_PATH
|
||||
string "Set the system's default PATH"
|
||||
default "/usr/bin:/usr/sbin" if BR2_ROOTFS_MERGED_USR
|
||||
default "/bin:/sbin:/usr/bin:/usr/sbin" if !BR2_ROOTFS_MERGED_USR
|
||||
help
|
||||
Sets the system's default PATH. It is being used in
|
||||
/etc/profile in the skeleton-init-common package and by some
|
||||
daemons.
|
||||
|
||||
The default should work in most cases.
|
||||
|
||||
config BR2_ENABLE_LOCALE_PURGE
|
||||
bool "Purge unwanted locales"
|
||||
default y
|
||||
help
|
||||
Explicitly specify what locales to install on target. If N
|
||||
then all locales supported by packages are installed.
|
||||
|
||||
config BR2_ENABLE_LOCALE_WHITELIST
|
||||
string "Locales to keep"
|
||||
default "C en_US"
|
||||
depends on BR2_ENABLE_LOCALE_PURGE
|
||||
help
|
||||
Whitespace seperated list of locales to allow on target.
|
||||
Locales not listed here will be removed from the target.
|
||||
See 'locale -a' on your host for a list of locales available
|
||||
on your build host, or have a look in /usr/share/locale in
|
||||
the target file system for available locales.
|
||||
|
||||
Notice that listing a locale here doesn't guarantee that it
|
||||
will be available on the target - That purely depends on the
|
||||
support for that locale in the selected packages.
|
||||
|
||||
config BR2_GENERATE_LOCALE
|
||||
string "Generate locale data"
|
||||
default ""
|
||||
depends on \
|
||||
(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \
|
||||
BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
Generate support for a list of locales. Locales can be
|
||||
specified with or without encoding, when no encoding is
|
||||
specified, UTF-8 is assumed. Examples of locales: en_US,
|
||||
fr_FR.UTF-8.
|
||||
|
||||
config BR2_SYSTEM_ENABLE_NLS
|
||||
bool "Enable Native Language Support (NLS)"
|
||||
depends on BR2_USE_WCHAR
|
||||
# - glibc has built-in NLS support, but anyway doesn't
|
||||
# support static linking
|
||||
# - musl and uclibc support static linking, but they don't
|
||||
# have built-in NLS support, which is provided by the
|
||||
# libintl library from gettext. The fact that it is a
|
||||
# separate library causes too many problems for static
|
||||
# linking.
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_GETTEXT if !BR2_TOOLCHAIN_HAS_FULL_GETTEXT
|
||||
help
|
||||
This option will enable Native Language Support, which will
|
||||
allow software packages to support translations.
|
||||
|
||||
comment "NLS support needs a toolchain w/ wchar, dynamic library"
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||
|
||||
config BR2_TARGET_TZ_INFO
|
||||
bool "Install timezone info"
|
||||
select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_MUSL
|
||||
select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
|
||||
help
|
||||
Say 'y' here to install timezone info.
|
||||
|
||||
if BR2_TARGET_TZ_INFO
|
||||
|
||||
config BR2_TARGET_TZ_ZONELIST
|
||||
string "timezone list"
|
||||
default "default"
|
||||
help
|
||||
Space-separated list of time zones to compile.
|
||||
|
||||
The value "default" includes all commonly used time zones.
|
||||
Note that this set consumes around 5.5M for glibc and 2.1M for
|
||||
uClibc.
|
||||
|
||||
The full list is the list of files in the time zone database
|
||||
source, not including the build and .tab files.
|
||||
|
||||
config BR2_TARGET_LOCALTIME
|
||||
string "default local time"
|
||||
default "Etc/UTC"
|
||||
help
|
||||
The time zone to install as the default local time, expressed
|
||||
as a tzdata location, such as:
|
||||
Etc/UTC (the default)
|
||||
GMT
|
||||
Europe/Paris
|
||||
America/New_York
|
||||
Pacific/Wallis
|
||||
...
|
||||
|
||||
Set to empty to not install a default time zone.
|
||||
|
||||
endif # BR2_TARGET_TZ_INFO
|
||||
|
||||
config BR2_ROOTFS_USERS_TABLES
|
||||
string "Path to the users tables"
|
||||
help
|
||||
Specify a space-separated list of users table locations,
|
||||
that will be passed to the mkusers utility to create
|
||||
users on the system, with home directory, password, etc.
|
||||
|
||||
See manual for details on the usage and syntax of these files.
|
||||
|
||||
config BR2_ROOTFS_OVERLAY
|
||||
string "Root filesystem overlay directories"
|
||||
default ""
|
||||
help
|
||||
Specify a list of directories that are copied over the target
|
||||
root filesystem after the build has finished and before it is
|
||||
packed into the selected filesystem images.
|
||||
|
||||
They are copied as-is into the rootfs, excluding files ending
|
||||
with ~ and .git, .svn and .hg directories.
|
||||
|
||||
config BR2_ROOTFS_PRE_BUILD_SCRIPT
|
||||
string "Custom scripts to run before commencing the build"
|
||||
default ""
|
||||
help
|
||||
Specify a space-separated list of scripts to be run before the
|
||||
build commences.
|
||||
|
||||
This gives users the opportunity to do board-specific
|
||||
preparations before starting the build.
|
||||
|
||||
config BR2_ROOTFS_POST_BUILD_SCRIPT
|
||||
string "Custom scripts to run before creating filesystem images"
|
||||
default ""
|
||||
help
|
||||
Specify a space-separated list of scripts to be run after the
|
||||
build has finished and before Buildroot starts packing the
|
||||
files into selected filesystem images.
|
||||
|
||||
This gives users the opportunity to do board-specific
|
||||
cleanups, add-ons and the like, so the generated files can be
|
||||
used directly without further processing.
|
||||
|
||||
These scripts are called with the target directory name as
|
||||
first argument. Make sure the exit code of those scripts are
|
||||
0, otherwise make will stop after calling them.
|
||||
|
||||
config BR2_ROOTFS_POST_FAKEROOT_SCRIPT
|
||||
string "Custom scripts to run inside the fakeroot environment"
|
||||
default ""
|
||||
help
|
||||
Specify a space-separated list of scripts to be run at the end
|
||||
of the fakeroot script right before the image(s) are actually
|
||||
generated.
|
||||
|
||||
This gives users the opportunity to do customisations of the
|
||||
content of the rootfs, which would otherwise require root
|
||||
rights.
|
||||
|
||||
These scripts are called with the target directory name as
|
||||
first argument. The build will fail on the first scripts that
|
||||
exits with a non-zero exit code.
|
||||
|
||||
Note that Buildroot already provides mechanisms to customise
|
||||
the content of the rootfs:
|
||||
|
||||
- BR2_ROOTFS_STATIC_DEVICE_TABLE
|
||||
to create arbitrary entries statically in /dev
|
||||
|
||||
- BR2_ROOTFS_DEVICE_TABLE
|
||||
to set arbitrary permissions as well as extended
|
||||
attributes (such as capabilities) on files and
|
||||
directories,
|
||||
|
||||
- BR2_ROOTFS_USERS_TABLES:
|
||||
to create arbitrary users and their home directories
|
||||
|
||||
It is highly recommended to use those mechanisms if possible,
|
||||
rather than using custom fakeroot scripts.
|
||||
|
||||
config BR2_ROOTFS_POST_IMAGE_SCRIPT
|
||||
string "Custom scripts to run after creating filesystem images"
|
||||
default ""
|
||||
help
|
||||
Specify a space-separated list of scripts to be run after
|
||||
the build has finished and after Buildroot has packed the
|
||||
files into selected filesystem images.
|
||||
|
||||
This can for example be used to call a tool building a
|
||||
firmware image from different images generated by Buildroot,
|
||||
or automatically extract the tarball root filesystem image
|
||||
into some location exported by NFS, or any other custom
|
||||
action.
|
||||
|
||||
These scripts are called with the images directory name as
|
||||
first argument. The script is executed from the main Buildroot
|
||||
source directory as the current directory.
|
||||
|
||||
config BR2_ROOTFS_POST_SCRIPT_ARGS
|
||||
string "Extra arguments passed to custom scripts"
|
||||
depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" \
|
||||
|| BR2_ROOTFS_POST_FAKEROOT_SCRIPT != "" \
|
||||
|| BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
|
||||
help
|
||||
Pass these additional arguments to each post-build or
|
||||
post-image scripts.
|
||||
|
||||
Note that all the post-build and post-image scripts will be
|
||||
passed the same set of arguments, you can not pass different
|
||||
arguments to each script.
|
||||
|
||||
Note also, as stated in their respective help text, that the
|
||||
first argument to each post-build or post-image script is the
|
||||
target directory / images directory. The arguments in this
|
||||
option will be passed *after* those.
|
||||
|
||||
endmenu
|
||||
21
system/device_table.txt
Normal file
21
system/device_table.txt
Normal file
@ -0,0 +1,21 @@
|
||||
# See package/makedevs/README for details
|
||||
#
|
||||
# This device table is used to assign proper ownership and permissions
|
||||
# on various files. It doesn't create any device file, as it is used
|
||||
# in both static device configurations (where /dev/ is static) and in
|
||||
# dynamic configurations (where devtmpfs, mdev or udev are used).
|
||||
#
|
||||
# <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
|
||||
/dev d 755 0 0 - - - - -
|
||||
/tmp d 1777 0 0 - - - - -
|
||||
/etc d 755 0 0 - - - - -
|
||||
/root d 700 0 0 - - - - -
|
||||
/var/www d 755 33 33 - - - - -
|
||||
/etc/shadow f 600 0 0 - - - - -
|
||||
/etc/passwd f 644 0 0 - - - - -
|
||||
/etc/network/if-up.d d 755 0 0 - - - - -
|
||||
/etc/network/if-pre-up.d d 755 0 0 - - - - -
|
||||
/etc/network/if-down.d d 755 0 0 - - - - -
|
||||
/etc/network/if-post-down.d d 755 0 0 - - - - -
|
||||
# uncomment this to allow starting x as non-root
|
||||
#/usr/X11R6/bin/Xfbdev f 4755 0 0 - - - - -
|
||||
133
system/device_table_dev.txt
Normal file
133
system/device_table_dev.txt
Normal file
@ -0,0 +1,133 @@
|
||||
# See package/makedevs/README for details
|
||||
#
|
||||
# This device table is used only to create device files when a static
|
||||
# device configuration is used (entries in /dev are static).
|
||||
#
|
||||
# <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
|
||||
|
||||
# Normal system devices
|
||||
/dev/mem c 640 0 0 1 1 0 0 -
|
||||
/dev/kmem c 640 0 0 1 2 0 0 -
|
||||
/dev/null c 666 0 0 1 3 0 0 -
|
||||
/dev/zero c 666 0 0 1 5 0 0 -
|
||||
/dev/random c 666 0 0 1 8 0 0 -
|
||||
/dev/urandom c 666 0 0 1 9 0 0 -
|
||||
/dev/ram b 640 0 0 1 1 0 0 -
|
||||
/dev/ram b 640 0 0 1 0 0 1 4
|
||||
/dev/loop b 640 0 0 7 0 0 1 2
|
||||
/dev/rtc c 640 0 0 10 135 - - -
|
||||
/dev/console c 666 0 0 5 1 - - -
|
||||
/dev/tty c 666 0 0 5 0 - - -
|
||||
/dev/tty c 666 0 0 4 0 0 1 8
|
||||
/dev/ttyp c 666 0 0 3 0 0 1 10
|
||||
/dev/ptyp c 666 0 0 2 0 0 1 10
|
||||
/dev/ptmx c 666 0 0 5 2 - - -
|
||||
/dev/ttyP c 666 0 0 57 0 0 1 4
|
||||
/dev/ttyS c 666 0 0 4 64 0 1 4
|
||||
/dev/fb c 640 0 5 29 0 0 1 4
|
||||
#/dev/ttySA c 666 0 0 204 5 0 1 3
|
||||
/dev/psaux c 666 0 0 10 1 0 0 -
|
||||
#/dev/ppp c 666 0 0 108 0 - - -
|
||||
/dev/ttyAM c 666 0 0 204 16 0 1 3
|
||||
/dev/ttyCPM c 666 0 0 204 46 0 1 4
|
||||
/dev/ttyAMA c 666 0 0 204 64 0 1 4
|
||||
/dev/ttyBF c 666 0 0 204 64 0 1 2
|
||||
/dev/ttySAC c 666 0 0 204 64 0 1 4
|
||||
/dev/ttySC c 666 0 0 204 8 0 1 8
|
||||
/dev/ttyPSC c 666 0 0 204 148 0 1 4
|
||||
/dev/ttyUL c 666 0 0 204 187 0 1 4
|
||||
/dev/ttymxc c 666 0 0 207 16 0 1 4
|
||||
/dev/hvc c 640 0 0 229 0 0 1 4
|
||||
|
||||
# Input stuff
|
||||
/dev/input d 755 0 0 - - - - -
|
||||
/dev/input/mice c 640 0 0 13 63 0 0 -
|
||||
/dev/input/mouse c 660 0 0 13 32 0 1 4
|
||||
/dev/input/event c 660 0 0 13 64 0 1 4
|
||||
#/dev/input/js c 660 0 0 13 0 0 1 4
|
||||
|
||||
|
||||
# MTD stuff
|
||||
/dev/mtd c 640 0 0 90 0 0 2 4
|
||||
/dev/mtdblock b 640 0 0 31 0 0 1 4
|
||||
|
||||
#Tun/tap driver
|
||||
/dev/net d 755 0 0 - - - - -
|
||||
/dev/net/tun c 660 0 0 10 200 - - -
|
||||
|
||||
# Audio stuff
|
||||
#/dev/audio c 666 0 29 14 4 - - -
|
||||
#/dev/audio1 c 666 0 29 14 20 - - -
|
||||
#/dev/dsp c 666 0 29 14 3 - - -
|
||||
#/dev/dsp1 c 666 0 29 14 19 - - -
|
||||
#/dev/sndstat c 666 0 29 14 6 - - -
|
||||
|
||||
# User-mode Linux stuff
|
||||
#/dev/ubda b 640 0 0 98 0 0 0 -
|
||||
#/dev/ubda b 640 0 0 98 1 1 1 15
|
||||
|
||||
# IDE Devices
|
||||
/dev/hda b 640 0 0 3 0 0 0 -
|
||||
/dev/hda b 640 0 0 3 1 1 1 15
|
||||
/dev/hdb b 640 0 0 3 64 0 0 -
|
||||
/dev/hdb b 640 0 0 3 65 1 1 15
|
||||
#/dev/hdc b 640 0 0 22 0 0 0 -
|
||||
#/dev/hdc b 640 0 0 22 1 1 1 15
|
||||
#/dev/hdd b 640 0 0 22 64 0 0 -
|
||||
#/dev/hdd b 640 0 0 22 65 1 1 15
|
||||
#/dev/hde b 640 0 0 33 0 0 0 -
|
||||
#/dev/hde b 640 0 0 33 1 1 1 15
|
||||
#/dev/hdf b 640 0 0 33 64 0 0 -
|
||||
#/dev/hdf b 640 0 0 33 65 1 1 15
|
||||
#/dev/hdg b 640 0 0 34 0 0 0 -
|
||||
#/dev/hdg b 640 0 0 34 1 1 1 15
|
||||
#/dev/hdh b 640 0 0 34 64 0 0 -
|
||||
#/dev/hdh b 640 0 0 34 65 1 1 15
|
||||
|
||||
# SCSI Devices
|
||||
/dev/sda b 640 0 0 8 0 0 0 -
|
||||
/dev/sda b 640 0 0 8 1 1 1 15
|
||||
/dev/sdb b 640 0 0 8 16 0 0 -
|
||||
/dev/sdb b 640 0 0 8 17 1 1 15
|
||||
#/dev/sdc b 640 0 0 8 32 0 0 -
|
||||
#/dev/sdc b 640 0 0 8 33 1 1 15
|
||||
#/dev/sdd b 640 0 0 8 48 0 0 -
|
||||
#/dev/sdd b 640 0 0 8 49 1 1 15
|
||||
#/dev/sde b 640 0 0 8 64 0 0 -
|
||||
#/dev/sde b 640 0 0 8 65 1 1 15
|
||||
#/dev/sdf b 640 0 0 8 80 0 0 -
|
||||
#/dev/sdf b 640 0 0 8 81 1 1 15
|
||||
#/dev/sdg b 640 0 0 8 96 0 0 -
|
||||
#/dev/sdg b 640 0 0 8 97 1 1 15
|
||||
#/dev/sdh b 640 0 0 8 112 0 0 -
|
||||
#/dev/sdh b 640 0 0 8 113 1 1 15
|
||||
#/dev/sg c 640 0 0 21 0 0 1 15
|
||||
#/dev/scd b 640 0 0 11 0 0 1 15
|
||||
#/dev/st c 640 0 0 9 0 0 1 8
|
||||
#/dev/nst c 640 0 0 9 128 0 1 8
|
||||
#/dev/st c 640 0 0 9 32 1 1 4
|
||||
#/dev/st c 640 0 0 9 64 1 1 4
|
||||
#/dev/st c 640 0 0 9 96 1 1 4
|
||||
|
||||
# USB block devices (ub driver)
|
||||
/dev/uba b 640 0 0 180 0 0 0 -
|
||||
/dev/uba b 640 0 0 180 1 1 1 6
|
||||
/dev/ubb b 640 0 0 180 8 0 0 -
|
||||
/dev/ubb b 640 0 0 180 65 1 1 6
|
||||
|
||||
# Floppy disk devices
|
||||
#/dev/fd b 640 0 0 2 0 0 1 2
|
||||
#/dev/fd0d360 b 640 0 0 2 4 0 0 -
|
||||
#/dev/fd1d360 b 640 0 0 2 5 0 0 -
|
||||
#/dev/fd0h1200 b 640 0 0 2 8 0 0 -
|
||||
#/dev/fd1h1200 b 640 0 0 2 9 0 0 -
|
||||
#/dev/fd0u1440 b 640 0 0 2 28 0 0 -
|
||||
#/dev/fd1u1440 b 640 0 0 2 29 0 0 -
|
||||
#/dev/fd0u2880 b 640 0 0 2 32 0 0 -
|
||||
#/dev/fd1u2880 b 640 0 0 2 33 0 0 -
|
||||
|
||||
# I2C device nodes
|
||||
/dev/i2c- c 666 0 0 89 0 0 1 4
|
||||
|
||||
# v4l device nodes
|
||||
/dev/video c 666 0 0 81 0 0 1 4
|
||||
0
system/skeleton/dev/.empty
Normal file
0
system/skeleton/dev/.empty
Normal file
1
system/skeleton/dev/fd
Symbolic link
1
system/skeleton/dev/fd
Symbolic link
@ -0,0 +1 @@
|
||||
../proc/self/fd
|
||||
1
system/skeleton/dev/stderr
Symbolic link
1
system/skeleton/dev/stderr
Symbolic link
@ -0,0 +1 @@
|
||||
../proc/self/fd/2
|
||||
1
system/skeleton/dev/stdin
Symbolic link
1
system/skeleton/dev/stdin
Symbolic link
@ -0,0 +1 @@
|
||||
../proc/self/fd/0
|
||||
1
system/skeleton/dev/stdout
Symbolic link
1
system/skeleton/dev/stdout
Symbolic link
@ -0,0 +1 @@
|
||||
../proc/self/fd/1
|
||||
26
system/skeleton/etc/group
Normal file
26
system/skeleton/etc/group
Normal file
@ -0,0 +1,26 @@
|
||||
root:x:0:
|
||||
daemon:x:1:
|
||||
bin:x:2:
|
||||
sys:x:3:
|
||||
adm:x:4:
|
||||
tty:x:5:
|
||||
disk:x:6:
|
||||
lp:x:7:
|
||||
mail:x:8:
|
||||
kmem:x:9:
|
||||
wheel:x:10:root
|
||||
cdrom:x:11:
|
||||
dialout:x:18:
|
||||
floppy:x:19:
|
||||
video:x:28:
|
||||
audio:x:29:
|
||||
tape:x:32:
|
||||
www-data:x:33:
|
||||
operator:x:37:
|
||||
utmp:x:43:
|
||||
plugdev:x:46:
|
||||
staff:x:50:
|
||||
lock:x:54:
|
||||
netdev:x:82:
|
||||
users:x:100:
|
||||
nobody:x:65534:
|
||||
1
system/skeleton/etc/hosts
Normal file
1
system/skeleton/etc/hosts
Normal file
@ -0,0 +1 @@
|
||||
127.0.0.1 localhost
|
||||
1
system/skeleton/etc/mtab
Symbolic link
1
system/skeleton/etc/mtab
Symbolic link
@ -0,0 +1 @@
|
||||
../proc/self/mounts
|
||||
9
system/skeleton/etc/passwd
Normal file
9
system/skeleton/etc/passwd
Normal file
@ -0,0 +1,9 @@
|
||||
root:x:0:0:root:/root:/bin/sh
|
||||
daemon:x:1:1:daemon:/usr/sbin:/bin/false
|
||||
bin:x:2:2:bin:/bin:/bin/false
|
||||
sys:x:3:3:sys:/dev:/bin/false
|
||||
sync:x:4:100:sync:/bin:/bin/sync
|
||||
mail:x:8:8:mail:/var/spool/mail:/bin/false
|
||||
www-data:x:33:33:www-data:/var/www:/bin/false
|
||||
operator:x:37:37:Operator:/var:/bin/false
|
||||
nobody:x:65534:65534:nobody:/home:/bin/false
|
||||
19
system/skeleton/etc/profile
Normal file
19
system/skeleton/etc/profile
Normal file
@ -0,0 +1,19 @@
|
||||
export PATH=@PATH@
|
||||
|
||||
if [ "$PS1" ]; then
|
||||
if [ "`id -u`" -eq 0 ]; then
|
||||
export PS1='# '
|
||||
else
|
||||
export PS1='$ '
|
||||
fi
|
||||
fi
|
||||
|
||||
export EDITOR='/bin/vi'
|
||||
|
||||
# Source configuration files from /etc/profile.d
|
||||
for i in /etc/profile.d/*.sh ; do
|
||||
if [ -r "$i" ]; then
|
||||
. $i
|
||||
fi
|
||||
done
|
||||
unset i
|
||||
1
system/skeleton/etc/profile.d/umask.sh
Normal file
1
system/skeleton/etc/profile.d/umask.sh
Normal file
@ -0,0 +1 @@
|
||||
umask 022
|
||||
61
system/skeleton/etc/protocols
Normal file
61
system/skeleton/etc/protocols
Normal file
@ -0,0 +1,61 @@
|
||||
# Internet (IP) protocols
|
||||
#
|
||||
# Updated from http://www.iana.org/assignments/protocol-numbers and other
|
||||
# sources.
|
||||
|
||||
ip 0 IP # internet protocol, pseudo protocol number
|
||||
hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883]
|
||||
icmp 1 ICMP # internet control message protocol
|
||||
igmp 2 IGMP # Internet Group Management
|
||||
ggp 3 GGP # gateway-gateway protocol
|
||||
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
|
||||
st 5 ST # ST datagram mode
|
||||
tcp 6 TCP # transmission control protocol
|
||||
egp 8 EGP # exterior gateway protocol
|
||||
igp 9 IGP # any private interior gateway (Cisco)
|
||||
pup 12 PUP # PARC universal packet protocol
|
||||
udp 17 UDP # user datagram protocol
|
||||
hmp 20 HMP # host monitoring protocol
|
||||
xns-idp 22 XNS-IDP # Xerox NS IDP
|
||||
rdp 27 RDP # "reliable datagram" protocol
|
||||
iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 [RFC905]
|
||||
dccp 33 DCCP # Datagram Congestion Control Prot. [RFC4340]
|
||||
xtp 36 XTP # Xpress Transfer Protocol
|
||||
ddp 37 DDP # Datagram Delivery Protocol
|
||||
idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport
|
||||
ipv6 41 IPv6 # Internet Protocol, version 6
|
||||
ipv6-route 43 IPv6-Route # Routing Header for IPv6
|
||||
ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6
|
||||
idrp 45 IDRP # Inter-Domain Routing Protocol
|
||||
rsvp 46 RSVP # Reservation Protocol
|
||||
gre 47 GRE # General Routing Encapsulation
|
||||
esp 50 IPSEC-ESP # Encap Security Payload [RFC2406]
|
||||
ah 51 IPSEC-AH # Authentication Header [RFC2402]
|
||||
skip 57 SKIP # SKIP
|
||||
ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6
|
||||
ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6
|
||||
ipv6-opts 60 IPv6-Opts # Destination Options for IPv6
|
||||
rspf 73 RSPF CPHB # Radio Shortest Path First (officially CPHB)
|
||||
vmtp 81 VMTP # Versatile Message Transport
|
||||
eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco)
|
||||
ospf 89 OSPFIGP # Open Shortest Path First IGP
|
||||
ax.25 93 AX.25 # AX.25 frames
|
||||
ipip 94 IPIP # IP-within-IP Encapsulation Protocol
|
||||
etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378]
|
||||
encap 98 ENCAP # Yet Another IP encapsulation [RFC1241]
|
||||
# 99 # any private encryption scheme
|
||||
pim 103 PIM # Protocol Independent Multicast
|
||||
ipcomp 108 IPCOMP # IP Payload Compression Protocol
|
||||
vrrp 112 VRRP # Virtual Router Redundancy Protocol [RFC5798]
|
||||
l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC2661]
|
||||
isis 124 ISIS # IS-IS over IPv4
|
||||
sctp 132 SCTP # Stream Control Transmission Protocol
|
||||
fc 133 FC # Fibre Channel
|
||||
mobility-header 135 Mobility-Header # Mobility Support for IPv6 [RFC3775]
|
||||
udplite 136 UDPLite # UDP-Lite [RFC3828]
|
||||
mpls-in-ip 137 MPLS-in-IP # MPLS-in-IP [RFC4023]
|
||||
manet 138 # MANET Protocols [RFC5498]
|
||||
hip 139 HIP # Host Identity Protocol
|
||||
shim6 140 Shim6 # Shim6 Protocol [RFC5533]
|
||||
wesp 141 WESP # Wrapped Encapsulating Security Payload
|
||||
rohc 142 ROHC # Robust Header Compression
|
||||
1
system/skeleton/etc/resolv.conf
Symbolic link
1
system/skeleton/etc/resolv.conf
Symbolic link
@ -0,0 +1 @@
|
||||
../tmp/resolv.conf
|
||||
302
system/skeleton/etc/services
Normal file
302
system/skeleton/etc/services
Normal file
@ -0,0 +1,302 @@
|
||||
# /etc/services:
|
||||
# $Id: services,v 1.1 2004/10/09 02:49:18 andersen Exp $
|
||||
#
|
||||
# Network services, Internet style
|
||||
#
|
||||
# Note that it is presently the policy of IANA to assign a single well-known
|
||||
# port number for both TCP and UDP; hence, most entries here have two entries
|
||||
# even if the protocol doesn't support UDP operations.
|
||||
# Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all ports
|
||||
# are included, only the more common ones.
|
||||
|
||||
tcpmux 1/tcp # TCP port service multiplexer
|
||||
echo 7/tcp
|
||||
echo 7/udp
|
||||
discard 9/tcp sink null
|
||||
discard 9/udp sink null
|
||||
systat 11/tcp users
|
||||
daytime 13/tcp
|
||||
daytime 13/udp
|
||||
netstat 15/tcp
|
||||
qotd 17/tcp quote
|
||||
msp 18/tcp # message send protocol
|
||||
msp 18/udp # message send protocol
|
||||
chargen 19/tcp ttytst source
|
||||
chargen 19/udp ttytst source
|
||||
ftp-data 20/tcp
|
||||
ftp 21/tcp
|
||||
fsp 21/udp fspd
|
||||
ssh 22/tcp # SSH Remote Login Protocol
|
||||
ssh 22/udp # SSH Remote Login Protocol
|
||||
telnet 23/tcp
|
||||
# 24 - private
|
||||
smtp 25/tcp mail
|
||||
# 26 - unassigned
|
||||
time 37/tcp timserver
|
||||
time 37/udp timserver
|
||||
rlp 39/udp resource # resource location
|
||||
nameserver 42/tcp name # IEN 116
|
||||
whois 43/tcp nicname
|
||||
re-mail-ck 50/tcp # Remote Mail Checking Protocol
|
||||
re-mail-ck 50/udp # Remote Mail Checking Protocol
|
||||
domain 53/tcp nameserver # name-domain server
|
||||
domain 53/udp nameserver
|
||||
mtp 57/tcp # deprecated
|
||||
bootps 67/tcp # BOOTP server
|
||||
bootps 67/udp
|
||||
bootpc 68/tcp # BOOTP client
|
||||
bootpc 68/udp
|
||||
tftp 69/udp
|
||||
gopher 70/tcp # Internet Gopher
|
||||
gopher 70/udp
|
||||
rje 77/tcp netrjs
|
||||
finger 79/tcp
|
||||
www 80/tcp http # WorldWideWeb HTTP
|
||||
www 80/udp # HyperText Transfer Protocol
|
||||
link 87/tcp ttylink
|
||||
kerberos 88/tcp kerberos5 krb5 # Kerberos v5
|
||||
kerberos 88/udp kerberos5 krb5 # Kerberos v5
|
||||
supdup 95/tcp
|
||||
# 100 - reserved
|
||||
hostnames 101/tcp hostname # usually from sri-nic
|
||||
iso-tsap 102/tcp tsap # part of ISODE.
|
||||
csnet-ns 105/tcp cso-ns # also used by CSO name server
|
||||
csnet-ns 105/udp cso-ns
|
||||
# unfortunately the poppassd (Eudora) uses a port which has already
|
||||
# been assigned to a different service. We list the poppassd as an
|
||||
# alias here. This should work for programs asking for this service.
|
||||
# (due to a bug in inetd the 3com-tsmux line is disabled)
|
||||
#3com-tsmux 106/tcp poppassd
|
||||
#3com-tsmux 106/udp poppassd
|
||||
rtelnet 107/tcp # Remote Telnet
|
||||
rtelnet 107/udp
|
||||
pop-2 109/tcp postoffice # POP version 2
|
||||
pop-2 109/udp
|
||||
pop-3 110/tcp # POP version 3
|
||||
pop-3 110/udp
|
||||
sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
|
||||
sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
|
||||
auth 113/tcp authentication tap ident
|
||||
sftp 115/tcp
|
||||
uucp-path 117/tcp
|
||||
nntp 119/tcp readnews untp # USENET News Transfer Protocol
|
||||
ntp 123/tcp
|
||||
ntp 123/udp # Network Time Protocol
|
||||
netbios-ns 137/tcp # NETBIOS Name Service
|
||||
netbios-ns 137/udp
|
||||
netbios-dgm 138/tcp # NETBIOS Datagram Service
|
||||
netbios-dgm 138/udp
|
||||
netbios-ssn 139/tcp # NETBIOS session service
|
||||
netbios-ssn 139/udp
|
||||
imap2 143/tcp # Interim Mail Access Proto v2
|
||||
imap2 143/udp
|
||||
snmp 161/udp # Simple Net Mgmt Proto
|
||||
snmp-trap 162/udp snmptrap # Traps for SNMP
|
||||
cmip-man 163/tcp # ISO mgmt over IP (CMOT)
|
||||
cmip-man 163/udp
|
||||
cmip-agent 164/tcp
|
||||
cmip-agent 164/udp
|
||||
xdmcp 177/tcp # X Display Mgr. Control Proto
|
||||
xdmcp 177/udp
|
||||
nextstep 178/tcp NeXTStep NextStep # NeXTStep window
|
||||
nextstep 178/udp NeXTStep NextStep # server
|
||||
bgp 179/tcp # Border Gateway Proto.
|
||||
bgp 179/udp
|
||||
prospero 191/tcp # Cliff Neuman's Prospero
|
||||
prospero 191/udp
|
||||
irc 194/tcp # Internet Relay Chat
|
||||
irc 194/udp
|
||||
smux 199/tcp # SNMP Unix Multiplexer
|
||||
smux 199/udp
|
||||
at-rtmp 201/tcp # AppleTalk routing
|
||||
at-rtmp 201/udp
|
||||
at-nbp 202/tcp # AppleTalk name binding
|
||||
at-nbp 202/udp
|
||||
at-echo 204/tcp # AppleTalk echo
|
||||
at-echo 204/udp
|
||||
at-zis 206/tcp # AppleTalk zone information
|
||||
at-zis 206/udp
|
||||
qmtp 209/tcp # The Quick Mail Transfer Protocol
|
||||
qmtp 209/udp # The Quick Mail Transfer Protocol
|
||||
z3950 210/tcp wais # NISO Z39.50 database
|
||||
z3950 210/udp wais
|
||||
ipx 213/tcp # IPX
|
||||
ipx 213/udp
|
||||
imap3 220/tcp # Interactive Mail Access
|
||||
imap3 220/udp # Protocol v3
|
||||
ulistserv 372/tcp # UNIX Listserv
|
||||
ulistserv 372/udp
|
||||
https 443/tcp # MCom
|
||||
https 443/udp # MCom
|
||||
snpp 444/tcp # Simple Network Paging Protocol
|
||||
snpp 444/udp # Simple Network Paging Protocol
|
||||
saft 487/tcp # Simple Asynchronous File Transfer
|
||||
saft 487/udp # Simple Asynchronous File Transfer
|
||||
npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
|
||||
npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
|
||||
npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
|
||||
npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
|
||||
hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
|
||||
hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
|
||||
#
|
||||
# UNIX specific services
|
||||
#
|
||||
exec 512/tcp
|
||||
biff 512/udp comsat
|
||||
login 513/tcp
|
||||
who 513/udp whod
|
||||
shell 514/tcp cmd # no passwords used
|
||||
syslog 514/udp
|
||||
printer 515/tcp spooler # line printer spooler
|
||||
talk 517/udp
|
||||
ntalk 518/udp
|
||||
route 520/udp router routed # RIP
|
||||
timed 525/udp timeserver
|
||||
tempo 526/tcp newdate
|
||||
courier 530/tcp rpc
|
||||
conference 531/tcp chat
|
||||
netnews 532/tcp readnews
|
||||
netwall 533/udp # -for emergency broadcasts
|
||||
uucp 540/tcp uucpd # uucp daemon
|
||||
afpovertcp 548/tcp # AFP over TCP
|
||||
afpovertcp 548/udp # AFP over TCP
|
||||
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
|
||||
klogin 543/tcp # Kerberized `rlogin' (v5)
|
||||
kshell 544/tcp krcmd # Kerberized `rsh' (v5)
|
||||
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
|
||||
#
|
||||
webster 765/tcp # Network dictionary
|
||||
webster 765/udp
|
||||
#
|
||||
# From ``Assigned Numbers'':
|
||||
#
|
||||
#> The Registered Ports are not controlled by the IANA and on most systems
|
||||
#> can be used by ordinary user processes or programs executed by ordinary
|
||||
#> users.
|
||||
#
|
||||
#> Ports are used in the TCP [45,106] to name the ends of logical
|
||||
#> connections which carry long term conversations. For the purpose of
|
||||
#> providing services to unknown callers, a service contact port is
|
||||
#> defined. This list specifies the port used by the server process as its
|
||||
#> contact port. While the IANA can not control uses of these ports it
|
||||
#> does register or list uses of these ports as a convienence to the
|
||||
#> community.
|
||||
#
|
||||
nfsdstatus 1110/tcp
|
||||
nfsd-keepalive 1110/udp
|
||||
|
||||
ingreslock 1524/tcp
|
||||
ingreslock 1524/udp
|
||||
prospero-np 1525/tcp # Prospero non-privileged
|
||||
prospero-np 1525/udp
|
||||
datametrics 1645/tcp old-radius # datametrics / old radius entry
|
||||
datametrics 1645/udp old-radius # datametrics / old radius entry
|
||||
sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entry
|
||||
sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entry
|
||||
radius 1812/tcp # Radius
|
||||
radius 1812/udp # Radius
|
||||
radacct 1813/tcp # Radius Accounting
|
||||
radacct 1813/udp # Radius Accounting
|
||||
nfsd 2049/tcp nfs
|
||||
nfsd 2049/udp nfs
|
||||
cvspserver 2401/tcp # CVS client/server operations
|
||||
cvspserver 2401/udp # CVS client/server operations
|
||||
mysql 3306/tcp # MySQL
|
||||
mysql 3306/udp # MySQL
|
||||
rfe 5002/tcp # Radio Free Ethernet
|
||||
rfe 5002/udp # Actually uses UDP only
|
||||
cfengine 5308/tcp # CFengine
|
||||
cfengine 5308/udp # CFengine
|
||||
bbs 7000/tcp # BBS service
|
||||
#
|
||||
#
|
||||
# Kerberos (Project Athena/MIT) services
|
||||
# Note that these are for Kerberos v4, and are unofficial. Sites running
|
||||
# v4 should uncomment these and comment out the v5 entries above.
|
||||
#
|
||||
kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp
|
||||
kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
|
||||
kerberos_master 751/udp # Kerberos authentication
|
||||
kerberos_master 751/tcp # Kerberos authentication
|
||||
passwd_server 752/udp # Kerberos passwd server
|
||||
krb_prop 754/tcp # Kerberos slave propagation
|
||||
krbupdate 760/tcp kreg # Kerberos registration
|
||||
kpasswd 761/tcp kpwd # Kerberos "passwd"
|
||||
kpop 1109/tcp # Pop with Kerberos
|
||||
knetd 2053/tcp # Kerberos de-multiplexor
|
||||
zephyr-srv 2102/udp # Zephyr server
|
||||
zephyr-clt 2103/udp # Zephyr serv-hm connection
|
||||
zephyr-hm 2104/udp # Zephyr hostmanager
|
||||
eklogin 2105/tcp # Kerberos encrypted rlogin
|
||||
#
|
||||
# Unofficial but necessary (for NetBSD) services
|
||||
#
|
||||
supfilesrv 871/tcp # SUP server
|
||||
supfiledbg 1127/tcp # SUP debugging
|
||||
#
|
||||
# Datagram Delivery Protocol services
|
||||
#
|
||||
rtmp 1/ddp # Routing Table Maintenance Protocol
|
||||
nbp 2/ddp # Name Binding Protocol
|
||||
echo 4/ddp # AppleTalk Echo Protocol
|
||||
zip 6/ddp # Zone Information Protocol
|
||||
#
|
||||
# Services added for the Debian GNU/Linux distribution
|
||||
poppassd 106/tcp # Eudora
|
||||
poppassd 106/udp # Eudora
|
||||
mailq 174/tcp # Mailer transport queue for Zmailer
|
||||
mailq 174/tcp # Mailer transport queue for Zmailer
|
||||
omirr 808/tcp omirrd # online mirror
|
||||
omirr 808/udp omirrd # online mirror
|
||||
rmtcfg 1236/tcp # Gracilis Packeten remote config server
|
||||
xtel 1313/tcp # french minitel
|
||||
coda_opcons 1355/udp # Coda opcons (Coda fs)
|
||||
coda_venus 1363/udp # Coda venus (Coda fs)
|
||||
coda_auth 1357/udp # Coda auth (Coda fs)
|
||||
coda_udpsrv 1359/udp # Coda udpsrv (Coda fs)
|
||||
coda_filesrv 1361/udp # Coda filesrv (Coda fs)
|
||||
codacon 1423/tcp venus.cmu # Coda Console (Coda fs)
|
||||
coda_aux1 1431/tcp # coda auxiliary service (Coda fs)
|
||||
coda_aux1 1431/udp # coda auxiliary service (Coda fs)
|
||||
coda_aux2 1433/tcp # coda auxiliary service (Coda fs)
|
||||
coda_aux2 1433/udp # coda auxiliary service (Coda fs)
|
||||
coda_aux3 1435/tcp # coda auxiliary service (Coda fs)
|
||||
coda_aux3 1435/udp # coda auxiliary service (Coda fs)
|
||||
cfinger 2003/tcp # GNU Finger
|
||||
afbackup 2988/tcp # Afbackup system
|
||||
afbackup 2988/udp # Afbackup system
|
||||
icp 3130/tcp # Internet Cache Protocol (Squid)
|
||||
icp 3130/udp # Internet Cache Protocol (Squid)
|
||||
postgres 5432/tcp # POSTGRES
|
||||
postgres 5432/udp # POSTGRES
|
||||
fax 4557/tcp # FAX transmission service (old)
|
||||
hylafax 4559/tcp # HylaFAX client-server protocol (new)
|
||||
noclog 5354/tcp # noclogd with TCP (nocol)
|
||||
noclog 5354/udp # noclogd with UDP (nocol)
|
||||
hostmon 5355/tcp # hostmon uses TCP (nocol)
|
||||
hostmon 5355/udp # hostmon uses TCP (nocol)
|
||||
ircd 6667/tcp # Internet Relay Chat
|
||||
ircd 6667/udp # Internet Relay Chat
|
||||
webcache 8080/tcp # WWW caching service
|
||||
webcache 8080/udp # WWW caching service
|
||||
tproxy 8081/tcp # Transparent Proxy
|
||||
tproxy 8081/udp # Transparent Proxy
|
||||
mandelspawn 9359/udp mandelbrot # network mandelbrot
|
||||
amanda 10080/udp # amanda backup services
|
||||
amandaidx 10082/tcp # amanda backup services
|
||||
amidxtape 10083/tcp # amanda backup services
|
||||
isdnlog 20011/tcp # isdn logging system
|
||||
isdnlog 20011/udp # isdn logging system
|
||||
vboxd 20012/tcp # voice box system
|
||||
vboxd 20012/udp # voice box system
|
||||
binkp 24554/tcp # Binkley
|
||||
binkp 24554/udp # Binkley
|
||||
asp 27374/tcp # Address Search Protocol
|
||||
asp 27374/udp # Address Search Protocol
|
||||
tfido 60177/tcp # Ifmail
|
||||
tfido 60177/udp # Ifmail
|
||||
fido 60179/tcp # Ifmail
|
||||
fido 60179/udp # Ifmail
|
||||
|
||||
# Local services
|
||||
|
||||
9
system/skeleton/etc/shadow
Normal file
9
system/skeleton/etc/shadow
Normal file
@ -0,0 +1,9 @@
|
||||
root::::::::
|
||||
daemon:*:::::::
|
||||
bin:*:::::::
|
||||
sys:*:::::::
|
||||
sync:*:::::::
|
||||
mail:*:::::::
|
||||
www-data:*:::::::
|
||||
operator:*:::::::
|
||||
nobody:*:::::::
|
||||
0
system/skeleton/media/.empty
Normal file
0
system/skeleton/media/.empty
Normal file
0
system/skeleton/mnt/.empty
Normal file
0
system/skeleton/mnt/.empty
Normal file
0
system/skeleton/opt/.empty
Normal file
0
system/skeleton/opt/.empty
Normal file
0
system/skeleton/proc/.empty
Normal file
0
system/skeleton/proc/.empty
Normal file
0
system/skeleton/root/.empty
Normal file
0
system/skeleton/root/.empty
Normal file
0
system/skeleton/run/lock/.empty
Normal file
0
system/skeleton/run/lock/.empty
Normal file
0
system/skeleton/sys/.empty
Normal file
0
system/skeleton/sys/.empty
Normal file
0
system/skeleton/tmp/.empty
Normal file
0
system/skeleton/tmp/.empty
Normal file
0
system/skeleton/usr/bin/.empty
Normal file
0
system/skeleton/usr/bin/.empty
Normal file
0
system/skeleton/usr/lib/.empty
Normal file
0
system/skeleton/usr/lib/.empty
Normal file
0
system/skeleton/usr/sbin/.empty
Normal file
0
system/skeleton/usr/sbin/.empty
Normal file
101
system/system.mk
Normal file
101
system/system.mk
Normal file
@ -0,0 +1,101 @@
|
||||
################################################################################
|
||||
#
|
||||
# system-related variables and macros
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# This file exists to define variables and macros that pertain to the system
|
||||
# settings, like rsyncing a directory for skeletons, or the /lib vs. /usr/lib
|
||||
# symlink handling.
|
||||
#
|
||||
# Some variables may be used as conditions in Makefile code, so they must be
|
||||
# defined properly before they are used; this file is included early, before
|
||||
# any package is.
|
||||
|
||||
# - SYSTEM_USR_SYMLINKS_OR_DIRS
|
||||
# create /lib, /bin and /sbin, either as directories or as symlinks to
|
||||
# their /usr conterparts
|
||||
#
|
||||
# - SYSTEM_RSYNC
|
||||
# rsync $(1) to $(2), with proper exclusions and rights
|
||||
#
|
||||
# - SYSTEM_LIB_SYMLINK
|
||||
# create the appropriate /lib{32,64} symlinks
|
||||
#
|
||||
# - SYSTEM_GETTY_PORT
|
||||
# - SYSTEM_GETTY_BAUDRATE
|
||||
# - SYSTEM_GETTY_TERM
|
||||
# - SYSTEM_GETTY_OPTIONS
|
||||
# the un-quoted getty setting
|
||||
#
|
||||
# - SYSTEM_REMOUNT_ROOT_INITTAB
|
||||
# set inittab to remount root read-write or read-only
|
||||
#
|
||||
|
||||
# This function handles the merged or non-merged /usr cases
|
||||
ifeq ($(BR2_ROOTFS_MERGED_USR),y)
|
||||
define SYSTEM_USR_SYMLINKS_OR_DIRS
|
||||
ln -snf usr/bin $(1)/bin
|
||||
ln -snf usr/sbin $(1)/sbin
|
||||
ln -snf usr/lib $(1)/lib
|
||||
endef
|
||||
else
|
||||
define SYSTEM_USR_SYMLINKS_OR_DIRS
|
||||
$(INSTALL) -d -m 0755 $(1)/bin
|
||||
$(INSTALL) -d -m 0755 $(1)/sbin
|
||||
$(INSTALL) -d -m 0755 $(1)/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
# This function rsyncs the skeleton directory in $(1) to the destination
|
||||
# in $(2), which should be either $(TARTGET_DIR) or $(STAGING_DIR)
|
||||
define SYSTEM_RSYNC
|
||||
rsync -a --ignore-times $(RSYNC_VCS_EXCLUSIONS) \
|
||||
--chmod=u=rwX,go=rX --exclude .empty --exclude '*~' \
|
||||
$(1)/ $(2)/
|
||||
endef
|
||||
|
||||
# Make a symlink lib32->lib or lib64->lib as appropriate.
|
||||
# MIPS64/n32 requires lib32 even though it's a 64-bit arch. However, since gcc
|
||||
# 5.1.0 internal compiler paths in sysroot are relative to lib64, so we must
|
||||
# create both.
|
||||
# $(1): base dir (either staging or target)
|
||||
ifeq ($(BR2_MIPS_NABI32),y)
|
||||
define SYSTEM_LIB_SYMLINK
|
||||
ln -snf lib $(1)/lib64
|
||||
ln -snf lib $(1)/usr/lib64
|
||||
ln -snf lib $(1)/lib32
|
||||
ln -snf lib $(1)/usr/lib32
|
||||
endef
|
||||
else ifeq ($(BR2_ARCH_IS_64),y)
|
||||
define SYSTEM_LIB_SYMLINK
|
||||
ln -snf lib $(1)/lib64
|
||||
ln -snf lib $(1)/usr/lib64
|
||||
endef
|
||||
else
|
||||
define SYSTEM_LIB_SYMLINK
|
||||
ln -snf lib $(1)/lib32
|
||||
ln -snf lib $(1)/usr/lib32
|
||||
endef
|
||||
endif
|
||||
|
||||
SYSTEM_GETTY_PORT = $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT))
|
||||
SYSTEM_GETTY_BAUDRATE = $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_BAUDRATE))
|
||||
SYSTEM_GETTY_TERM = $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_TERM))
|
||||
SYSTEM_GETTY_OPTIONS = $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_OPTIONS))
|
||||
|
||||
ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y)
|
||||
# Find commented line, if any, and remove leading '#'s
|
||||
define SYSTEM_REMOUNT_ROOT_INITTAB
|
||||
$(SED) '/^#.*-o remount,rw \/$$/s~^#\+~~' $(TARGET_DIR)/etc/inittab
|
||||
endef
|
||||
else
|
||||
# Find uncommented line, if any, and add a leading '#'
|
||||
define SYSTEM_REMOUNT_ROOT_INITTAB
|
||||
$(SED) '/^[^#].*-o remount,rw \/$$/s~^~#~' $(TARGET_DIR)/etc/inittab
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR_BUILDING)$(BR2_SYSTEM_DEFAULT_PATH),y"")
|
||||
$(error BR2_SYSTEM_DEFAULT_PATH can't be empty)
|
||||
endif
|
||||
Reference in New Issue
Block a user