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/linux-headers | |
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/linux-headers')
-rw-r--r-- | system/linux-headers/APKBUILD | 54 | ||||
-rw-r--r-- | system/linux-headers/revert-broken-uapi.patch | 18 |
2 files changed, 0 insertions, 72 deletions
diff --git a/system/linux-headers/APKBUILD b/system/linux-headers/APKBUILD deleted file mode 100644 index 7beaa2272..000000000 --- a/system/linux-headers/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org> -pkgname=linux-headers -pkgver=4.14.48 -pkgrel=8 -pkgdesc="Linux system headers" -url="https://kernel.org" -arch="all" -options="!check !dbg !strip !tracedeps" # Headers only -license="GPL-2.0-only" -makedepends="perl" -source="https://kernel.org/pub/linux/kernel/v4.x/linux-4.14.tar.xz - https://distfiles.adelielinux.org/source/linux-4.14-mc$pkgrel.patch.xz - revert-broken-uapi.patch - " -builddir="$srcdir/linux-4.14" - -prepare() { - cd "$srcdir" - cat linux-4.14-mc$pkgrel.patch.xz | unxz -> linux-4.14-mc$pkgrel.patch - cd "$builddir" - patch -Np1 <../linux-4.14-mc$pkgrel.patch - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -package() { - local _carch=$CARCH - - case "$_carch" in - aarch64*) _carch="arm64" ;; - arm*) _carch="arm" ;; - mips*) _carch="mips" ;; - s390*) _carch="s390" ;; - ppc*) _carch="powerpc" ;; - pmmx) _carch="x86" ;; - esac - - cd "$builddir" - mkdir -p "$pkgdir/usr" - make headers_install ARCH="${_carch}" INSTALL_HDR_PATH="$pkgdir/usr" - - find "$pkgdir/usr" \( -name .install -o -name ..install.cmd \) -exec \ - rm -f {} \; - - # provided by libdrm - rm -rf "$pkgdir"/usr/include/drm -} - -sha512sums="77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8 linux-4.14.tar.xz -3fe2da1714cc83d909ba43d27c7f22ef4f2a6ecfd91ff81e0e141a0dd742ec78ad11392186871762f410615ae7c7f33dd814e0f194c7f7aed1dee2d9fca0252d linux-4.14-mc8.patch.xz -32597f2672d1ec365a936d15041a7cf219ef9353241d4a5c378244cf2fc155610443a19bbcd391c86099a0b08486c45e042ec7c90b0d04fe675c3ad0ffc36b53 revert-broken-uapi.patch" diff --git a/system/linux-headers/revert-broken-uapi.patch b/system/linux-headers/revert-broken-uapi.patch deleted file mode 100644 index 186ef7196..000000000 --- a/system/linux-headers/revert-broken-uapi.patch +++ /dev/null @@ -1,18 +0,0 @@ -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 - |