Commit Graph

4382 Commits

Author SHA1 Message Date
John Ericson 8929989614 lib: Clean up how linux and gcc config is specified
The `platform` field is pointless nesting: it's just stuff that happens
to be defined together, and that should be an implementation detail.

This instead makes `linux-kernel` and `gcc` top level fields in platform
configs. They join `rustc` there [all are optional], which was put there
and not in `platform` in anticipation of a change like this.

`linux-kernel.arch` in particular also becomes `linuxArch`, to match the
other `*Arch`es.

The next step after is this to combine the *specific* machines from
`lib.systems.platforms` with `lib.systems.examples`, keeping just the
"multiplatform" ones for defaulting.
2021-01-21 22:44:09 -05:00
Tim Steinbach 50a5d4c773
linux/hardened/patches/5.4: 5.4.90.a -> 5.4.91.a 2021-01-20 12:36:58 -05:00
Tim Steinbach 3df0e82d66
linux/hardened/patches/5.10: 5.10.8.a -> 5.10.9.a 2021-01-20 12:36:57 -05:00
Tim Steinbach 66c9151443
linux/hardened/patches/4.19: 4.19.168.a -> 4.19.169.a 2021-01-20 12:36:57 -05:00
Tim Steinbach c74614795b
linux-rt_5_10: 5.10.4-rt22 -> 5.10.8-rt24 2021-01-20 12:36:57 -05:00
Tim Steinbach 3141316d4d
linux: 5.4.90 -> 5.4.91 2021-01-20 12:36:56 -05:00
Tim Steinbach 463f322988
linux: 5.10.8 -> 5.10.9 2021-01-20 12:36:56 -05:00
Tim Steinbach 1118a48175
linux: 4.19.168 -> 4.19.169 2021-01-20 12:36:56 -05:00
Atemu ea051b0417 zen-kernels: 5.10.6 -> 5.10.9 2021-01-20 12:01:57 +01:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Tim Steinbach 5d55162e2a
linux/hardened/patches/5.4: 5.4.89.a -> 5.4.90.a 2021-01-18 12:46:32 -05:00
Tim Steinbach c08ed1556e
linux/hardened/patches/5.10: 5.10.7.a -> 5.10.8.a 2021-01-18 12:46:32 -05:00
Tim Steinbach 25d44d9c82
linux/hardened/patches/4.19: 4.19.167.a -> 4.19.168.a 2021-01-18 12:46:32 -05:00
Tim Steinbach a108d17cc1
linux/hardened/patches/4.14: 4.14.215.a -> 4.14.216.a 2021-01-18 12:46:31 -05:00
Tim Steinbach 20d6f20083
linux: 5.4.89 -> 5.4.90 2021-01-18 12:46:31 -05:00
Tim Steinbach 370ad71e2a
linux: 5.10.7 -> 5.10.8 2021-01-18 12:46:31 -05:00
Tim Steinbach 44b24624d5
linux: 4.9.251 -> 4.9.252 2021-01-18 12:46:30 -05:00
Tim Steinbach 7c70204558
linux: 4.4.251 -> 4.4.252 2021-01-18 12:46:30 -05:00
Tim Steinbach 2818d367ea
linux: 4.19.167 -> 4.19.168 2021-01-18 12:46:30 -05:00
Tim Steinbach d15ed07e0a
linux: 4.14.215 -> 4.14.216 2021-01-18 12:46:27 -05:00
Atemu 4a0070fc9f zen-kernels: refactor suffix
Changing it required modifications in multiple places which is error-prone
2021-01-18 10:49:16 +01:00
github-actions[bot] b7f20dcd02
Merge master into staging-next 2021-01-18 01:16:03 +00:00
Ben Siraphob 16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Jan Tojnar b813710c04
Merge branch 'master' into staging-next 2021-01-14 02:24:17 +01:00
kraem e41f385b1c linux/hardened/patches/5.4: 5.4.88.a -> 5.4.89.a 2021-01-13 14:17:01 -05:00
kraem e408bd85f0 linux/hardened/patches/5.10: 5.10.6.a -> 5.10.7.a 2021-01-13 14:17:01 -05:00
kraem 2aab392665 linux/hardened/patches/4.19: 4.19.166.a -> 4.19.167.a 2021-01-13 14:17:01 -05:00
kraem 5b687cf099 linux/hardened/patches/4.14: 4.14.214.a -> 4.14.215.a 2021-01-13 14:17:01 -05:00
kraem 305aabb1ac linux: 5.4.88 -> 5.4.89 2021-01-13 14:17:01 -05:00
kraem 146d17dd60 linux: 5.10.6 -> 5.10.7 2021-01-13 14:17:01 -05:00
kraem a1f3d24a96 linux: 4.9.250 -> 4.9.251 2021-01-13 14:17:01 -05:00
kraem 290dce1c29 linux: 4.4.250 -> 4.4.251 2021-01-13 14:17:01 -05:00
kraem f462d8aee4 linux: 4.19.166 -> 4.19.167 2021-01-13 14:17:01 -05:00
kraem 4878fcd3c9 linux: 4.14.214 -> 4.14.215 2021-01-13 14:17:01 -05:00
github-actions[bot] f1bb6c74f9
Merge master into staging-next 2021-01-12 12:34:36 +00:00
Linus Heckemann 97c0e5d8a8
Merge pull request #107181 from lheckemann/generate-config-fix
linux: fix generate-config's handling of "no-choice" options
2021-01-12 11:13:58 +01:00
github-actions[bot] 757ad34b82
Merge master into staging-next 2021-01-11 18:42:29 +00:00
Tim Steinbach 18b09d883f
linux: 5.11-rc2 -> 5.11-rc3 2021-01-11 11:10:07 -05:00
Tim Steinbach d91f1b0f47
linux: Optional SECURITY_LOCKDOWN_LSM
The option has been removed in the most recent dot releases
2021-01-11 11:09:02 -05:00
github-actions[bot] 1cce663933
Merge staging-next into staging 2021-01-11 01:02:25 +00:00
github-actions[bot] 36bab113bf
Merge master into staging-next 2021-01-11 01:02:21 +00:00
Atemu 5eedbd86f4 linux_zen: 5.10.1 -> 5.10.6 2021-01-10 15:08:53 -08:00
Atemu b775e9f474 linux_lqx: 5.10.5 -> 5.10.6 2021-01-10 15:08:53 -08:00
github-actions[bot] 31f01e4bcc
Merge staging-next into staging 2021-01-10 01:03:39 +00:00
github-actions[bot] 433c7b069c
Merge master into staging-next 2021-01-10 01:03:35 +00:00
Tim Steinbach 85449b21bc
linux/hardened/patches/5.4: 5.4.87.a -> 5.4.88.a 2021-01-09 15:26:22 -05:00
Tim Steinbach 0d2b8275a3
linux/hardened/patches/5.10: 5.10.5.a -> 5.10.6.a 2021-01-09 15:26:20 -05:00
Tim Steinbach bc95f84a5a
linux/hardened/patches/4.19: 4.19.165.a -> 4.19.166.a 2021-01-09 15:26:18 -05:00
Tim Steinbach ea8bec0e23
linux/hardened/patches/4.14: 4.14.213.a -> 4.14.214.a 2021-01-09 15:26:17 -05:00
Tim Steinbach 6973e51c02
linux-rt_5_10: 5.10.1-rt20 -> 5.10.4-rt22 2021-01-09 15:25:50 -05:00
Tim Steinbach a9dfa241f4
linux: 5.4.87 -> 5.4.88 2021-01-09 15:24:25 -05:00
Tim Steinbach 25aed143ea
linux: 5.10.5 -> 5.10.6 2021-01-09 15:23:50 -05:00
Tim Steinbach ab96d91f2e
linux: 4.9.249 -> 4.9.250 2021-01-09 15:23:17 -05:00
Tim Steinbach c5334d6c47
linux: 4.4.249 -> 4.4.250 2021-01-09 15:22:35 -05:00
Tim Steinbach 5124fff5c6
linux: 4.19.165 -> 4.19.166 2021-01-09 15:22:03 -05:00
Tim Steinbach ab245e4e63
linux: 4.14.213 -> 4.14.214 2021-01-09 15:08:18 -05:00
github-actions[bot] 8ec9d0c1b6
Merge staging-next into staging 2021-01-09 01:00:29 +00:00
github-actions[bot] e251591528
Merge master into staging-next 2021-01-09 01:00:25 +00:00
Kevin Cox 1443eb90cb
Merge pull request #108647 from Atemu/update/linux_lqx
linux_lqx: 5.9.16 -> 5.10.5
2021-01-08 16:35:27 -05:00
github-actions[bot] 18280919d6
Merge staging-next into staging 2021-01-08 06:29:07 +00:00
Vincent Haupert af8abf141d
kernelPatches: ath driver: allow setting regulatory domain
Ports an OpenWRT patch for Atheros wireless drivers (ath*) which allows
the user to change the regulatory domain code to the one which actually
applies.

