5.7.2-1 (clr 5.7.1-961)
This commit is contained in:
parent
f767a51140
commit
835c41f598
2 changed files with 18 additions and 15 deletions
14
.SRCINFO
14
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = linux-clear
|
pkgbase = linux-clear
|
||||||
pkgdesc = Clear Linux
|
pkgdesc = Clear Linux
|
||||||
pkgver = 5.6.18
|
pkgver = 5.7.2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/clearlinux-pkgs/linux
|
url = https://github.com/clearlinux-pkgs/linux
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -12,18 +12,18 @@ pkgbase = linux-clear
|
||||||
makedepends = libelf
|
makedepends = libelf
|
||||||
makedepends = xmlto
|
makedepends = xmlto
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.tar.xz
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.7.tar.xz
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.tar.sign
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.7.tar.sign
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.6.18.xz
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.7.2.xz
|
||||||
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.6.17-960
|
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.7.1-961
|
||||||
source = enable_additional_cpu_optimizations-20200527.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20200527.tar.gz
|
source = enable_additional_cpu_optimizations-20200527.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20200527.tar.gz
|
||||||
source = pci-enable-overrides-for-missing-acs-capabilities.patch
|
source = pci-enable-overrides-for-missing-acs-capabilities.patch
|
||||||
source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
|
source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
|
||||||
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
||||||
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
||||||
sha256sums = e342b04a2aa63808ea0ef1baab28fc520bd031ef8cf93d9ee4a31d4058fcb622
|
sha256sums = de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 08026b9401edd0fb5a8d2f30574ca443ab4b52e0e426a46448b01714c8cc3849
|
sha256sums = 6d1f86937ae202b25e4a9c3b9cd87c7da520af7000b4f271ac379282afa9b8d5
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 8255e6b6e0bdcd66a73d917b56cf2cccdd1c3f4b3621891cfffc203404a5b6dc
|
sha256sums = 8255e6b6e0bdcd66a73d917b56cf2cccdd1c3f4b3621891cfffc203404a5b6dc
|
||||||
sha256sums = 2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e
|
sha256sums = 2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e
|
||||||
|
|
19
PKGBUILD
19
PKGBUILD
|
@ -67,10 +67,10 @@ _use_current=
|
||||||
|
|
||||||
### IMPORTANT: Do no edit below this line unless you know what you're doing
|
### IMPORTANT: Do no edit below this line unless you know what you're doing
|
||||||
|
|
||||||
_major=5.6
|
_major=5.7
|
||||||
_minor=18
|
_minor=2
|
||||||
_srcname=linux-${_major}
|
_srcname=linux-${_major}
|
||||||
_clr=${_major}.17-960
|
_clr=${_major}.1-961
|
||||||
pkgbase=linux-clear
|
pkgbase=linux-clear
|
||||||
pkgver=${_major}.${_minor}
|
pkgver=${_major}.${_minor}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
@ -179,8 +179,8 @@ prepare() {
|
||||||
### Patch source to unlock additional gcc CPU optimizations
|
### Patch source to unlock additional gcc CPU optimizations
|
||||||
# https://github.com/graysky2/kernel_gcc_patch
|
# https://github.com/graysky2/kernel_gcc_patch
|
||||||
if [ "${_enable_gcc_more_v}" = "y" ]; then
|
if [ "${_enable_gcc_more_v}" = "y" ]; then
|
||||||
echo "Applying enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v5.5-v5.6.patch ..."
|
echo "Applying enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v10.1+_kernel_v5.7+.patch ..."
|
||||||
patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v5.5-v5.6.patch"
|
patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v5.7+.patch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Get kernel version
|
### Get kernel version
|
||||||
|
@ -261,7 +261,7 @@ _package() {
|
||||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||||
|
|
||||||
echo "Installing modules..."
|
echo "Installing modules..."
|
||||||
make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
|
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||||
|
|
||||||
# remove build and source links
|
# remove build and source links
|
||||||
rm "$modulesdir"/{source,build}
|
rm "$modulesdir"/{source,build}
|
||||||
|
@ -337,6 +337,9 @@ _package-headers() {
|
||||||
esac
|
esac
|
||||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||||
|
|
||||||
|
echo "Stripping vmlinux..."
|
||||||
|
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||||
|
|
||||||
echo "Adding symlink..."
|
echo "Adding symlink..."
|
||||||
mkdir -p "$pkgdir/usr/src"
|
mkdir -p "$pkgdir/usr/src"
|
||||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||||
|
@ -350,9 +353,9 @@ for _p in "${pkgname[@]}"; do
|
||||||
}"
|
}"
|
||||||
done
|
done
|
||||||
|
|
||||||
sha256sums=('e342b04a2aa63808ea0ef1baab28fc520bd031ef8cf93d9ee4a31d4058fcb622'
|
sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'08026b9401edd0fb5a8d2f30574ca443ab4b52e0e426a46448b01714c8cc3849'
|
'6d1f86937ae202b25e4a9c3b9cd87c7da520af7000b4f271ac379282afa9b8d5'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'8255e6b6e0bdcd66a73d917b56cf2cccdd1c3f4b3621891cfffc203404a5b6dc'
|
'8255e6b6e0bdcd66a73d917b56cf2cccdd1c3f4b3621891cfffc203404a5b6dc'
|
||||||
'2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e'
|
'2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e'
|
||||||
|
|
Loading…
Reference in a new issue