Evgeny Egorochkin
8d7e1a79cc
AppArmor: add a sample patched kernel.
2013-05-11 08:50:34 +03:00
Mathijs Kwik
1264fafe98
linux-3.4: upgrade to 3.4.44
2013-05-08 22:33:05 +02:00
Mathijs Kwik
7d2f148c53
linux-3.0: upgrade to 3.0.77
2013-05-08 22:33:05 +02:00
Michael Raskin
14d87f3a9e
Update Linux versions
2013-05-08 10:52:46 +04:00
Marc Weber
b5e6e1b78c
without these two settings my USB dvb-t stick doesn't work
2013-05-06 05:15:34 +02:00
Mathijs Kwik
d8489d37ed
linux-3.9: upgrade to 3.9.0
2013-04-30 09:27:02 +02:00
Mathijs Kwik
b18c7b5891
linux-3.8: upgrade to 3.8.10
2013-04-30 09:27:02 +02:00
David Guibert
008bb6935c
update kernels 3.0, 3.2, 3.4, 3.8 and 3.9-rc
2013-04-26 09:12:35 +02:00
Mathijs Kwik
61b65080d9
linux-3.0: upgrade to 3.0.74
2013-04-19 14:53:00 +02:00
Mathijs Kwik
384de84023
linux-3.4: upgrade to 3.4.41
2013-04-19 14:53:00 +02:00
Michael Raskin
181fb52b14
Update Linux 3.8
2013-04-18 19:22:54 +04:00
Michael Raskin
873fa411b0
Update Linux 3.9rc
2013-04-18 19:22:54 +04:00
Mathijs Kwik
56afb97e87
linux-3.8: upgrade to 3.8.7
2013-04-14 00:35:39 +02:00
Mathijs Kwik
e20d9d0a97
linux-3.4: upgrade to 3.4.40
2013-04-14 00:35:39 +02:00
Mathijs Kwik
407f07e7e6
linux-3.0: upgrade to 3.0.73
2013-04-14 00:35:39 +02:00
Mathijs Kwik
7ab70b3a41
linux-3.2: upgrade to 3.2.43
2013-04-12 11:40:33 +02:00
Mathijs Kwik
a99ea7a0ee
linux-3.0: update to 3.0.72
2013-04-06 20:45:30 +02:00
Mathijs Kwik
4eff34e602
linux-3.4: upgrade to 3.4.39
2013-04-06 20:45:29 +02:00
Mathijs Kwik
8092bc2dd7
linux-3.8: upgrade to 3.8.6
2013-04-06 20:39:36 +02:00
Mathijs Kwik
4154fbfabd
linux-3.9: upgrade to 3.9-rc4
2013-04-04 22:18:07 +02:00
Mathijs Kwik
6ef9c6b1fc
linux-3.8: upgrade to 3.8.5
2013-04-04 22:18:07 +02:00
Mathijs Kwik
d0c6308da7
linux-3.4: upgrade to 3.4.38
2013-04-04 22:18:07 +02:00
Mathijs Kwik
37de48e43d
linux-3.0: upgrade to 3.0.71
2013-04-04 22:18:06 +02:00
Lluís Batlle i Rossell
bee99995d9
linux: update to 3.8.5
2013-03-31 09:27:40 +02:00
Eelco Dolstra
df92d96871
linux: Update to 3.2.42
2013-03-28 13:10:38 +01:00
Eelco Dolstra
f0d45e2e25
Linux kernel: Enable CONFIG_FHANDLE
...
This enables the open_by_handle_at(2) and name_to_handle_at(2)
syscalls. Systemd kind of requires this.
2013-03-27 23:00:02 +01:00
Eelco Dolstra
916c1adb84
Delete all kernels older than 2.6.39
...
Systemd doesn't support those kernels, so there is no point in keeping
them around.
2013-03-27 23:00:02 +01:00
Shea Levy
4fa4ab3a6e
Partially revert my recent kernelPackages changes
...
First, pass in `self' again so that overriding works properly (thanks
for pointing that out, @edolstra)
Second, instead of having linuxPackages*.kernel mean something different
inside the set and out, add a new attribute linuxPackages*.kernelDev,
which for the generic kernel is simply linuxPackages*.kernel but for the
manual-config kernel is the `dev' output (which has the build tree,
source tree, etc.)
The second change required trivial modifications in a bunch of
expressions, I verified that all of the linuxPackages* sets defined in
all-packages.nix have the same drv paths before and after the change.
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-24 07:45:00 -04:00
Mathijs Kwik
1f43786616
linux-3.0: upgrade to 3.0.70
2013-03-22 00:00:05 +01:00
Mathijs Kwik
7560812cfa
linux-3.2: upgrade to 3.2.41
2013-03-22 00:00:05 +01:00
Mathijs Kwik
b7bb81bc1f
linux-3.4: upgrade to 3.4.37
2013-03-22 00:00:05 +01:00
Mathijs Kwik
42d29c2afb
linux-3.8: upgrade to 3.8.4
2013-03-22 00:00:04 +01:00
Michael Raskin
2d2123b8d7
Update Linux 3.9-rc to rc3
2013-03-19 13:34:57 +04:00
Michael Raskin
6922ec9258
Linux-3.9-rc2
2013-03-16 16:27:19 +04:00
Michael Raskin
b5b4a4a5cf
Linux 3.8: update to 3.8.3
2013-03-16 10:51:03 +04:00
Eelco Dolstra
262c21ed46
Enable __ignoreNulls globally
2013-03-07 19:42:01 +01:00
Eelco Dolstra
f5052a8679
Fix extraBuildNativeInputs reference
2013-03-07 19:41:40 +01:00
Eelco Dolstra
674c51af3c
Merge remote-tracking branch 'origin/master' into stdenv-updates
2013-03-07 19:33:52 +01:00
Michael Raskin
3d28751740
Linux 3.9-rc1: set correct modDirVersion
2013-03-07 09:12:49 +04:00
Michael Raskin
b72134dc11
Linux: Add 3.9-rc1 as lowPrio (it has a regression fix 3.8.2 lacks)
2013-03-06 23:59:49 +04:00
Mathijs Kwik
060ba43e8f
linux-3.8: upgrade to 3.8.2
2013-03-04 22:40:33 +01:00
Mathijs Kwik
c7c6592f6f
linux-3.7: upgrade to 3.7.10
2013-03-04 22:40:23 +01:00
Mathijs Kwik
01c5d2d702
linux-3.4: upgrade to 3.4.35
2013-03-04 22:40:23 +01:00
Mathijs Kwik
04e883e496
linux-3.0: upgrade to 3.0.68
2013-03-04 22:40:22 +01:00
Michael Raskin
3b5b1be3cf
Linux 3.8.1
2013-03-02 20:16:08 +04:00
Shea Levy
0bdd926a32
linux/manual-config: put build and source trees into a separate 'dev' output.
...
This makes it possible to still build out-of-tree modules without making a system using this kernel depend on the full source and build tree at runtime.
Note that references to the source tree are removed from kernel modules after build.
Ideally, this would be accomplished by modifying the Makefile that puts the reference there in the first place, but I haven't tracked that down yet.
2013-03-02 09:54:08 -05:00
Shea Levy
b90b62e33b
linux/manual-config: Move configfile symlinking to configurePhase.
...
It makes more semantic sense there than in unpackPhase, as that symlink is _how_ we configure the kernel
2013-03-02 07:55:07 -05:00
Shea Levy
8ce1295ad3
linux/manual-config: ignore nulls.
...
There's no need to set the postFixup env var at all if we're not modular.
2013-03-02 07:51:12 -05:00
Vladimír Čunát
26af997d41
Merge branch 'master' into stdenv-updates
...
Conflicts (simple):
pkgs/applications/networking/browsers/chromium/default.nix
pkgs/development/libraries/libsoup/default.nix
pkgs/os-specific/linux/kernel/manual-config.nix
pkgs/os-specific/linux/qemu-kvm/default.nix
2013-03-02 10:41:53 +01:00
aszlig
94fe64b3eb
manual-kernel: Add bc to buildNativeInputs.
...
As timeconst.pl was replaced by a bc script in the merge window for kernel 3.9,
we also need bc during build time, for more information about the reasons,
please have a look at the following commit:
torvalds/linux@70730bca13
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-02-28 18:57:03 +01:00
Eelco Dolstra
bf8f39ff9b
linux: Update to 3.2.39
...
CVE-2013-0228
2013-02-27 14:47:40 +01:00
Peter Simons
5f32207dfc
Merge remote-tracking branch 'origin/master' into stdenv-updates.
2013-02-24 19:27:08 +01:00
Lluís Batlle i Rossell
17d289498f
linux: Typo: CFG80211_WEXT
2013-02-24 12:07:14 +01:00
Lluís Batlle i Rossell
0961084afb
linux 3.7, 3.8: Enabling CFG80211_WEXT (for ipw2200)
...
My computer with a ipw2200 nic needs that, to have the
ipw2200 driver.
2013-02-23 15:40:20 +01:00
Shea Levy
afe3758b1b
Remove myself from kernel maintainers.
...
I use manual config now.
2013-02-21 12:39:25 -05:00
Shea Levy
acd4299e75
Merge branch 'master' into stdenv-updates
...
Conflicts:
pkgs/applications/networking/browsers/chromium/default.nix
pkgs/top-level/all-packages.nix
Merge conflicts seemed trivial, but a look from viric and aszlig would be nice.
2013-02-21 11:13:30 -05:00
David Guibert
059c30bf9d
add kernel 3.8
2013-02-21 08:53:16 +01:00
Shea Levy
aacca1902c
Merge branch 'upstream-master' into stdenv-updates
2013-02-19 10:09:39 -05:00
Shea Levy
a4d5e4a9e2
Linux 3.7.9
2013-02-18 11:35:22 -05:00
Shea Levy
0e4c3a1fc9
Linux 3.4.32
2013-02-18 11:34:42 -05:00
Shea Levy
f4a51bbdd6
Linux 3.0.65
2013-02-18 11:34:19 -05:00
Eelco Dolstra
2aa6f262cb
Merge remote-tracking branch 'origin/master' into stdenv-updates
2013-02-15 13:36:34 +01:00
Shea Levy
af26af6fc7
Remove EOL'd Linux 3.6
2013-02-14 14:33:42 -05:00
Shea Levy
0ad870eb5e
Remove EOL'd Linux 3.5
2013-02-14 14:32:44 -05:00
Shea Levy
c23084906b
Remove EOL'd Linux 3.3
2013-02-14 14:30:31 -05:00
Shea Levy
0178a3b7b1
Remove EOL'd Linux 3.1
2013-02-14 14:28:53 -05:00
Shea Levy
ca59489e2b
Linux 3.7.8
2013-02-14 14:25:19 -05:00
Shea Levy
e531913aca
Linux 3.4.31
2013-02-14 14:25:11 -05:00
Shea Levy
2d23eb3a19
Linux 3.0.64
2013-02-14 14:24:57 -05:00
Lluís Batlle i Rossell
00251af191
SUNRPC_DEBUG doesn't work on linux 3.3
...
It's as if the option isn't there.
http://hydra.nixos.org/build/4015233
2013-02-14 20:08:08 +01:00
Shea Levy
3a8631201e
Linux 3.4.30
2013-02-11 12:57:40 -05:00
Shea Levy
45e877f706
Linux 3.0.63
2013-02-11 12:53:43 -05:00
Shea Levy
170b0c9e2e
Linux 3.7.7
2013-02-11 12:34:14 -05:00
Eelco Dolstra
76a5e89a1c
linux: Update to 3.2.38
2013-02-11 15:34:30 +01:00
Lluís Batlle i Rossell
c4216ed1a0
linux kernel: enabling SUNRPC_DEBUG
...
Much easier debugging of nfs issues.
If I understand correctly, it was enabled in 3.2 and below; I enable it for
next kernels.
2013-02-07 16:21:03 +01:00
Shea Levy
5336c82882
Linux 3.7.6
2013-02-04 06:58:19 -05:00
Shea Levy
249b3ea5ef
Linux 3.4.29
2013-02-04 06:58:07 -05:00
Shea Levy
c32435381e
Linux 3.0.62
2013-02-04 06:57:46 -05:00
Lluís Batlle i Rossell
45de66b2b1
Update the raspberry pi kernel to one newer.
2013-01-29 20:17:32 +01:00
Eelco Dolstra
97c5ab3a6d
linux-2.6.32-xen: Remove
...
Hasn't built in a long time and is obsolete anyway.
2013-01-29 12:43:53 +01:00
Shea Levy
2afdaf0e82
Linux 3.7.5
2013-01-28 00:12:35 -05:00
Shea Levy
4bf80b462d
Linux 3.4.28
2013-01-28 00:12:24 -05:00
viric
39fa2f72ab
Merge pull request #253 from rickynils/fscache
...
linux 3.2-3.7: enable NFS_FSCACHE and CIFS_FSCACHE
2013-01-27 12:39:25 -08:00
Rickard Nilsson
1886d1db6a
Merge remote-tracking branch 'upstream/master' into stdenv-updates
2013-01-20 16:53:21 +01:00
David Guibert
d54c8c4b83
update kernels: 3.0.59, 3.4.26 and 3.7.3
2013-01-18 08:31:25 +01:00
Eelco Dolstra
8faee15126
linux: Update to 3.2.37
2013-01-17 17:21:31 +01:00
Eelco Dolstra
5bb548d2e4
Merge remote-tracking branch 'origin/master' into stdenv-updates
2013-01-17 14:19:14 +01:00
Mathijs Kwik
2d56a2cc15
linux-3.7: upgrade to 3.7.2
2013-01-13 14:30:55 +01:00
Mathijs Kwik
91d4d56703
linux-3.4: upgrade to 3.4.25
2013-01-13 14:30:55 +01:00
Mathijs Kwik
cf546347e5
linux-3.0: upgrade to 3.0.58
2013-01-13 14:30:55 +01:00
Rickard Nilsson
97d6292deb
linux 3.2-3.7: enable NFS_FSCACHE and CIFS_FSCACHE
...
NFS_FSCACHE and CIFS_FSCACHE are required to enable the local cache support for
NFS and CIFS (the 'fsc' mount option). The reasoning for enabling it from 3.2
and forward is that at least Ubuntu 12.04 (linux 3.2) has it turned on. Could
probably be enabled for earlier kernels too.
2013-01-09 18:14:54 +01:00
Peter Simons
9e9cd7b529
Merge branch 'master' into stdenv-updates.
2013-01-04 21:00:53 +01:00
Eelco Dolstra
99897218f4
linux: Update to 3.2.36
2013-01-04 14:19:00 +01:00
Lluís Batlle i Rossell
67aa9243f0
Merge branch 'stdenv-updates' into pi-stdenv-updates
...
Conflicts:
pkgs/development/compilers/gcc/4.7/default.nix
Trivial.
2012-12-28 23:30:53 +01:00
Lluís Batlle i Rossell
b58780c43d
Merge remote-tracking branch 'eelco/master' into stdenv-updates
...
Conflicts:
pkgs/development/compilers/gcc/4.7/default.nix
Trivial solution.
2012-12-28 23:28:16 +01:00
Lluís Batlle i Rossell
719ba63004
Merge branch 'stdenv-updates' into pi-stdenv-updates
...
Conflicts:
pkgs/development/compilers/gcc/4.6/default.nix
pkgs/development/compilers/gcc/4.7/default.nix
The 4.7 had some weird parameters added in crossAttrs; I've removed
them, but I don't understand where they come from.
2012-12-28 20:14:01 +00:00
Eelco Dolstra
ab3eeabfed
Rename buildNativeInputs -> nativeBuildInputs
...
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
5be0a9acd7
Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
...
This is for consistency with terminology in stdenv (and the terms
"hostDrv" and "buildDrv" are not very intuitive, even if they're
consistent with GNU terminology).
2012-12-28 19:08:19 +01:00
Lluís Batlle i Rossell
ab2520c383
Adding linux-3.6-rpi
...
I picked the change from
7b4d69eeff
2012-12-27 21:29:56 +00:00
Shea Levy
9247552a91
Linux 3.7.1
2012-12-17 17:45:01 -05:00
Shea Levy
baa5ebfbdf
Linux 3.0.57
2012-12-17 17:43:02 -05:00
Shea Levy
55196223c7
Linux 3.4.24
2012-12-17 17:42:38 -05:00
Shea Levy
cc12516cf0
Linux 3.6.11
2012-12-17 17:33:44 -05:00
Lluís Batlle i Rossell
faf821e501
Adding USB cameras to linux 3.7
...
Details changed since the 3.6 config to get this enabled.
2012-12-17 11:52:47 +01:00
aszlig
639edcb829
manual-kernel: Fix handling spaces in readConfig.
...
The previos version did a for loop over the output of set, which spits out _all_
defined variables and their contents. This not only is dangerous if there is a
variable starting with CONFIG_ but also can't handle whitespace, as the IFS is
set to any (horizontal _and_ vertical) whitespace by default.
So, imagine (actually don't imagine, something like this is the case in a lot of
kernel configuration files) you have the following variable:
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi ..."
A loop with for and the default IFS would result in the following variable
pieces:
0: CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi
1: -fcall-saved-rsi
2: ..."
This obviously leads to the problem that this config variable is being cut off
at the first whitespace.
Another downside of this approach is that set not only returns variables but
functions as well. This could lead to quite a lot of unexpected behaviour and
confusion.
So the new approach doesn't source the kernel configuration anymore but uses
`read` to parse the file line-by line, setting IFS to '=', thus splitting all
configuration lines into key/value pairs.
Using parameter expansion, we ensure that we only read lines starting with
"CONFIG_". This particularily has the advantage of not being bash-specific,
should we choose to change to a different default shell someday.
Now, after we got a correct "CONFIG_" line, we're using a temporary variable to
split off the first quote from the result. Particularily the reason behind this
is shell compatibility again, as ${${foo#"}%"} only works in Bash, Zsh and
whatnot but not in plain SH.
And within the next line we obviously insert the no_firstquote variable without
it's last quote removed.
But, what about escaping?
First of all, if we'd just eval the $val variable, we would correctly unescape
the value, but this has the downside that variables within the content would be
expanded, for example look at this:
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
Well, obviously this is a bad example at the Nix sense, but just to show that
variables within kernel configuration entries aren't impossible.
And second, which would have been a show stopper if \" would be within $val: It
simply would end up being an invalid Nix expression, because \" would end up as
a ploin " within a double quoted string.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-12-13 22:54:57 +01:00
Mathijs Kwik
caf561d41a
aufs3: upgrade to 1210 release, add linux-3.7 support
2012-12-13 14:00:28 +01:00
Shea Levy
9ddd1cc78b
Linux 3.7
...
Kernel configuration succeeds, I'll let hydra test the build
2012-12-11 11:57:04 -05:00
Shea Levy
ce5ba30f64
Linux 3.6.10
2012-12-10 19:26:36 -05:00
Shea Levy
ed994dcbe2
Linux 3.4.23
2012-12-10 19:26:20 -05:00
Shea Levy
81a856c878
Linux 3.0.56
2012-12-10 19:25:00 -05:00
Eelco Dolstra
88ca46bfa0
linux: Update to 3.2
2012-12-07 13:24:40 +01:00
Mathijs Kwik
fe070086fb
linux-3.6: upgrade to 3.6.9
2012-12-04 12:02:36 +01:00
Mathijs Kwik
38740214cb
linux-3.4: upgrade to 3.4.21
2012-12-04 12:02:36 +01:00
Mathijs Kwik
47362f67ea
linux-3.0: upgrade to 3.0.54
2012-12-04 12:02:36 +01:00
Shea Levy
9b0879bf85
Linux 3.6.8
2012-11-26 15:42:07 -05:00
Shea Levy
d4d1100123
Linux 3.4.20
2012-11-26 15:41:55 -05:00
Shea Levy
1180478089
Linux 3.0.53
2012-11-26 15:37:06 -05:00
Mathijs Kwik
3ee85e3a8d
linux-3.6: upgrade to 3.6.7
2012-11-18 11:13:04 +01:00
Mathijs Kwik
6a46699855
linux-3.4: upgrade to 3.4.19
2012-11-18 11:13:04 +01:00
Mathijs Kwik
0404c409cc
linux-3.2: upgrade to 3.2.34
2012-11-18 11:13:04 +01:00
Mathijs Kwik
d45b239dcc
linux-3.0: upgrade to 3.0.52
2012-11-18 11:13:03 +01:00
Mathijs Kwik
f215bda5b4
linux-2.6.32: upgrade to 2.6.32.60
2012-11-18 11:13:03 +01:00
David Guibert
c604ff045e
add cifs_timeout to kernel 3.5
2012-11-15 07:41:11 +01:00
Lluís Batlle i Rossell
bb3b603ea7
mips linux: Adding a patch to fix an ext3 bug in 3.5 and 3.6
...
I made it apply to all Mips, although the bug works only for n32 and o32 ABIs.
We don't support any n64 by now.
2012-11-06 00:16:13 +01:00
Mathijs Kwik
b56a899320
linux-3.6: upgrade to 3.6.6, contains fix for recent ext4 corruption
2012-11-05 21:11:21 +01:00
Mathijs Kwik
97c5b93402
linux-3.4: kernel 3.4.18, contains fix for recent ext4 corruption
2012-11-05 21:11:21 +01:00
Mathijs Kwik
a1c54023ce
linux-3.0: upgrade to 3.0.51
2012-11-05 21:11:20 +01:00
Eelco Dolstra
1d384b0fe0
linux: Update to 3.2.33
2012-10-31 13:48:04 +01:00
Shea Levy
9f221073c2
Linux 3.6.4
2012-10-28 22:13:59 -04:00
Shea Levy
1da5d34957
Linux 3.4.16
2012-10-28 22:09:25 -04:00
Shea Levy
d843ec6b28
Linux 3.0.49
2012-10-28 22:05:33 -04:00
Shea Levy
125f6a02a4
Linux 3.6.3
2012-10-21 22:40:13 -04:00
Shea Levy
e71103deef
Linux 3.4.15
2012-10-21 22:38:53 -04:00
Shea Levy
c01c02a74b
Linux 3.0.47
2012-10-21 22:36:33 -04:00
Eelco Dolstra
76c010b928
linux: Update to 3.2.32
2012-10-18 12:22:17 -04:00
Mathijs Kwik
fb62b5fb91
linux-3.0: upgrade to 3.0.46
2012-10-13 12:22:48 +02:00
Mathijs Kwik
444b136eee
linux-3.4: upgrade to 3.4.14
2012-10-13 12:22:47 +02:00
Mathijs Kwik
86693f1c5c
linux-3.5: upgrade to 3.5.7
2012-10-13 12:22:47 +02:00
Mathijs Kwik
12ad270d2a
linux-3.6: upgrade to 3.6.2
2012-10-13 12:22:47 +02:00
Mathijs Kwik
5711282fd8
linux kernels: mark kernels that can disable the conntrack-helper
2012-10-13 12:22:47 +02:00
Mathijs Kwik
8ea8105071
linux kernels: mark kernels with rpfilter support
2012-10-13 12:22:47 +02:00
Eelco Dolstra
ebd2b0e1ab
linux: Update to 3.2.31
2012-10-10 21:51:36 -04:00
Mathijs Kwik
8f480e3035
linux-3.6: upgrade to 3.6.1
...
- enable aufs3 patch
- check other patches needing upgrade/enable
2012-10-09 16:05:24 +02:00
Mathijs Kwik
2f39ec92e3
linux-3.5: upgrade to 3.5.6
2012-10-09 16:05:23 +02:00
Mathijs Kwik
76aa428ac6
linux-3.4: upgrade to 3.4.13
2012-10-09 16:05:23 +02:00
Mathijs Kwik
332c6de736
linux-3.0: upgrade to 3.0.45
2012-10-09 16:05:23 +02:00
Michael Raskin
396de23762
Enable V4L2 modules
2012-10-04 15:35:21 +04:00
Shea Levy
359355e150
Linux 3.6
2012-10-01 07:01:31 -04:00
Lluis Batlle
22e050f8c6
linux: In case of an ARM kernel build, add extra include directories
...
They are required in order to build some modules, like that of
cryptodev.
2012-09-23 19:59:37 +02:00
Eelco Dolstra
0874615fcc
Remove User Mode Linux
...
It hasn't built in a long time and it's obsolete IMHO.
2012-09-21 13:32:37 -04:00
Eelco Dolstra
50aac3247a
linux: Update to 3.2.30
2012-09-21 13:30:00 -04:00
Mathijs Kwik
ce3e42df72
linux aufs3: upgrade patch and utils to 20120827 for all 3.x kernels
2012-09-16 13:05:52 +02:00
Mathijs Kwik
7b92af45f8
linux-3.4: upgrade to 3.4.11
2012-09-16 13:05:52 +02:00
Mathijs Kwik
c9b24ba210
linux-3.0: upgrade to 3.0.43
2012-09-16 13:05:52 +02:00
Lluís Batlle i Rossell
95fa07e183
linux-3.5: Updating to 3.5.4
2012-09-15 21:57:05 +02:00
Eelco Dolstra
080c0a5c20
linux: Update to 3.2.29
2012-09-13 10:10:26 -04:00
Mathijs Kwik
d37b642769
newer kernels need cifs-utils to mount CIFS filesystems
...
the kernel itself (and busybox's cifs mount code) are no longer able
to do this in some/most cases and will error out saying:
"CIFS VFS: connecting to DFS root not implemented yet""
Nixos' qemu-vm target is hurt by this, as it wants to mount /nix/store
via cifs very early in the boot process.
this commit just marks the problematic kernels.
An associated commit in nixos will use this info to fix the problem.
2012-08-30 18:25:49 +02:00
Mathijs Kwik
6fabe047c6
linux-3.4: upgrade to 3.4.10
2012-08-30 18:25:49 +02:00
Mathijs Kwik
8f1a34e228
linux-3.5: upgrade to 3.5.3
2012-08-30 18:25:49 +02:00
Mathijs Kwik
192b29181b
linux-3.4: upgrade to 3.4.9
...
- aufs patch: upgrade to latest stable 3.4
2012-08-21 10:27:13 +02:00
Mathijs Kwik
6e9a6a5924
linux-3.3: upgrade to 3.3.8
...
- aufs patch: upgrade to latest stable 3.3
2012-08-21 10:26:44 +02:00
Eelco Dolstra
e91a4fb1e4
linux: Update to 3.2.28
2012-08-20 09:56:39 -04:00
Mathijs Kwik
03228d60fe
linux-3.5: upgrade aufs3 patch to latest stable
2012-08-16 12:00:25 +02:00
Mathijs Kwik
05ed13dc49
linux-3.5: upgrade to 3.5.2
2012-08-16 12:00:04 +02:00
Shea Levy
839c58f5b1
linux/manual-config: Cleanup
2012-08-11 21:21:06 -04:00
Shea Levy
9ac776ab22
linux/manual-config.nix: Set sourceRoot directly to the pre-unpacked source rather than using a symlink
2012-08-11 21:07:37 -04:00
Shea Levy
0c18551c93
linux/manual-config: Do source unpacking/patching in a separate derivation.
...
Since we keep the source in the kernel build anyway, no space is wasted by having a separate store path for the unpacked source. The upside is that the same source can be used to build the kernel multiple times, or generate configurations for later kernel builds, without going through the (fairly long) unpack and patch process multiple times.
2012-08-11 21:02:30 -04:00
Eelco Dolstra
e69a6c57bc
linux: Update to 3.2.27
2012-08-10 18:54:10 -04:00
Lluís Batlle i Rossell
691d069af9
perf: make it take the linux patches
...
Otherwise the previous patch I added does not get used for perf.
2012-08-10 10:03:53 +02:00
Lluís Batlle i Rossell
734bb84f09
linux-3.5: fix perf build with a patch from the perf mailing list
2012-08-10 09:41:43 +02:00
Mathijs Kwik
cbb2c3abf2
linux-3.5: upgrade to 3.5.1
2012-08-10 08:27:09 +02:00
Shea Levy
21a200d6b2
linux/manual-config: Fix depmod step, remove false comment
2012-08-07 06:36:50 -04:00
Eelco Dolstra
d6cc420fd7
linux: Update to 3.2.26
2012-08-06 09:57:21 -04:00
Mathijs Kwik
fb99c24d7c
kernel-3.5: add aufs3 patch
2012-08-05 01:55:31 +02:00
Shea Levy
1935f7e5b8
linux/manual-config: Add informative comment
2012-08-03 08:33:31 -04:00
Shea Levy
1b7264d349
linux/manual-config.nix: When stripping, use xargs -r in case CONFIG_MODULES=y but no modules are actually installed
2012-08-01 23:32:02 -04:00
Shea Levy
4aba2bb3f5
linux/manual-config: Use kernelPatches like generic.nix, not a plain patches list
2012-08-01 23:02:17 -04:00
Shea Levy
fd330e9315
linux/manual-config: Install the kernel with the name given in stdenv.platform.kernelTarget
2012-08-01 15:39:49 -04:00
Shea Levy
ad49d92899
linux/manual-config: When installing firmware, create the firmware directory prior to make *_install.
...
It is probably a kernel build system bug that this is necessary, but it's not really a big deal either.
2012-08-01 11:56:12 -04:00
Shea Levy
3f4fd55c63
linux/manual-config: Remove unnecessary quotation
2012-08-01 11:26:30 -04:00
Shea Levy
443b9bc936
linux/kernel/manual-config: use isDisabled instead of isNo in case FIRMWARE_IN_KERNEL is left unspecified
2012-08-01 11:21:32 -04:00
Shea Levy
3dbfca0d7f
linux/manual-config: Change from 'features' to 'config' and fix build when firmware is installed.
...
Instead of manually adding which 'features' a kernel has based on its config here, just generate a nixexpr representation of the whole config and let places that need it (e.g. NixOS modules) decide how to map config options to features.
Note that if your kernel requires firmware whose hex file sits directly in ${src}/firmware rather than in a subdirectory thereof, you may need this patch for now: https://lkml.org/lkml/2012/7/31/724
2012-08-01 06:18:03 -04:00
Mathijs Kwik
b5d4e8a17a
linux-3.4: upgrade to 3.4.7
2012-07-31 10:26:18 +02:00
Shea Levy
da4c64026a
linux/kernel/manual-config: Greatly simplify config parser
2012-07-29 15:54:31 -04:00
Shea Levy
298b5ccdab
linux/kernel/manual-config: Only import from derivation when explicitly asked to
2012-07-29 13:26:39 -04:00
Shea Levy
f0694a3151
linux/kernel/manual-config: Do all of the config file parsing in the imported-from derivation
2012-07-29 13:24:05 -04:00
Shea Levy
6585646d41
linux/kernel/manual-config: Add meta
2012-07-29 04:59:38 -04:00
Shea Levy
46fa5ab105
linux/kernel/manual-config: Relink the symlink from the build directory to the source directory after the source directory is moved
2012-07-29 04:56:56 -04:00
Shea Levy
f7b6f01da1
linux/kernel/manual-config: Cleanup
2012-07-29 04:52:34 -04:00
Shea Levy
98341e0bda
linux/kernel/manual-config: Use the kernel's make install
2012-07-29 04:48:50 -04:00
Shea Levy
a9a7085684
linux/kernel/manual-config: Allow manually specifying features, cleanup
2012-07-29 04:31:40 -04:00
Shea Levy
6bb20c7ba2
linux/kernel/manual-config: Strip modules after install
2012-07-29 04:23:28 -04:00
Shea Levy
6b18ab5365
linux/kernel/manual-config: Remove useless INSTALL_MOD_STRIP variable
2012-07-29 04:07:43 -04:00
Shea Levy
6e3b17feec
linux/kernel/manual-config: Run depmod after build
2012-07-29 04:01:40 -04:00
Shea Levy
48b5e8eee7
linux/kernel/manual-config: Build in a separate directory and move the build and source trees into $out
2012-07-29 03:49:52 -04:00
Shea Levy
e42a6c5f46
linux/kernel/manual-config: Move the build directory to $out instead of symlinking it
2012-07-29 03:27:09 -04:00
Shea Levy
a36456ca25
linux/kernel-manual-config: Simplify the lines.nix runCommand now that I know how to escape properly
2012-07-29 03:09:44 -04:00
Shea Levy
5a9d9f4f45
linux/kernel/manual-config: Properly escape makeFlagsArray and installFlagsArray
2012-07-29 02:57:58 -04:00
Shea Levy
471b4bc9bb
MODLIB needs to be passed directly to make
2012-07-29 02:49:31 -04:00
Shea Levy
aa40e0ff59
linux/kernel/manual-config: The default 'make install' tries to do something with LILO, so install the kernel manually
2012-07-29 01:57:59 -04:00
Shea Levy
dfa750732d
linux/kernel/manual-config: Properly set env vars referencing $out
2012-07-29 01:34:27 -04:00
Shea Levy
ff728a6365
The kernel build needs hostname and perl
2012-07-29 01:29:56 -04:00
Shea Levy
bf7467cbb1
Add first attempt at linux/kernel/manual-config.
...
The goal of this function is to make it possible to build a kernel with a user provided .config.
As a secondary goal, it will extract NixOS-relevant features from the config automatically.
As a tertiary goal, the build will aim to be simpler than the current generic kernel builder.sh.
Unfortunately, that simplicity is offset by the complexity of the feature extraction, especially since nix segfaults when trying to split the file into lines (so an import from a derivation is used)
2012-07-29 01:23:51 -04:00
Eelco Dolstra
1b0abce6de
linux: Update to 3.2.24
2012-07-26 11:32:53 -04:00
Shea Levy
8c9bef04a6
linux-3.5: Enable XEN_DOM0 support
2012-07-24 02:26:04 +00:00
Shea Levy
053f641d16
Add linux-3.5
2012-07-22 11:33:00 -04:00
Mathijs Kwik
f3b43a268d
linux-3.4: update to 3.4.6
2012-07-20 13:37:46 +02:00
Shea Levy
d04cbc85cf
linux-3.4: Update to 3.4.5
2012-07-16 20:26:27 -04:00
Eelco Dolstra
dc5ba23ab4
linux: Update to 3.2.23
2012-07-14 17:41:52 -04:00
Shea Levy
6bf409999f
linux-3.4: Add the improved transaction scheduler for USB 2.0
...
This is needed for new Apple trackpads
2012-07-14 12:17:28 -04:00
Shea Levy
685acc6ef8
Linux 3.4: Enable options to make b43 work with bcm4331
2012-07-13 22:48:43 -04:00
Eelco Dolstra
0b07259865
linux: Update to 3.2.22
2012-07-10 09:18:12 -04:00
Peter Simons
82b2588e35
Linux no-xsave.patch: commit patch into Nixpkgs since fetchurl no longer works
...
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
2012-07-02 16:53:53 +02:00
Lluís Batlle i Rossell
876ff45fd5
linux perf: Allowing perf to build with its gtk interface.
...
Disabled by default, it can be enabled using overrides.
2012-06-27 22:23:15 +02:00
Mathijs Kwik
f97a277efc
linux kernel: 3.4.2 -> 3.4.4
2012-06-24 10:03:09 +02:00
Eelco Dolstra
023e8f2fb9
* Linux 3.2.21.
...
svn path=/nixpkgs/trunk/; revision=34570
2012-06-20 12:42:56 +00:00
Eelco Dolstra
6551b822af
* Enable devtmpfs since recent udev (systemd) versions need it.
...
svn path=/nixpkgs/trunk/; revision=34565
2012-06-19 19:10:54 +00:00
Eelco Dolstra
1582276602
* Drop some old obsolete kernels and unused patches.
...
svn path=/nixpkgs/trunk/; revision=34558
2012-06-19 15:56:17 +00:00
Eelco Dolstra
cf6db2bbac
* "powermanagement" is not a word.
...
svn path=/nixpkgs/trunk/; revision=34557
2012-06-19 15:01:49 +00:00
Lluís Batlle i Rossell
a5c2318d08
Fixing the mips patch for sigill fpu cases.
...
svn path=/nixpkgs/trunk/; revision=34527
2012-06-16 15:37:04 +00:00
Lluís Batlle i Rossell
3874e5812d
Adding two kernel patches for mips, that make the life easier on loongson2f
...
(less sigill, less sigbus). Related to bad handling of FPU instructions.
I apply them only to linux 3.4, although I think they can apply to many older kernels too.
svn path=/nixpkgs/trunk/; revision=34522
2012-06-16 10:49:03 +00:00
Eelco Dolstra
4cfe058218
* Linux 3.2.20.
...
svn path=/nixpkgs/trunk/; revision=34486
2012-06-12 22:27:55 +00:00
Mathijs Kwik
3d4ab75229
linux kernel headers: copy generated headers as well
...
as they are referenced from other kernel headers, this seems like the
best thing to do. Ubuntu seems to do so too.
Fixes issues with nvidia's binary driver and bbswitch on kernels > 3.3
svn path=/nixpkgs/trunk/; revision=34469
2012-06-11 17:41:11 +00:00
Mathijs Kwik
46beccef20
linux kernel aufs (needed for livecd): added to 3.4
...
upgraded 3.3 version to stable
svn path=/nixpkgs/trunk/; revision=34468
2012-06-11 17:41:05 +00:00
Lluís Batlle i Rossell
1697485678
Updating linux 3.4.1 to 3.4.2
...
svn path=/nixpkgs/trunk/; revision=34423
2012-06-10 15:24:28 +00:00
Lluís Batlle i Rossell
9ebd661fb8
Updating linux 3.4 to 3.4.1
...
svn path=/nixpkgs/trunk/; revision=34411
2012-06-09 20:25:48 +00:00
Eelco Dolstra
dd6ab8d7bf
* Linux 3.2.19.
...
svn path=/nixpkgs/trunk/; revision=34382
2012-06-08 13:11:38 +00:00
Lluís Batlle i Rossell
8805bf1ba5
'perf' wants flex and bison, since linux 3.4.
...
svn path=/nixpkgs/trunk/; revision=34210
2012-05-22 17:32:23 +00:00
Lluís Batlle i Rossell
5c393a469b
Adding linux 3.4.
...
svn path=/nixpkgs/trunk/; revision=34209
2012-05-22 15:29:51 +00:00
Eelco Dolstra
690051abbc
* Linux 3.2.18.
...
svn path=/nixpkgs/trunk/; revision=34198
2012-05-21 18:14:47 +00:00
Eelco Dolstra
da01b6db17
* Linux 3.2.17.
...
svn path=/nixpkgs/trunk/; revision=34073
2012-05-12 19:55:39 +00:00
Shea Levy
b64a1dac46
Linux 3.3.6
...
svn path=/nixpkgs/trunk/; revision=34070
2012-05-12 17:50:19 +00:00
Eelco Dolstra
196c30de9b
* Linux 3.0.31.
...
svn path=/nixpkgs/trunk/; revision=34036
2012-05-09 21:49:39 +00:00
Shea Levy
829e78f78f
Linux 3.3.5
...
svn path=/nixpkgs/trunk/; revision=34011
2012-05-07 22:24:35 +00:00
Shea Levy
497a4afe72
We no longer need the bootstub config patch
...
svn path=/nixpkgs/trunk/; revision=33987
2012-05-05 14:26:20 +00:00
Shea Levy
242e54dab6
Linux 3.3.4 (not compile tested, sorry
...
svn path=/nixpkgs/trunk/; revision=33956
2012-04-30 17:31:39 +00:00
Eelco Dolstra
7716976345
* Linux 3.2.16.
...
svn path=/nixpkgs/trunk/; revision=33908
2012-04-24 13:54:33 +00:00
Shea Levy
50a0b839af
Linux 3.3.3
...
This incorporates the btrfs fix, so remove that patch. Also, I will test
that this builds after committing, and fix it if it fails
svn path=/nixpkgs/trunk/; revision=33885
2012-04-23 00:12:47 +00:00
Nicolas Pierron
82b308bf11
Add armv7l support.
...
svn path=/nixpkgs/trunk/; revision=33798
2012-04-15 23:41:25 +00:00
Eelco Dolstra
73d98c07c2
* Linux 3.2.15.
...
svn path=/nixpkgs/trunk/; revision=33794
2012-04-15 16:23:08 +00:00
Lluís Batlle i Rossell
8ebd53f45f
Updating linux to 3.3.2
...
svn path=/nixpkgs/trunk/; revision=33779
2012-04-13 18:09:27 +00:00
Lluís Batlle i Rossell
b35d2c6b89
Adding a patch for linux 3.3 for btrfs regarding ENOSPC.
...
This should solve the problem I had, where I could not boot either 3.3 or 3.3.1
in my system, as I got ENOSPC all the time.
svn path=/nixpkgs/trunk/; revision=33714
2012-04-09 21:02:17 +00:00
Lluís Batlle i Rossell
5dfcf18801
Adding a minimal FTRACE to the 3.2 and 3.3 linux kernels, that should not
...
affect the kernel performance, but allow more tracing.
svn path=/nixpkgs/trunk/; revision=33713
2012-04-09 21:01:00 +00:00
Eelco Dolstra
8e160830c1
* Doh.
...
svn path=/nixpkgs/trunk/; revision=33620
2012-04-05 13:09:30 +00:00
Eelco Dolstra
9a1080d7ea
* Enable NUMA. On our 48-core machines this cut the duration of a
...
kernel build from 12m27s to 4m42s.
svn path=/nixpkgs/trunk/; revision=33616
2012-04-05 12:26:13 +00:00
Shea Levy
8cd391b130
Whoops, don't need modDirVersion for 3.3.1
...
svn path=/nixpkgs/trunk/; revision=33547
2012-04-02 20:18:52 +00:00
Shea Levy
8585f4000b
Linux 3.3.1
...
svn path=/nixpkgs/trunk/; revision=33546
2012-04-02 20:15:19 +00:00
Shea Levy
1e8dfa4e2c
Linux 3.3 release
...
svn path=/nixpkgs/trunk/; revision=33260
2012-03-19 15:36:40 +00:00
Shea Levy
dfcd4dd559
Add a kernel patch for the efi boot stub to read a config file when booted without arguments, and base removable media booting off of that patch
...
The patch is currently being discussed on LKML and hopefully will be included
in mainline in some form in the future. Note that booting from the livecd has
to do a lot of work before anything is output to the console, so if the drive
is still busy don't assume the boot has hanged
svn path=/nixpkgs/trunk/; revision=33235
2012-03-18 17:14:52 +00:00
Eelco Dolstra
a3b099d279
* Latest 3.0.x, 3.1.x and 3.2.x kernels.
...
svn path=/nixpkgs/trunk/; revision=33151
2012-03-16 12:08:41 +00:00