Commit Graph

10397 Commits

Author SHA1 Message Date
K900
871fd360b7 linux_5_10: 5.10.233 -> 5.10.234 2025-02-01 22:26:18 +03:00
K900
9be3c2ab32 linux_5_15: 5.15.177 -> 5.15.178 2025-02-01 22:26:08 +03:00
K900
c51e33d672 linux_6_1: 6.1.127 -> 6.1.128 2025-02-01 22:26:00 +03:00
K900
18733fd4bd linux_6_6: 6.6.74 -> 6.6.75 2025-02-01 22:25:12 +03:00
K900
10ee99962f linux_6_12: 6.12.11 -> 6.12.12 2025-02-01 22:25:06 +03:00
K900
d36643b170 linux_6_13: 6.13 -> 6.13.1 2025-02-01 22:24:57 +03:00
Shawn8901
4bf8cafc11 linux_xanmod: remove shawn8901 as maintainer 2025-02-01 17:15:40 +01:00
K900
ead700a932 linuxManualConfig: allow broken symlinks 2025-01-31 17:51:29 +03:00
Maximilian Bosch
5645cd22d4 linux: expose make flags for modules in linuxKernel.packages.linux_X_Y
Closes #376820

The issue with providing `moduleMakeFlags` via `passthru` of the kernel
package is that when this package gets overriden[1], the `moduleMakeFlags`
list still references the kernel without the overrides.

This broke e.g. kernel modules of linux-rpi4 which can be reproduced
with

    nix-build --argstr system aarch64-linux -A linuxKernel.packages.linux_rpi4.zfs_2_3

This used to break with

    Error: modDirVersion 6.6.51 specified in the Nix expression is wrong, it should be: 6.6.51-v8

since KBUILD_OUTPUT referenced the kernel without the changes from
`overrideDerivation` that also changes the `modDirVersion`.

The new approach is to add the build flags right into
`linuxKernel.packages.linux_X_Y`: that way we don't need any hacks to
update `moduleMakeFlags` when the derivation with the passthru gets
overridden.

By using the fixpoint of the package-set, the `kernelModuleMakeFlags`
list is correctly updated. E.g. given

    with import ./. {};

    linuxKernel.packages.linux_6_6.extend (self: super: {
      kernel = super.kernel.overrideAttrs (_: {
        name = "linux-snens";
      });
    })

the `makeFlags` is correctly updated:

    $ nix-instantiate snenskek.nix -A zfs_2_3.makeFlags --eval --strict
    [ "ARCH=x86_64" "CROSS_COMPILE=" "KBUILD_OUTPUT=/nix/store/gsp68549k1aqbwxwczpgw67w5jjn4shw-linux-snens-dev/lib/modules/6.6.74/build" ]

