2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 05:33:23 +00:00
nixpkgs/pkgs/os-specific/linux/kernel
Linus Heckemann 16c0697e68 linux: fix generate-config's handling of "no-choice" options
Prior to this change, the script could potentially get confused by
"menus" containing only one valid option. Thus, with

CPU_BIG_ENDIAN = no;
CPU_LITTLE_ENDIAN = yes;
ARM64_PA_BITS_48 = yes;

the endianness would be set incorrectly:

GOT: Physical address space size
GOT: > 1. 48-bit (ARM64_PA_BITS_48)
GOT: choice[1]: 1
GOT: Endianness
GOT:   1. Build big-endian kernel (CPU_BIG_ENDIAN)
GOT: > 2. Build little-endian kernel (CPU_LITTLE_ENDIAN)
CHOICE: 1-2?, ANSWER: 1

This commit fixes this error by forgetting previous menu choices if a
line that follows a menu option is neither another menu option nor the
prompt for choosing one of the options.
2020-12-19 01:55:21 +01:00
..
cpu-cgroup-v2-patches
hardened linux/hardened/patches/5.9: 5.9.14.a -> 5.9.15.a 2020-12-17 09:21:58 -05:00
bridge-stp-helper.patch
common-config.nix linux: explicitly enable RAS 2020-11-26 10:08:51 +01:00
export_kernel_fpu_functions_4_14.patch
export_kernel_fpu_functions_5_3.patch
export-rt-sched-migrate.patch linux-rt_5_9: export symbols needed by zfs 2020-12-10 10:34:44 +00:00
gen-kheaders-metadata.patch
generate-config.pl linux: fix generate-config's handling of "no-choice" options 2020-12-19 01:55:21 +01:00
generic.nix linux: add flavor metadata 2020-10-30 09:40:12 -07:00
genksyms-fix-segfault.patch
gpio-utils.nix gpio-utils: add license 2020-06-30 21:02:50 +02:00
linux-4.4.nix linux: 4.4.247 -> 4.4.248 2020-12-11 12:42:16 -05:00
linux-4.9.nix linux: 4.9.247 -> 4.9.248 2020-12-11 12:42:16 -05:00
linux-4.14.nix linux: 4.14.210 -> 4.14.212 2020-12-11 12:42:11 -05:00
linux-4.19.nix linux: 4.19.161 -> 4.19.163 2020-12-11 12:42:15 -05:00
linux-5.4.nix linux: 5.4.83 -> 5.4.84 2020-12-16 11:25:17 -05:00
linux-5.9.nix linux: 5.9.14 -> 5.9.15 2020-12-16 11:25:29 -05:00
linux-5.10.nix linux: 5.10 -> 5.10.1 2020-12-15 14:34:40 -05:00
linux-hardkernel-4.14.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
linux-libre.nix linux_latest-libre: 17788 -> 17812 2020-12-16 11:25:40 -05:00
linux-mptcp-95.nix
linux-rpi.nix linux_rpi: 1.20190925 -> 1.20200601 2020-06-16 14:19:05 -03:00
linux-rt-5.4.nix linux-rt_5_4: 5.4.78-rt44 -> 5.4.82-rt45 2020-12-14 09:31:55 -05:00
linux-rt-5.6.nix linux-rt_5_6: init at 5.6.19-rt12 2020-09-02 02:51:06 +00:00
linux-rt-5.10.nix linux-rt_5_10: 5.10-rt17 -> 5.10.1-rt19 2020-12-17 09:21:58 -05:00
linux-testing-bcachefs.nix linux_testing_bcachefs: 5.3 -> 5.8 2020-09-10 18:57:52 +02:00
linux-testing.nix linux: 5.10-rc5 -> 5.10-rc6 2020-12-01 11:29:28 -05:00
linux-zen.nix linux_zen: 5.9.13 -> 5.9.14 2020-12-12 16:46:32 +01:00
mac-nvme-t2.patch
manual-config.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
modinst-arg-list-too-long.patch
mptcp-config.nix
p9-fixes.patch
patches.nix linux-rt_5_9: export symbols needed by zfs 2020-12-10 10:34:44 +00:00
perf.nix
randstruct-provide-seed.patch
request-key-helper-updated.patch
request-key-helper.patch
update-libre.sh
update-rt.sh linux-rt_latest: 5.9.1-rt20 -> 5.10-rt17 2020-12-14 23:42:17 +00:00
update.sh linux-rt: add update script 2020-09-02 02:51:06 +00:00