[oe] [PATCH] kexec-tools: update kexec-tools-2-klibc.patch for latest klibc/kernel

Martin Jansa martin.jansa at gmail.com
Mon May 3 18:35:13 UTC 2010


* not sure if it's changed in latest kernel I use (2.6.34-rc6) or newest
  klibc added today (1.5.18)
* just in case someone else hit this too (haven't tried if it works with
  older kernel/klibc)

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../kexec-tools/files/kexec-tools-2-klibc.patch    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/kexec-tools/files/kexec-tools-2-klibc.patch b/recipes/kexec-tools/files/kexec-tools-2-klibc.patch
index 2008829..4f8e678 100644
--- a/recipes/kexec-tools/files/kexec-tools-2-klibc.patch
+++ b/recipes/kexec-tools/files/kexec-tools-2-klibc.patch
@@ -16,12 +16,13 @@ Index: kexec-tools-2.0.1/kexec/ifdown.c
 ===================================================================
 --- kexec-tools-2.0.1.orig/kexec/ifdown.c	2009-09-24 14:15:34.025828340 +0100
 +++ kexec-tools-2.0.1/kexec/ifdown.c	2009-09-24 14:15:47.014827381 +0100
-@@ -14,7 +14,7 @@
+@@ -14,7 +14,8 @@
  #include <sys/ioctl.h>
  #include <sys/socket.h>
  #include <sys/time.h>
 -#include <sys/errno.h>
 +#include <errno.h>
++#include <linux/sockios.h>
 
  #include <net/if.h>
  #include <netinet/in.h>
-- 
1.7.0.4





More information about the Openembedded-devel mailing list