Commit Graph

48 Commits

Author SHA1 Message Date
Sergei Trofimovich
65b9c17842 kmod: drop darwin support
commit 7a2c07d29b "kmod: enable on darwin" added darwin
support mostly for `depmod` to be able to build `linux` kernel
on `darwin`.

In version 30 kmod requires more and more linux syscalls to build.
Instead of patching it for darwin let's drop it's support instead.

Maybe `depmod` could be packaged using some other way if needed.

Related: https://github.com/NixOS/nixpkgs/pull/182720 removed
`kmod` use on `darwin` from rare packages that still pulled it in.
2022-07-25 18:58:36 +01:00
Sergei Trofimovich
3feca2a040 kmod: 29 -> 30
While at it added trivial updater.

Changes: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/plain/NEWS?h=v30
2022-07-11 23:03:10 +01:00
Alyssa Ross
b173750213 kmod: build devdoc
Switch from autoreconfHook to running autogen.sh ourselves so that
gtkdocize gets run.  The GTK_DOC_CHECK autoconf macro isn't
cross-friendly, so we have to disable it when cross-compiling.
2022-05-23 07:48:50 +00:00
Alyssa Ross
dc1303185f kmod: add dev and lib outputs
Reduces the closure size of pkgsStatic.kmod from 51.0M to 541.6K.
2022-03-07 11:02:29 +00:00
Artturin
86ae2154c2 kmod: add myself(artturin) as a maintainer 2021-12-08 02:56:40 +02:00
Artturin
453968c01a kmod: switch the priority of module dirs
make "/run/booted-system/kernel-modules" be searched first

Fixes https://github.com/NixOS/nixpkgs/issues/146383
modprobe: ERROR: could not insert 'zram': Invalid argument
2021-12-07 06:20:59 +02:00
Abdelhakim Qbaich
605ccef432 kmod: proper license entry 2021-08-27 17:23:55 -07:00
Abdelhakim Qbaich
7179ce3717 kmod: build with zstd support 2021-08-26 23:48:50 -07:00
Abdelhakim Qbaich
42e20c4e79 kmod: 27 -> 29 2021-08-26 23:48:11 -07: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
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
John Ericson
5c2965145f treewide: Inline more of the static overlay
Picking up where #107238 left off. I think I'll have gotten all the easy
stuff with this.
2021-01-03 21:46:14 +00:00
Dominik Xaver Hörl
40d33887db kmod: add patch to correct behaviour with --field
This came up in https://github.com/NixOS/nixpkgs/pull/96008.
Without this patch modinfo always prints the module name for builtin
modules, even if an explicit --field is passed.
2020-08-24 10:59:16 +02:00
Michael Weiss
1b6e357424 kmod: 26 -> 27 2020-06-13 10:57:19 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Alexander Bantyev
8983cac44c
kmod: fix --enable-static 2019-11-11 11:10:59 +03:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
c13a29e398 kmod: 25 -> 26
https://lwn.net/Articles/779249/
2019-03-11 12:33:45 -05:00
Matthew Bauer
808f05808b kmod: avoid mass rebuild
elf-header shouldn’t be needed on linux
2018-12-02 19:34:55 -06:00
Matthew Bauer
7a2c07d29b kmod: enable on darwin
This is needed to build linux kernels on darwin. While we can’t
actually use it to load kernel modules, we can use it to create
indexes of modules on macOS.

(cherry picked from commit ebb31480e8a45efbaff4c4a212bdfc0b053adde0)
2018-12-02 14:12:42 -06:00
Markus Kowalewski
a3f9340d93
kmod: add license 2018-08-30 21:28:03 +02:00
John Ericson
e5d630e99e kmod: Remove crossAttrs
Issue #21191 is indeed fixed now.
2018-07-24 18:39:41 -04:00
Tuomas Tynkkynen
10bcf978eb kmod: 24 -> 25 2018-01-17 12:53:22 +02:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Eric Litak
f89504d067 kmod: crossDrv should use native xz 2017-04-14 18:03:49 -07:00
Peter Hoeg
89724f152a kmod: 23 -> 24 2017-03-14 18:06:55 +08:00
Nikolay Amiantov
2abe917f18 kmod: 22 -> 23, add /lib/modules to module directories 2016-08-19 17:57:08 +03:00
Nikolay Amiantov
30c9aa2698 kmod: add patch to allow searching for modules in several directories 2016-08-19 17:56:39 +03:00
obadz
1047ed49d9 Merge branch 'master' into staging
Conflicts: pkgs/os-specific/linux/kmod/default.nix cc @abbradar
2016-08-19 15:28:58 +01:00
Nikolay Amiantov
081ac25dc6 kmod: 22 -> 23, add /lib/modules to module directories 2016-08-16 02:42:19 +03:00
Shea Levy
9adad8612b Revert "Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs"
Was meant to go into staging, sorry

This reverts commit 57b2d1e9b0, reversing
changes made to 760b2b9048.
2016-08-15 19:05:52 -04:00
Nikolay Amiantov
131fca0a85 kmod: add patch to allow searching for modules in several directories 2016-08-16 00:19:25 +03:00
Eelco Dolstra
48f51f1185 linux: Compress kernel modules
This reduces the kernel package from 185 to 62 MiB, for a neglible
boot time cost.
2016-02-01 18:19:23 +01:00
Louis Taylor
2dd99b8abb kmod: 21 -> 22 2016-01-13 11:46:15 +00:00
Shea Levy
145768bf9b Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
William A. Kennington III
ad9081411c kmod: 20 -> 21 2015-06-18 23:51:12 -07:00
William A. Kennington III
9c78bbd405 kmod: 18 -> 20 2015-03-26 01:03:51 -07:00
Shea Levy
f904ca14a2 kmod: bump 2014-09-15 12:07:00 -04:00
Eelco Dolstra
51a1e0a4a9 kmod: Update to 17 2014-04-17 13:46:48 +02:00
Shea Levy
608cee44cc kmod: bump
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-02-03 18:42:04 -05:00
William A. Kennington III
06f92d07e7 Upgrade kmod from 12 -> 15 2013-11-29 02:08:52 -06:00
Shea Levy
30e1158101 kmod: Update to kmod-12 2013-02-21 11:28:52 -05:00
Shea Levy
4f713d27f7 kmod: Bump to version 9 2012-07-29 03:57:50 -04:00
Eelco Dolstra
404c21de2f * kmod: look in /etc/modprobe.d.
svn path=/nixpkgs/trunk/; revision=34521
2012-06-15 18:12:25 +00:00
Eelco Dolstra
9e76f38ee2 * kmod updated to version 8. Disabled the xz and zlib dependencies
because they're inconvenient in the initrd.  Put modprobe etc. in
  $out/sbin.

svn path=/nixpkgs/trunk/; revision=34520
2012-06-15 17:58:42 +00:00
Shea Levy
f3f8040aaf kmod: Create compat program symlinks
svn path=/nixpkgs/trunk/; revision=33579
2012-04-04 19:28:33 +00:00
Shea Levy
4d0fdc5e6b kmod: respect MODULE_DIR
svn path=/nixpkgs/trunk/; revision=33578
2012-04-04 19:24:07 +00:00
Shea Levy
343fb0be1e Add kmod, the replacement for the now-defunct module-init-tools
The kmod tools appear to take a flag to name the location of the modules
directory, so we may not need to migrate our module-init-tools patches

svn path=/nixpkgs/trunk/; revision=33413
2012-03-25 20:05:36 +00:00