From d38975811e7a14d243bdf1d3bd18c4fd310f6339 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 5 Apr 2009 21:58:30 +0300 Subject: [PATCH] pkgsel: implemented DHCP=udhcp using busybox's udhcpc --- pkg_conf/busybox.conf | 3 ++- pkg_conf/busybox/udhcpc.config | 4 ++++ pkgsel.d/Base/Networking/DHCP.udhcp.choice | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 pkg_conf/busybox/udhcpc.config diff --git a/pkg_conf/busybox.conf b/pkg_conf/busybox.conf index 8d98329..5e48fdd 100644 --- a/pkg_conf/busybox.conf +++ b/pkg_conf/busybox.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: target/mnemosyne/pkg_conf/busybox.conf -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2009 The OpenSDE Project # Copyright (C) 2002 - 2006 Alejandro Mery # # More information can be found in the files COPYING and README. @@ -40,6 +40,7 @@ embedded) esac [ "$SDECFG_TRG_MNEMOSYNE_EMBEDDED_INIT" = 1 ] && bb_mnemosyne_append init +[ "$SDECFG_TRG_MNEMOSYNE_DHCP" = "udhcp" ] && bb_mnemosyne_append udhcpc pkginstalled util-linux util-linux-ng || bb_mnemosyne_append util-linux diff --git a/pkg_conf/busybox/udhcpc.config b/pkg_conf/busybox/udhcpc.config new file mode 100644 index 0000000..1942d40 --- /dev/null +++ b/pkg_conf/busybox/udhcpc.config @@ -0,0 +1,4 @@ +X CONFIG_APP_UDHCPC + +# these are the defaults, but our buggy config system destroy them +X CONFIG_UDHCPC_DEFAULT_SCRIPT "/usr/share/udhcpc/default.script" diff --git a/pkgsel.d/Base/Networking/DHCP.udhcp.choice b/pkgsel.d/Base/Networking/DHCP.udhcp.choice index 09d35fc..c6e81bf 100644 --- a/pkgsel.d/Base/Networking/DHCP.udhcp.choice +++ b/pkgsel.d/Base/Networking/DHCP.udhcp.choice @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: target/mnemosyne/pkgsel.d/Base/Networking/DHCP.udhcp.choice -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2009 The OpenSDE Project # Copyright (C) 2002 - 2006 Alejandro Mery # # More information can be found in the files COPYING and README. @@ -13,6 +13,6 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -#Description: DHCP Client (BBs udhcpc) +#Description: uDHCP Client (BusyBox) #Dependencies: NETADMIN #Default: udhcp