summary refs log tree commit diff
path: root/pkgs/os-specific/linux
Commit message (Collapse)AuthorAge
* lvm2: don't use targetPlatformAlyssa Ross2022-03-29
| | | | | | | | | | | targetPlatform is the platform the current package's programs will produce binaries for — only relevant for compilers and similar. hostPlatform is the platform the current package's programs will run on. The incorrect use of targetPlatform meant that anything that tried to link to it (like cryptsetup) would fail to build when it was used as a native build input for a cross-compiled Musl derivation.
* kmod: add dev and lib outputsAlyssa Ross2022-03-22
| | | | Reduces the closure size of pkgsStatic.kmod from 51.0M to 541.6K.
* linux.configfile: fix alts containing "/m"Alyssa Ross2022-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | generate-config.pl's auto modules feature answers "m" to any Kconfig question it thinks supports being a module. It detected this by seeing if the help shown by make config (called "alts" by the script) contained the string "/m", which it would in the case of e.g a tristate option, where alts would be "N/m/y/?". But then along came CONFIG_MODPROBE_PATH in Linux 5.13, with a default value, shown in the make config help, of "/sbin/modprobe". generate-config.pl would see the "/m" substring, and answer "m" to the question, meaning (I think) that the built kernel would expect the modprobe binary to be at /m. This broke the (non-NixOS) VM images I build with Nix. NixOS was unaffected because it uses a different mechanism to set the modprobe path. With the current architecture, we can't 100% determine whether a Kconfig option is a string or a tristate, but we can get a lot closer by using a better regex. My new regex only accepts single word characters, separated by slashes, with a "/?" at the end. This is much less likely to ever end up as the default value of a string option. Tested by building linux_latest.configfile before and after my changes, and checking the only difference is the correct default for CONFIG_MODPROBE_PATH.
* cryptsetup: make all programs optionalAlyssa Ross2022-03-22
| | | | | | | | Some use cases (think appliances) call for veritysetup but not cryptsetup, and others (like NixOS) don't need veritysetup and usually not integritysetup. This is especially useful for pkgsStatic where each program contains a whole copy of the libraries it needs so is quite large.
* cryptsetup: separate binaries from librariesAlyssa Ross2022-03-22
| | | | | | | | | | | This reduces closure sizes by making the libraries not depend on the binaries, which is good for static builds, and (when statically linked) making the binaries not depend on the libraries, which is good for static builds. When static building, we additionally have to disable loading LUKS plugins from $lib to avoid a reference, which probably wouldn't have worked anyway.
* WIPAlyssa Ross2022-03-22
|
* nftables: add option to disable interactiveAlyssa Ross2022-03-22
| | | | | I think "CLI" is a very strange name for this, but that's what upstream calls it.
* musl: mntent: fix parsing lines with optional fieldsAlyssa Ross2022-03-22
|
* linuxPackages.lttng-modules: 2.13.1 -> 2.13.2Alyssa Ross2022-03-21
| | | | Fixes the build with Linux 5.17.
* smem: switch to python3Armeen Mahdian2022-03-20
| | | | smem 1.5 has support for python3
* Merge pull request #164601 from armeenm/bump-pflaskMartin Weinelt2022-03-19
|\
| * pflask: 2015-12-17 -> 2018-01-23Armeen Mahdian2022-03-19
| |
* | nixos-rebuild: add installer test to passthru.testsProfpatsch2022-03-19
| | | | | | | | | | | | | | | | When something changes in nixos-rebuild, we must make sure the installers still work, otherwise it might break existing setups. The installer tests check whether nixos-rebuild works, so they are a good lithmus test.
* | nixos-rebuild: Print commands as they are run on verbose flagProfpatsch2022-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nixos-rebuild would forward all verbose flags to nix, but not actually increase its own verbosity. Which would make it hard to see what’s going on without resorting to tools like strace or adding `set -x` to the script. We add a simple exec wrapper around the most “interesting” commands, that is nix tool invocations. If any verbosity flag is given, it will set the verbosity flag of the nixos-rebuild script all commands wrapped into `runCmd` will start logging their invocation. This is done via a `logVerbose` function, which can also be used to print logging messages when in verbose mode, to aid debugging why nixos-rebuild does what it does. A few messages are added, but potentially we could log a lot more details. Now, testing all of the changed code paths turns out to be rather hard, so I am unsure how to verify that for all changed commands behaviour stays indeed the same.
* | audit: disable python when cross-compilingsternenseemann2022-03-18
| | | | | | | | | | | | | | | | To support this theoretically, the configure script upstream would need to a) stop using PATH for finding python-config exclusively and allow passing an absolute path to it and b) cease using the distutils module for configuration purposes which of course requires running the host python interpreter which is not possible in the cross case.
* | Merge pull request #164509 from r-ryantm/auto-update/usbguardRyan Mulligan2022-03-16
|\ \ | | | | | | usbguard: 1.1.0 -> 1.1.1
| * | usbguard: 1.1.0 -> 1.1.1R. Ryantm2022-03-16
| | |
* | | linux_latest-libre: 18627 -> 18635TredwellGit2022-03-16
| | |
* | | linux: 5.4.184 -> 5.4.185TredwellGit2022-03-16
| | |
* | | linux: 5.16.14 -> 5.16.15TredwellGit2022-03-16
| | |
* | | linux: 5.15.28 -> 5.15.29TredwellGit2022-03-16
| | |
* | | linux: 5.10.105 -> 5.10.106TredwellGit2022-03-16
| | |
* | | linux: 4.9.306 -> 4.9.307TredwellGit2022-03-16
| | |
* | | linux: 4.19.234 -> 4.19.235TredwellGit2022-03-16
| | |
* | | linux: 4.14.271 -> 4.14.272TredwellGit2022-03-16
|/ /
* | oci-seccomp-bpf-hook: 1.2.3 -> 1.2.5Sascha Grunert2022-03-16
| | | | | | | | Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
* | tuigreet: fix typo in meta.descriptionLewis Cowper2022-03-16
| | | | | | greter -> greeter
* | Merge pull request #163926 from jtojnar/udisks2-fixJan Tojnar2022-03-16
|\ \ | | | | | | udisks2: correct patch
| * | udisks2: Add freedesktop team to maintainersJan Tojnar2022-03-13
| | |
| * | udisks2: correct patchJan Tojnar2022-03-13
| | | | | | | | | | | | This was forgotten during https://github.com/NixOS/nixpkgs/pull/147606
* | | Merge pull request #162535 from astro/pacemakerRyan Mulligan2022-03-15
|\ \ \ | | | | | | | | pacemaker: init
| * | | pacemaker: init at 2.1.2Ryan Mulligan2022-03-08
| | | |
* | | | Merge branch 'master' into staging-nextVladimír Čunát2022-03-15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflict in pkgs/development/libraries/libvirt/default.nix required manual adjustments. The fetched patch is already in src. I checked that libvirt builds.
| * \ \ \ Merge pull request #163433 from JJJollyjim/bcachefsdavidak2022-03-14
| |\ \ \ \ | | | | | | | | | | | | bcachefs: unstable-2022-01-12 -> unstable-2022-03-09
| | * | | | bcachefs: update maintainersJamie McClymont2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | As requested in https://github.com/NixOS/nixpkgs/pull/163433#issuecomment-1066169644
| | * | | | linux_testing_bcachefs: unstable-2022-01-12 -> unstable-2022-03-09Jamie McClymont2022-03-14
| | | | | |
* | | | | | Merge master into staging-nextgithub-actions[bot]2022-03-14
|\| | | | |
| * | | | | Merge pull request #164046 from AndersonTorres/metalab-mirrorsAnderson Torres2022-03-14
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | Change metalab mirrors to ibiblioPubLinux ones
| | * | | | forktty: ibiblioPubLinux mirrorAndersonTorres2022-03-13
| | | |_|/ | | |/| |
* | | | | Merge master into staging-nextgithub-actions[bot]2022-03-14
|\| | | |
| * | | | Merge pull request #159925 from NickCao/kmodsGuillaume Girol2022-03-13
| |\ \ \ \ | | |/ / / | |/| | | linuxPackages.*: various fixes related to cross compilation
| | * | | can-isotp: make use of buildFlags and installTargetsNick Cao2022-03-07
| | | | |
| | * | | rtl8189es: 2020-10-03 -> 2021-10-01, move moduleBuildDependencies to ↵Nick Cao2022-03-07
| | | | | | | | | | | | | | | | | | | | nativeBuildInputs
| | * | | rtl8192eu: prepend kernel.makeFlags to makeFlagsNick Cao2022-03-07
| | | | |
| | * | | r8168: prepend kernel.makeFlags to makeFlagsNick Cao2022-03-07
| | | | |
| | * | | rtl8814au: pass makeFlags from kernel, move moduleBuildDependencies to ↵Nick Cao2022-03-07
| | | | | | | | | | | | | | | | | | | | nativeBuildInputs
| | * | | rtl8821ce: pass makeFlags from kernel, move moduleBuildDependencies to ↵Nick Cao2022-03-07
| | | | | | | | | | | | | | | | | | | | nativeBuildInputs
| | * | | rtl8821cu: pass makeFlags from kernel, move moduleBuildDependencies to ↵Nick Cao2022-03-07
| | | | | | | | | | | | | | | | | | | | nativeBuildInputs
| | * | | rtw89: prepend kernel.makeFlags to makeFlags, pass moduleBuildDependenciesNick Cao2022-03-07
| | | | |
| | * | | rtw88: prepend kernel.makeFlags to makeFlags, pass moduleBuildDependenciesNick Cao2022-03-07
| | | | |