All Atheros devices have a regulatory domain burned into their EEPROM.
When using a device as AP, this domain is frequently overly restrictive
when compared to the regulation which applies in the country the device
actually operates in; often, this restriction disallows IR on all
channels making it impossible to use the device as an AP at all.

This commit introduces the NixOS config option
networking.wireless.athUserRegulatoryDomain which, if enabled, applies
the patch and sets the kernel config option ATH_USER_REGD.

The original OpenWRT patch targets Linux 5.8.
2021-01-08 02:20:08 +01:00
Jan Tojnar e6c0c98940
Merge branch 'master' into staging-next
zynaddsubfx conflict has been updated to 3.0.1, which conflicted with rewrite after 3.0.5 update on a different branch.
2021-01-08 02:07:34 +01:00
Tim Steinbach 4312cd74f1 linux-hardened: Track extra version
Fixes #108707
2021-01-07 18:23:57 -05:00
github-actions[bot] 9e9902250a
Merge staging-next into staging 2021-01-07 18:40:54 +00:00
github-actions[bot] 5c072a088d
Merge master into staging-next 2021-01-07 18:40:50 +00:00
Milan Pässler 0f03222d88 linux: build with multipath tcp support
Starting from Linx 5.6, there is partial upstream support for the Multipath TCP
protocol. There are no downsides to enabling it afaict, since
applications need to opt-in when creating a socket.

