diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-08-16 06:18:43 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-08-16 06:18:43 +0000 |
commit | 582584d7bcffdb6ad70221c41f0b1b0765cfe00d (patch) | |
tree | 8c44a28430d92f57fae401a84a944808d217f797 /system/easy-kernel | |
parent | 2046e295ceb72f673a006009583c937ecabb6211 (diff) | |
download | packages-582584d7bcffdb6ad70221c41f0b1b0765cfe00d.tar.gz packages-582584d7bcffdb6ad70221c41f0b1b0765cfe00d.tar.bz2 packages-582584d7bcffdb6ad70221c41f0b1b0765cfe00d.tar.xz packages-582584d7bcffdb6ad70221c41f0b1b0765cfe00d.zip |
system/easy-kernel: UAPI fix for linux-headers
Diffstat (limited to 'system/easy-kernel')
-rw-r--r-- | system/easy-kernel/APKBUILD | 4 | ||||
-rw-r--r-- | system/easy-kernel/revert-broken-uapi.patch | 18 |
2 files changed, 21 insertions, 1 deletions
diff --git a/system/easy-kernel/APKBUILD b/system/easy-kernel/APKBUILD index e355ad1a3..4a9395acd 100644 --- a/system/easy-kernel/APKBUILD +++ b/system/easy-kernel/APKBUILD @@ -22,7 +22,8 @@ source="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.tar.xz config-ppc config-x86_64 config-pmmx - config-aarch64" + config-aarch64 + " builddir="$srcdir/linux-4.14" prepare() { @@ -78,6 +79,7 @@ modules() { headers() { pkgdesc="System headers provided by the Linux kernel" cd "$builddir" + patch -Np1 -i "$srcdir"/../revert-broken-uapi.patch mkdir -p "$subpkgdir"/usr make headers_install INSTALL_HDR_PATH="$subpkgdir/usr" diff --git a/system/easy-kernel/revert-broken-uapi.patch b/system/easy-kernel/revert-broken-uapi.patch new file mode 100644 index 000000000..186ef7196 --- /dev/null +++ b/system/easy-kernel/revert-broken-uapi.patch @@ -0,0 +1,18 @@ +Revert 1fe8e0f074c77aa41aaa579345a9e675acbebfa9 +diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h +index 1046f55..777b6cd 100644 +--- a/include/uapi/linux/if_tunnel.h ++++ b/include/uapi/linux/if_tunnel.h +@@ -2,9 +2,6 @@ + #define _UAPI_IF_TUNNEL_H_ + + #include <linux/types.h> +-#include <linux/if.h> +-#include <linux/ip.h> +-#include <linux/in6.h> + #include <asm/byteorder.h> + + +-- +cgit v1.1 + |