linux: 5.9-rc8 -> 5.10-rc1
This commit is contained in:
parent
0ead6f8cfd
commit
3088dcb148
2 changed files with 6 additions and 6 deletions
|
@ -3,15 +3,15 @@
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.9-rc8";
|
version = "5.10-rc1";
|
||||||
extraMeta.branch = "5.9";
|
extraMeta.branch = "5.10";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will always add .0
|
# modDirVersion needs to be x.y.z, will always add .0
|
||||||
modDirVersion = if (modDirVersionArg == null) then builtins.replaceStrings ["-"] [".0-"] version else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then builtins.replaceStrings ["-"] [".0-"] version else modDirVersionArg;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
||||||
sha256 = "0yhjanmrg0cjmdn7yq8nx0h7q3aq9cimqhn9k4nis1a976p8wpgw";
|
sha256 = "1s4ywf93xrlkjjq3c4142qhmsvx3kl0xwkbc09ss6gln8lwqnga8";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Should the testing kernels ever be built on Hydra?
|
# Should the testing kernels ever be built on Hydra?
|
||||||
|
|
|
@ -233,10 +233,10 @@ let
|
||||||
rm -fR drivers
|
rm -fR drivers
|
||||||
|
|
||||||
# Keep all headers
|
# Keep all headers
|
||||||
find . -type f -name '*.h' -print0 | xargs -0 chmod u-w
|
find . -type f -name '*.h' -print0 | xargs -0 -r chmod u-w
|
||||||
|
|
||||||
# Keep linker scripts (they are required for out-of-tree modules on aarch64)
|
# Keep linker scripts (they are required for out-of-tree modules on aarch64)
|
||||||
find . -type f -name '*.lds' -print0 | xargs -0 chmod u-w
|
find . -type f -name '*.lds' -print0 | xargs -0 -r chmod u-w
|
||||||
|
|
||||||
# Keep root and arch-specific Makefiles
|
# Keep root and arch-specific Makefiles
|
||||||
chmod u-w Makefile
|
chmod u-w Makefile
|
||||||
|
@ -246,7 +246,7 @@ let
|
||||||
chmod u-w -R scripts
|
chmod u-w -R scripts
|
||||||
|
|
||||||
# Delete everything not kept
|
# Delete everything not kept
|
||||||
find . -type f -perm -u=w -print0 | xargs -0 rm
|
find . -type f -perm -u=w -print0 | xargs -0 -r rm
|
||||||
|
|
||||||
# Delete empty directories
|
# Delete empty directories
|
||||||
find -empty -type d -delete
|
find -empty -type d -delete
|
||||||
|
|
Loading…
Reference in a new issue