diff options
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch')
-rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch index ad2126698..f4d0d5d94 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b15e9610b4ab52c381e712241d50dea96d50d873 Mon Sep 17 00:00:00 2001 | 1 | From 04eec97b390621f2b3794b0d774b77429eb88cfd Mon Sep 17 00:00:00 2001 |
2 | From: Andrea Adami <andrea.adami@gmail.com> | 2 | From: Andrea Adami <andrea.adami@gmail.com> |
3 | Date: Wed, 2 May 2018 23:14:19 +0200 | 3 | Date: Wed, 2 May 2018 23:14:19 +0200 |
4 | Subject: [PATCH 14/14] add if_nameindex from musl | 4 | Subject: [PATCH] add if_nameindex from musl |
5 | 5 | ||
6 | Taken from musl, minimal changes. | 6 | Taken from musl, minimal changes. |
7 | klibc lacks struct and func | 7 | klibc lacks struct and func |
@@ -20,10 +20,11 @@ to fix : | |||
20 | #define __bitwise __bitwise__ | 20 | #define __bitwise __bitwise__ |
21 | 21 | ||
22 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | 22 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> |
23 | |||
23 | --- | 24 | --- |
24 | kexec/Makefile | 2 +- | 25 | kexec/Makefile | 2 +- |
25 | kexec/if_nameindex.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ | 26 | kexec/if_nameindex.c | 64 ++++++++++++++++++++++++++++++++++++++++++++ |
26 | kexec/if_nameindex.h | 15 ++++++++++++ | 27 | kexec/if_nameindex.h | 15 +++++++++++ |
27 | kexec/ifdown.c | 3 +++ | 28 | kexec/ifdown.c | 3 +++ |
28 | 4 files changed, 83 insertions(+), 1 deletion(-) | 29 | 4 files changed, 83 insertions(+), 1 deletion(-) |
29 | create mode 100644 kexec/if_nameindex.c | 30 | create mode 100644 kexec/if_nameindex.c |
@@ -114,7 +115,7 @@ index 0000000..e586e41 | |||
114 | +} | 115 | +} |
115 | diff --git a/kexec/if_nameindex.h b/kexec/if_nameindex.h | 116 | diff --git a/kexec/if_nameindex.h b/kexec/if_nameindex.h |
116 | new file mode 100644 | 117 | new file mode 100644 |
117 | index 0000000..1725fbd | 118 | index 0000000..cf1c061 |
118 | --- /dev/null | 119 | --- /dev/null |
119 | +++ b/kexec/if_nameindex.h | 120 | +++ b/kexec/if_nameindex.h |
120 | @@ -0,0 +1,15 @@ | 121 | @@ -0,0 +1,15 @@ |
@@ -147,6 +148,3 @@ index 82c6141..cc3ca9f 100644 | |||
147 | 148 | ||
148 | /* | 149 | /* |
149 | * First, we find all shaper devices and down them. Then we | 150 | * First, we find all shaper devices and down them. Then we |
150 | -- | ||
151 | 2.7.4 | ||
152 | |||