Commit Graph

6882 Commits

Author SHA1 Message Date
Maximilian Bosch
4634bbc4c5
linux/hardened/patches/5.15: 5.15.102-hardened1 -> 5.15.103-hardened1 2023-03-23 08:28:08 +01:00
Maximilian Bosch
c818f30da7
linux/hardened/patches/5.10: 5.10.174-hardened1 -> 5.10.175-hardened1 2023-03-23 08:27:54 +01:00
Maximilian Bosch
0272420a3c
linux/hardened/patches/4.19: 4.19.277-hardened1 -> 4.19.278-hardened1 2023-03-23 08:27:42 +01:00
Maximilian Bosch
79148a9f3b
linux/hardened/patches/4.14: 4.14.309-hardened1 -> 4.14.310-hardened1 2023-03-23 08:27:31 +01:00
Maximilian Bosch
c4e51ce867
linux_latest-libre: 19109 -> 19160 2023-03-23 08:26:28 +01:00
Maximilian Bosch
29b3bf6fb0
linux-rt_5_10: 5.10.168-rt83 -> 5.10.175-rt84 2023-03-23 08:26:03 +01:00
Maximilian Bosch
51b22f7f5b
linux: 6.2.7 -> 6.2.8 2023-03-23 08:25:49 +01:00
Maximilian Bosch
25ee2ea037
linux: 6.1.20 -> 6.1.21 2023-03-23 08:25:34 +01:00
Maximilian Bosch
8d7db2427d
linux: 5.4.237 -> 5.4.238 2023-03-23 08:25:22 +01:00
Maximilian Bosch
609bd9bcee
linux: 5.15.103 -> 5.15.104 2023-03-23 08:25:12 +01:00
Maximilian Bosch
db9b3233fc
linux: 5.10.175 -> 5.10.176 2023-03-23 08:25:00 +01:00
Maximilian Bosch
72cd47a8c1
linux: 4.19.278 -> 4.19.279 2023-03-23 08:24:49 +01:00
Maximilian Bosch
2dff193f3d
linux: 4.14.310 -> 4.14.311 2023-03-23 08:24:37 +01:00
Alyssa Ross
fedc983734 linuxManualConfig: add pahole to moduleBuildDependencies
This seems to be needed for out-of-tree module builds since d57568fcad.
We do not yet understand why, but this will unblock the channels while
we figure it out.

Fixes: d57568fcad ("linuxManualConfig: install GDB scripts")
2023-03-21 12:40:16 +00:00
Maximilian Bosch
e999433b3a
Merge pull request #221707 from NixOS/linuxManualConfig-unpack
linuxManualConfig: install GDB scripts
2023-03-20 20:42:10 +01:00
Franz Pletz
3790924e90
Merge pull request #222183 from PedroHLC/zen-kernels-6.2.7 2023-03-20 15:14:18 +01:00
PedroHLC ☭
acde26c95a
linuxKernel.kernels.linux_lqx: 6.2.6-lqx1 -> 6.2.7-lqx1 2023-03-20 09:32:03 -03:00
PedroHLC ☭
4678ba6454
linuxKernel.kernels.linux_zen: 6.2.6-zen1 -> 6.2.7-zen1 2023-03-20 09:30:21 -03:00
Alyssa Ross
663caaa684 linux_testing_bcachefs: mark broken on aarch64 2023-03-20 12:28:48 +00:00
Alyssa Ross
cdd6211abb linux_testing_bcachefs: fix meta
kernel.override overrides the invocation of buildLinux, not the
function in the file that defines the specific kernel version, so we
need to pass the arguments that buildLinux expects.
2023-03-20 12:28:48 +00:00
Alyssa Ross
d57568fcad
linuxManualConfig: install GDB scripts
These are required to debug kernel modules.  Since we're now able to
do that, there's another reason besides BTF to enable DEBUG_INFO, so
I've done that for pre-BTF kernel modules as well here.

For GDB to get configured correctly, vmlinux-gdb.py has to be two
directories up from scripts/gdb, and vmlinux has to be next to
vmlinux-gdb.py.  The least invasive way to satisfy these constraints
is to make vmlinux a symlink, which GDB will resolve before looking
for vmlinux-gdb.py.

Tested both ways of getting the scripts into GDB that I know of:

gdb /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/vmlinux \
    -iex 'add-auto-load-safe-path /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/lib/modules/6.1.19/build/vmlinux-gdb.py' \
    -ex 'lx-version' \
    -ex 'q'
gdb /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/vmlinux \
    -ex 'source /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/lib/modules/6.1.19/build/vmlinux-gdb.py' \
    -ex 'lx-version' \
    -ex 'q'

Also tested that the strip changes don't result in meaningful output
size changes (there's some small variation due to BTF data not always
coming out the same size, which is unrelated), and built every kernel
I can on x86_64 to make sure I'm not relying on build system behaviour
specific to newer kernels.
2023-03-20 00:09:52 +00:00
Alyssa Ross
41f788b121
linuxManualConfig: use the default make target
We've basically been reimplementing this — by default it contains
vmlinux, dtbs (on applicable architectures), modules, and architecture
specific stuff like $(KBUILD_IMAGE) and a couple of other
miscellaneous files.
2023-03-19 23:55:12 +00:00
Alyssa Ross
7de3f08ce3
linuxManualConfig: unpack directly into $dev
linux is unusual in that we include its sources in an output.  There's
no point unpacking into /build when we're going to copy the sources
into $dev later.  Let's unpack directly into the final destination of
the code, and save copying a whole kernel source tree (often across
filesystems!).

