packages/linux-lava: bump to 5.17.2

This commit is contained in:
LavaDesu 2022-04-13 22:06:22 +07:00
parent 989abc1425
commit e3f65a429a
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 16 additions and 43 deletions

View file

@ -1,14 +0,0 @@
--- a/arch/parisc/install.sh 2022-01-05 21:26:01.042463247 +0700
+++ b/arch/parisc/install.sh 2022-01-05 21:26:08.467328153 +0700
@@ -37,9 +37,8 @@
# User may have a custom install script
if [ -n "${INSTALLKERNEL}" ]; then
- if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi
- if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi
- if [ -x /usr/sbin/${INSTALLKERNEL} ]; then exec /usr/sbin/${INSTALLKERNEL} "$@"; fi
+ if [ -x ~${INSTALLKERNEL} ]; then exec ~${INSTALLKERNEL} "$@"; fi
+ if [ -x ${INSTALLKERNEL} ]; then exec ${INSTALLKERNEL} "$@"; fi
fi
# Default install

View file

@ -1,9 +1,8 @@
{ fetchFromGitHub, inputs, lib }: { fetchFromGitHub, inputs, lib }:
let let
rc = "-rc5"; version = "5.17.2";
version = "5.17.0${rc}"; kernelHash = "1cdi43x4c3l4chznh57gm55szycj4wjlxl1dss1ilnfvvmhyypsm";
kernelHash = "0cy1m2ylvay4ai2ivy92cpxvck8ra4i99i65zsvfyjp3gbvy13gm"; kernelPatchHash = "0rsril9dpvxy4afc6agx8gsyhmbicww43dzmjhmxa8c4h6wdj8bx";
#kernelPatchHash = "044y7mmla0f73mky24vpvl8ba3warfr6im97s1231gjxican40v6";
tkgPatches = [ tkgPatches = [
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range" "0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
@ -22,27 +21,28 @@ let
name = "patch-${path}"; name = "patch-${path}";
patch = path; patch = path;
}; };
# kernelPatchSrc = { kernelPatchSrc = {
# name = "patch"; name = "patch";
# patch = builtins.fetchurl { patch = builtins.fetchurl {
# url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/patch-${version}.xz"; url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/patch-${version}.xz";
# sha256 = kernelPatchHash; sha256 = kernelPatchHash;
# }; };
# }; };
mm = lib.versions.majorMinor version; mm = lib.versions.majorMinor version;
in { in {
inherit version; inherit version;
src = builtins.fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${mm}${rc}.tar.gz";
sha256 = kernelHash;
};
# src = builtins.fetchurl { # src = builtins.fetchurl {
# url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/linux-${mm}.tar.xz"; # url = "https://git.kernel.org/torvalds/t/linux-${mm}${rc}.tar.gz";
# sha256 = kernelHash; # sha256 = kernelHash;
# }; # };
src = builtins.fetchurl {
url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/linux-${mm}.tar.xz";
sha256 = kernelHash;
};
kernelPatches = [ kernelPatches = [
kernelPatchSrc
(patch ./si-manual-clocking.patch) (patch ./si-manual-clocking.patch)
] ]
++ builtins.map (name: { ++ builtins.map (name: {

View file

@ -1,13 +0,0 @@
--- a/arch/parisc/install.sh 2022-01-05 21:19:53.405768910 +0700
+++ b/arch/parisc/install.sh 2022-01-05 21:22:05.079800743 +0700
@@ -37,8 +37,8 @@
# User may have a custom install script
if [ -n "${INSTALLKERNEL}" ]; then
- if [ -x ~${INSTALLKERNEL} ]; then exec ~${INSTALLKERNEL} "$@"; fi
- if [ -x ${INSTALLKERNEL} ]; then exec ${INSTALLKERNEL} "$@"; fi
+ if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi
+ if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi
fi
# Default install