[1] E.g. `linux-rpi4`.
2025-01-27 16:09:50 +01:00
Fabián Heredia Montiel
6e267c2538 linux/hardened/patches/6.6: v6.6.69-hardened1 -> v6.6.73-hardened1 2025-01-24 08:52:50 +01:00
Fabián Heredia Montiel
a54bf0759e linux/hardened/patches/6.12: v6.12.8-hardened1 -> v6.12.10-hardened1 2025-01-24 08:52:50 +01:00
Fabián Heredia Montiel
e7de0bb2c7 linux/hardened/patches/6.1: v6.1.123-hardened1 -> v6.1.126-hardened1 2025-01-24 08:52:50 +01:00
Fabián Heredia Montiel
f34c39dfdc linux/hardened/patches/5.4: v5.4.288-hardened1 -> v5.4.289-hardened1 2025-01-24 08:52:50 +01:00
Fabián Heredia Montiel
8a2fcf15bc linux/hardened/patches/5.15: v5.15.175-hardened1 -> v5.15.176-hardened1 2025-01-24 08:52:50 +01:00
Fabián Heredia Montiel
e9f010a47e linux/hardened/patches/5.10: v5.10.232-hardened1 -> v5.10.233-hardened1 2025-01-24 08:52:50 +01:00
K900
c342679fbc linux_5_15: 5.15.176 -> 5.15.177 2025-01-23 20:04:41 +03:00
K900
30191c9c80 linux_6_1: 6.1.126 -> 6.1.127 2025-01-23 20:04:36 +03:00
K900
de812704d6 linux_6_6: 6.6.72 -> 6.6.74 2025-01-23 20:04:33 +03:00
K900
606bf9e644 linux_6_12: 6.12.10 -> 6.12.11 2025-01-23 20:04:28 +03:00
K900
d4e529a24b linux_rpi: ignoreConfigErrors (#375165) 2025-01-23 18:12:24 +03:00
K900
aa3e94fe7c treewide: kernel.makeFlags -> kernel.moduleMakeFlags 2025-01-23 14:00:43 +03:00
K900
c805021f3a linuxManualConfig: expose moduleMakeFlags for out-of-tree module builds 2025-01-23 13:55:25 +03:00
Thiago Kenji Okada
859ee3ab6f linuxKernel.kernels.linux_zen: 6.12.2-zen1 -> 6.12.10-zen1; linuxKernel.kernels.linux_lqx: 6.12.2-lqx1 -> 6.12.10-lqx1 (#374687) 2025-01-21 18:12:42 +00:00
K900
e4d3693cd8 perf: don't apply dmesg patch on 6.13, remove 6.10 patches 2025-01-20 09:42:22 +03:00
K900
d7356a72a6 linux_6_13: init 2025-01-20 09:14:29 +03:00
Yureka
4bcf8859f2 linux_rpi: ignoreConfigErrors
Since 37789d9eaa the ignoreConfigErrors is
no longer enabled on aarch64, which fails the rpi kernel build

Change-Id: I1f9e21badf53fbfdcd3da561f7c398a353c4e9a9
2025-01-19 22:59:01 +01:00
K900
445cb7358e linux_6_1: 6.1.125 -> 6.1.126 2025-01-19 11:33:29 +03:00
Linus Karl
8859192db3 linuxKernel.kernels.linux_lqx: 6.12.2 -> 6.12.10 2025-01-18 01:34:49 +01:00
Linus Karl
43a7f60529 linuxKernel.kernels.linux_zen: 6.12.2 -> 6.12.10 2025-01-18 01:34:49 +01:00
Linus Karl
e5007e43b0 linuxKernel.kernels.linux_zen: fix update script 2025-01-18 01:33:51 +01:00
nixpkgs-ci[bot]
6df44a359d Merge master into staging-next 2025-01-17 14:32:26 +00:00
K900
8f39b4c328 linux: enable netkit (#371252) 2025-01-17 17:30:23 +03:00
K900
ae2abfc64a nixos/hyperv-guest: drop fb_hyperv in favor of drm_hyperv (#372743) 2025-01-17 17:29:47 +03:00
K900
907285b3a8 linux_6_1: 6.1.124 -> 6.1.125 2025-01-17 16:36:11 +03:00
K900
ddefb73aa9 linux_6_6: 6.6.71 -> 6.6.72 2025-01-17 16:36:07 +03:00
K900
bb84b2cc7a linux_6_12: 6.12.9 -> 6.12.10 2025-01-17 16:36:03 +03:00
K900
d14809d6c0 linux_testing: 6.13-rc6 -> 6.13-rc7 2025-01-17 16:35:57 +03:00
Vladimír Čunát
1c7f731c6d linux/common-config: fix typo (isLoongarch64) (#372726) 2025-01-14 08:06:08 +01:00
K900
c00e9ebd9d linux/common-config: disable FB_HYPERV when DRM_HYPERV is available
It is still for some reason preferred over DRM_HYPERV
despite being objectively worse.
2025-01-14 09:47:15 +03:00
github-actions[bot]
507f7fe91e Merge master into staging-next 2025-01-12 12:05:15 +00:00
K900
2248ca09a4 linux-hardened: condition LEGACY_VSYSCALL_NONE on x86 2025-01-12 11:55:35 +03:00
Shawn8901
7d8148550f linux_xanmod_latest: 6.12.8 -> 6.12.9 2025-01-11 22:08:59 +01:00
Shawn8901
126d1f7432 linux_xanmod: 6.6.69 -> 6.6.70 2025-01-11 22:08:50 +01:00
misuzu
08b8ea1361 linux/common-config: fix typo (isLoongarch64 -> isLoongArch64) 2025-01-10 20:48:08 +02:00
github-actions[bot]
f2e88eaafe Merge master into staging-next 2025-01-10 18:04:54 +00:00
K900
a889b3948e linux_6_6: 6.6.70 -> 6.6.71 2025-01-10 18:34:57 +03:00
K900
350a060f1d Merge remote-tracking branch 'origin/master' into staging-next 2025-01-09 22:02:14 +03:00
Fabián Heredia Montiel
e9847f6a8b Kernel updates for 2025-01-09 (#372451) 2025-01-09 12:44:56 -06:00
Fabián Heredia Montiel
c20214d8fa linux/hardened/patches/6.6: v6.6.67-hardened1 -> v6.6.69-hardened1 2025-01-09 12:34:01 -06:00
Fabián Heredia Montiel
021011a2f1 linux/hardened/patches/6.12: v6.12.6-hardened1 -> v6.12.8-hardened1 2025-01-09 12:34:01 -06:00