This also means that Kbuild knows the location of the sources, which
will allow us to install the GDB scripts — some scripts are generated,
and some are not, so the generated ones end up in the build directory,
accompanied by symlinks to the non-generated ones in the source
directory.
2023-03-19 23:54:19 +00:00
Ryan Lahfa
618ba94934
Merge pull request #210205 from 9ary/kernel-fonts
Build the large Terminus font into the kernel
2023-03-19 20:13:25 +01:00
Alyssa Ross
d75cff2ee3
linuxManualConfig: don't build inside source tree
We can avoid the need to explicitly exclude it later if we just put it
somewhere else to begin with.
2023-03-18 13:49:12 +00:00
Maximilian Bosch
7f54d0b183
linux/hardened/patches/6.1: 6.1.15-hardened1 -> 6.1.19-hardened1 2023-03-17 11:20:35 +01:00
Maximilian Bosch
af4fcd5dd7
linux/hardened/patches/5.4: 5.4.234-hardened1 -> 5.4.236-hardened1 2023-03-17 11:20:22 +01:00
Maximilian Bosch
cce3af4c1d
linux/hardened/patches/5.15: 5.15.98-hardened1 -> 5.15.102-hardened1 2023-03-17 11:20:10 +01:00
Maximilian Bosch
6c59d5d001
linux/hardened/patches/5.10: 5.10.172-hardened1 -> 5.10.174-hardened1 2023-03-17 11:19:56 +01:00
Maximilian Bosch
dc74597f61
linux/hardened/patches/4.19: 4.19.275-hardened1 -> 4.19.277-hardened1 2023-03-17 11:19:44 +01:00
Maximilian Bosch
1a07020574
linux/hardened/patches/4.14: 4.14.307-hardened1 -> 4.14.309-hardened1 2023-03-17 11:19:32 +01:00
Maximilian Bosch
feaedbb393
linux_latest-libre: 19102 -> 19109 2023-03-17 10:51:32 +01:00
Maximilian Bosch
4c83fe7ec3
linux: 6.2.6 -> 6.2.7 2023-03-17 10:51:09 +01:00
Maximilian Bosch
8bef4cebd1
linux: 6.1.19 -> 6.1.20 2023-03-17 10:50:57 +01:00
Maximilian Bosch
2cca747420
linux: 5.4.236 -> 5.4.237 2023-03-17 10:50:43 +01:00
Maximilian Bosch
cf346bc95a
linux: 5.15.102 -> 5.15.103 2023-03-17 10:50:31 +01:00
Maximilian Bosch
2589986af6
linux: 5.10.174 -> 5.10.175 2023-03-17 10:50:18 +01:00
Maximilian Bosch
b244d57064
linux: 4.19.277 -> 4.19.278 2023-03-17 10:50:06 +01:00
Maximilian Bosch
0909bcf14e
linux: 4.14.309 -> 4.14.310 2023-03-17 10:49:52 +01:00
Martin Weinelt
6b67186fe9
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/crownstone-cloud/default.nix
- pkgs/development/python-modules/exrex/default.nix
- pkgs/development/python-modules/mkdocs-minify/default.nix
- pkgs/development/python-modules/myjwt/default.nix
- pkgs/development/tools/analysis/checkov/default.nix
2023-03-14 08:14:26 +01:00
PedroHLC ☭
e83e79a0ef
linuxKernel.kernels.linux_zen: 6.2.5-zen2 -> 6.2.6-zen1 2023-03-13 14:18:25 -03:00
Martin Weinelt
bb14c4255b Merge remote-tracking branch 'origin/master' into staging-next 2023-03-13 17:14:19 +00:00
PedroHLC ☭
cd1d2565a2
linuxKernel.kernels.linux_lqx: 6.2.5-lqx3 -> 6.2.6-lqx1 2023-03-13 14:12:44 -03:00
K900
b088383b8c linux: 6.2.5 -> 6.2.6 2023-03-13 14:41:24 +03:00
K900
001992de73 linux: 6.1.18 -> 6.1.19 2023-03-13 14:38:54 +03:00
K900
5092a2e362 linux: 5.4.235 -> 5.4.236 2023-03-13 14:38:48 +03:00
K900
92ffd72db0 linux: 5.15.101 -> 5.15.102 2023-03-13 14:38:42 +03:00
K900
fea95ea6b9 linux: 5.10.173 -> 5.10.174 2023-03-13 14:38:37 +03:00
K900
3bdd65d54d linux: 4.19.276 -> 4.19.277 2023-03-13 14:38:31 +03:00
K900
44784a2f8e linux: 4.14.308 -> 4.14.309 2023-03-13 14:38:24 +03:00