From https://github.com/multipath-tcp/mptcp_net-next/wiki:
"[...] users of regular TCP continue to get the same type of connection and
performance unless MPTCP is requested."
2021-01-07 18:37:57 +01:00
Tim Steinbach 2fe7c5cb86
linux/hardened/patches/5.4: 5.4.86.a -> 5.4.87.a 2021-01-07 10:11:58 -05:00
Tim Steinbach 91e76b146f
linux/hardened/patches/5.10: 5.10.4.a -> 5.10.5.a 2021-01-07 10:11:56 -05:00
Tim Steinbach 2a23529200
linux/hardened/patches/4.19: 4.19.164.a -> 4.19.165.a 2021-01-07 10:11:50 -05:00
Jan Tojnar f19eb635b4
Merge branch 'master' into staging-next
b04fc593e7 seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
2021-01-07 13:04:31 +01:00
Atemu c2743fb52f linux_lqx: 5.9.16 -> 5.10.5 2021-01-07 12:39:00 +01:00
Tim Steinbach 7cd9d714ee
linux: 5.4.86 -> 5.4.87 2021-01-06 14:28:40 -05:00
Tim Steinbach 6d1f725cf6
linux: 5.10.4 -> 5.10.5 2021-01-06 14:28:40 -05:00
Tim Steinbach 8881168efc
linux: 4.19.164 -> 4.19.165 2021-01-06 14:28:40 -05:00
github-actions[bot] 0e4e47512d
Merge master into staging-next 2021-01-05 00:56:58 +00:00
Tim Steinbach f284b44089
linux: 5.11-rc1 -> 5.11-rc2
Added temporary patch for a syntax error in the wireless drivers
2021-01-04 13:41:30 -05:00
github-actions[bot] a6f7ba3752
Merge staging-next into staging 2020-12-31 18:42:44 +00:00
github-actions[bot] 5dffe03f30
Merge master into staging-next 2020-12-31 18:42:41 +00:00
Samuel Dionne-Riel 4e75a31e98 linux: configure aarch64 contiguous memory allocator via kernel config
As per the in-line comment, this is where distros should configure it.
Not via kernel command line parameters.

