diff --git a/ChangeLog b/ChangeLog index 1d1a630..2325e1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,23 @@ # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni # Distributed under the GPL v2 + 31 Aug 2008; Andrew Gaffney arch/alpha/busy-config, + arch/ia64/busy-config, arch/mips/busy-config, arch/parisc/busy-config, + arch/parisc64/busy-config, arch/ppc/busy-config, arch/ppc64/busy-config, + arch/sparc/busy-config, arch/sparc64/busy-config, arch/um/busy-config, + arch/x86/busy-config, arch/x86_64/busy-config, defaults/busy-config, + genkernel.conf: + Enable CONFIG_ROUTE in busy-configs + + 29 Aug 2008; Andrew Gaffney arch/alpha/busy-config, + arch/ia64/busy-config, arch/mips/busy-config, arch/parisc/busy-config, + arch/parisc64/busy-config, arch/ppc/busy-config, arch/ppc64/busy-config, + arch/sparc/busy-config, arch/sparc64/busy-config, arch/um/busy-config, + arch/x86/busy-config, arch/x86_64/busy-config, defaults/busy-config, + defaults/udhcpc.scripts: + Enable CONFIG_HOSTNAME in all busy-configs + Call 'hostname' with value from DHCP + 28 Aug 2008; Andrew Gaffney arch/x86/kernel-config, arch/x86_64/kernel-config: Disabled CONFIG_DEBUG_INFO in x86{,_64} kconfigs diff --git a/arch/alpha/busy-config b/arch/alpha/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/alpha/busy-config +++ b/arch/alpha/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/ia64/busy-config b/arch/ia64/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/ia64/busy-config +++ b/arch/ia64/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/mips/busy-config b/arch/mips/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/mips/busy-config +++ b/arch/mips/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/parisc/busy-config b/arch/parisc/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/parisc/busy-config +++ b/arch/parisc/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/parisc64/busy-config b/arch/parisc64/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/parisc64/busy-config +++ b/arch/parisc64/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/ppc/busy-config b/arch/ppc/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/ppc/busy-config +++ b/arch/ppc/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/ppc64/busy-config b/arch/ppc64/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/ppc64/busy-config +++ b/arch/ppc64/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/sparc/busy-config b/arch/sparc/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/sparc/busy-config +++ b/arch/sparc/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/sparc64/busy-config b/arch/sparc64/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/sparc64/busy-config +++ b/arch/sparc64/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/um/busy-config b/arch/um/busy-config index da9ff92..456bbc4 100644 --- a/arch/um/busy-config +++ b/arch/um/busy-config @@ -273,7 +273,7 @@ CONFIG_FEATURE_CHECK_TAINTED_MODULE=y # CONFIG_ARPING is not set # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_IFCONFIG is not set # CONFIG_IFUPDOWN is not set @@ -289,7 +289,7 @@ CONFIG_FEATURE_CHECK_TAINTED_MODULE=y # CONFIG_NETSTAT is not set # CONFIG_NSLOOKUP is not set # CONFIG_PING is not set -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_TELNET is not set # CONFIG_TELNETD is not set # CONFIG_TFTP is not set diff --git a/arch/x86/busy-config b/arch/x86/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/x86/busy-config +++ b/arch/x86/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/arch/x86_64/busy-config b/arch/x86_64/busy-config index 917bde8..c3fbf3f 100644 --- a/arch/x86_64/busy-config +++ b/arch/x86_64/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/defaults/busy-config b/defaults/busy-config index 917bde8..c3fbf3f 100644 --- a/defaults/busy-config +++ b/defaults/busy-config @@ -543,7 +543,7 @@ CONFIG_FEATURE_LESS_MAXLINES= # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=y # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set # CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set @@ -604,7 +604,7 @@ CONFIG_PING=y # CONFIG_PING6 is not set # CONFIG_PSCAN is not set CONFIG_FEATURE_FANCY_PING=y -# CONFIG_ROUTE is not set +CONFIG_ROUTE=y # CONFIG_SLATTACH is not set # CONFIG_TELNET is not set # CONFIG_FEATURE_TELNET_TTYPE is not set diff --git a/defaults/udhcpc.scripts b/defaults/udhcpc.scripts index 1890f8a..aea403c 100644 --- a/defaults/udhcpc.scripts +++ b/defaults/udhcpc.scripts @@ -5,8 +5,7 @@ case ${1} in [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" [ -n "$subnet" ] && NETMASK="netmask $subnet" [ -n "$rootpath" ] && echo "$rootpath" > /rootpath - #[ -n "$router" ] && echo "$router" > /router - #[ -n "$dns" ] && echo "$dns" > /dns + [ -n "$hostname" ] && hostname ${hostname} busybox ifconfig $interface $ip $BROADCAST $NETMASK if [ -n "${router}" ] diff --git a/genkernel.conf b/genkernel.conf index fc9ab55..5b62bf1 100755 --- a/genkernel.conf +++ b/genkernel.conf @@ -135,7 +135,7 @@ DEFAULT_KERNEL_SOURCE="/usr/src/linux" # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config" # Configuration file for busybox -BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config" +BUSYBOX_CONFIG="${GK_SHARE}/arch/%%ARCH%%/busy-config" BUSYBOX_VER="VERSION_BUSYBOX" BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"