diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/busybox/busybox-1.19.4/busybox-udhcpc-no_deconfig.patch | 19 | ||||
-rw-r--r-- | meta/recipes-core/busybox/busybox_1.19.4.bb | 2 |
2 files changed, 14 insertions, 7 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.19.4/busybox-udhcpc-no_deconfig.patch b/meta/recipes-core/busybox/busybox-1.19.4/busybox-udhcpc-no_deconfig.patch index 481d8b363a..13004f7027 100644 --- a/meta/recipes-core/busybox/busybox-1.19.4/busybox-udhcpc-no_deconfig.patch +++ b/meta/recipes-core/busybox/busybox-1.19.4/busybox-udhcpc-no_deconfig.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 16c5fa61059f9862b2534c75dad75f7ece338208 Mon Sep 17 00:00:00 2001 | 1 | From 53626cd06a3ef05ed847daea802ef0aa9661caa7 Mon Sep 17 00:00:00 2001 |
2 | From: Anders Darander <anders@chargestorm.se> | 2 | From: Anders Darander <anders@chargestorm.se> |
3 | Date: Thu, 3 Nov 2011 08:51:31 +0100 | 3 | Date: Thu, 3 Nov 2011 08:51:31 +0100 |
4 | Subject: [PATCH] busybox-udhcpc-no_deconfig.patch | 4 | Subject: [PATCH] busybox-udhcpc-no_deconfig.patch |
@@ -23,12 +23,16 @@ Signed-off-by: Qing He <qing.he@intel.com> | |||
23 | Updated to Busybox 1.19.3 | 23 | Updated to Busybox 1.19.3 |
24 | 24 | ||
25 | Signed-off-by: Anders Darander <anders@chargestorm.se> | 25 | Signed-off-by: Anders Darander <anders@chargestorm.se> |
26 | |||
27 | Fixed options -b, -a and -P. | ||
28 | |||
29 | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> | ||
26 | --- | 30 | --- |
27 | networking/udhcp/dhcpc.c | 27 ++++++++++++++++++++------- | 31 | networking/udhcp/dhcpc.c | 29 +++++++++++++++++++++-------- |
28 | 1 files changed, 20 insertions(+), 7 deletions(-) | 32 | 1 files changed, 21 insertions(+), 8 deletions(-) |
29 | 33 | ||
30 | diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c | 34 | diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c |
31 | index 4d755e6..eb80484 100644 | 35 | index 4d755e6..a21e2c6 100644 |
32 | --- a/networking/udhcp/dhcpc.c | 36 | --- a/networking/udhcp/dhcpc.c |
33 | +++ b/networking/udhcp/dhcpc.c | 37 | +++ b/networking/udhcp/dhcpc.c |
34 | @@ -29,6 +29,9 @@ | 38 | @@ -29,6 +29,9 @@ |
@@ -41,14 +45,17 @@ index 4d755e6..eb80484 100644 | |||
41 | /* struct client_config_t client_config is in bb_common_bufsiz1 */ | 45 | /* struct client_config_t client_config is in bb_common_bufsiz1 */ |
42 | 46 | ||
43 | 47 | ||
44 | @@ -82,6 +85,7 @@ enum { | 48 | @@ -82,8 +85,9 @@ enum { |
45 | OPT_x = 1 << 18, | 49 | OPT_x = 1 << 18, |
46 | OPT_f = 1 << 19, | 50 | OPT_f = 1 << 19, |
47 | OPT_B = 1 << 20, | 51 | OPT_B = 1 << 20, |
48 | + OPT_D = 1 << 21, | 52 | + OPT_D = 1 << 21, |
49 | /* The rest has variable bit positions, need to be clever */ | 53 | /* The rest has variable bit positions, need to be clever */ |
50 | OPTBIT_B = 20, | 54 | - OPTBIT_B = 20, |
55 | + OPTBIT_D = 21, | ||
51 | USE_FOR_MMU( OPTBIT_b,) | 56 | USE_FOR_MMU( OPTBIT_b,) |
57 | IF_FEATURE_UDHCPC_ARPING(OPTBIT_a,) | ||
58 | IF_FEATURE_UDHCP_PORT( OPTBIT_P,) | ||
52 | @@ -899,7 +903,8 @@ static void perform_renew(void) | 59 | @@ -899,7 +903,8 @@ static void perform_renew(void) |
53 | state = RENEW_REQUESTED; | 60 | state = RENEW_REQUESTED; |
54 | break; | 61 | break; |
diff --git a/meta/recipes-core/busybox/busybox_1.19.4.bb b/meta/recipes-core/busybox/busybox_1.19.4.bb index 3f226699fd..ad8297ec94 100644 --- a/meta/recipes-core/busybox/busybox_1.19.4.bb +++ b/meta/recipes-core/busybox/busybox_1.19.4.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | require busybox.inc | 1 | require busybox.inc |
2 | PR = "r1" | 2 | PR = "r2" |
3 | 3 | ||
4 | SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | 4 | SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ |
5 | file://udhcpscript.patch \ | 5 | file://udhcpscript.patch \ |