As found by looking at the implementation, while exploring the cause of
a bug on the Raspberry Pi 4, it was found that `cma=` on the command
line parameters will overwrite the values a device tree will have
configured for a given platform.

With this, the more recent 5.4 vendor kernel boots just fine on the
Raspberry Pi 4 using our common configuration.
2020-12-31 18:20:49 +01:00
Frederik Rietdijk f3b4ae8402 Merge staging-next into staging 2020-12-31 13:29:55 +01:00
Frederik Rietdijk e823016e66 Merge master into staging-next 2020-12-31 13:29:32 +01:00
Tim Steinbach 70a061bd6c
linux/hardened/patches/5.4: 5.4.85.a -> 5.4.86.a 2020-12-30 21:19:16 -05:00
Tim Steinbach 5f4c27eb77
linux/hardened/patches/5.10: init at 5.10.4.a 2020-12-30 21:19:16 -05:00
Tim Steinbach 8ed3ba45f5
linux/hardened/patches/4.19: 4.19.163.a -> 4.19.164.a 2020-12-30 21:19:16 -05:00
Tim Steinbach 334018553b
linux/hardened/patches/4.14: 4.14.212.a -> 4.14.213.a 2020-12-30 21:19:15 -05:00
Tim Steinbach 685d4640a0
linux: 5.4.85 -> 5.4.86 2020-12-30 21:19:15 -05:00
Tim Steinbach 3785b180ba
linux: 5.10.3 -> 5.10.4 2020-12-30 21:19:15 -05:00
Tim Steinbach d4f876cf30
linux: 4.19.163 -> 4.19.164 2020-12-30 21:19:14 -05:00
Michael Raskin a95d8f160a
Merge pull request #107625 from Atemu/r13y/kernel-disable-module-signing
kernel: disable module signing
2020-12-30 17:47:49 +00:00
Linus Heckemann 44864fd0f4
Merge pull request #107703 from Atemu/kernel-use-zstd
kernel: use zstd
2020-12-30 00:17:59 +01:00
github-actions[bot] ff873c7c21
Merge master into staging-next 2020-12-29 18:40:52 +00:00
Tim Steinbach 733e537a8a
linux: 4.9.248 -> 4.9.249 2020-12-29 10:11:59 -05:00
Tim Steinbach 18eae95161
linux: 4.4.248 -> 4.4.249 2020-12-29 10:11:58 -05:00
Tim Steinbach b3d2d9170b
linux: 4.14.212 -> 4.14.213 2020-12-29 10:11:57 -05:00
github-actions[bot] ac03278035
Merge master into staging-next 2020-12-28 18:34:55 +00:00
Timo Kaufmann 90d95d4513
Merge pull request #107148 from Atemu/linux_lqx-init
linux_lqx: init at 5.9.15
2020-12-28 18:35:15 +01:00
Tim Steinbach 80e3ca6f4a
linux: 5.10-rc6 -> 5.11-rc1 2020-12-28 11:22:57 -05:00
Tim Steinbach b24e814e14
linux: 5.10.2 -> 5.10.3 2020-12-28 10:48:04 -05:00
Blaž Hrastnik 9461f0a734 kernel: use zstd compression on 5.9+. 2020-12-28 14:25:17 +01:00
Frederik Rietdijk 92cc19490e Merge staging into staging-next 2020-12-28 08:45:43 +01:00