Commit graph

546 commits

Author SHA1 Message Date
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
Shea Levy 0845f6618c Add an 'efiBootStub' kernel feature to be used by NixOS
svn path=/nixpkgs/trunk/; revision=33137
2012-03-16 02:45:47 +00:00
Shea Levy 76832793f2 Linux 3.3-rc7
svn path=/nixpkgs/trunk/; revision=33007
2012-03-12 02:19:05 +00:00
Yury G. Kudryashov 38e3d7bc86 svn merge ^/nixpkgs/trunk
Not merged r32497 (tree conflict, glibc GNU Hurd update). Ludovic, could you
please look at this?

svn path=/nixpkgs/branches/stdenv-updates/; revision=32520
2012-02-23 20:06:21 +00:00
Peter Simons 1ee7c4250f linux-3.2.nix: updated to version 3.2.7
svn path=/nixpkgs/trunk/; revision=32517
2012-02-23 18:07:09 +00:00
Peter Simons 9db6840814 linux kernel 3.2 : added aufs patches
svn path=/nixpkgs/trunk/; revision=32483
2012-02-22 20:29:18 +00:00
Florian Friesdorf 77a8ea6fbd merge powertop kernel config into default kernel config
svn path=/nixpkgs/trunk/; revision=32472
2012-02-22 12:12:00 +00:00
Eelco Dolstra 0beb6c6266 * Remove some obsolete patches.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32379
2012-02-17 23:53:49 +00:00
Eelco Dolstra eae4c3afab * Get rid of some old kernels that no longer compile.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32378
2012-02-17 23:47:00 +00:00
Eelco Dolstra acee1c4e5a * Latest 2.6.27 and 2.6.32 kernels.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32376
2012-02-17 22:31:37 +00:00
Yury G. Kudryashov 5144a19987 svn merge ^/nixpkgs/trunk
There were a few merge conflicts due to ensureDir->mkdir -p migration

svn path=/nixpkgs/branches/stdenv-updates/; revision=32174
2012-02-10 10:24:30 +00:00
Arie Middelkoop f1a6497357 Linux kernel 3.2.2 -> 3.2.4.
svn path=/nixpkgs/trunk/; revision=32096
2012-02-07 09:13:45 +00:00
Yury G. Kudryashov 3256c40575 svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=31878
2012-01-27 11:48:58 +00:00
Arie Middelkoop c4fdb28b80 Stable kernel 3.2.2 released today.
svn path=/nixpkgs/trunk/; revision=31874
2012-01-26 23:25:39 +00:00
Yury G. Kudryashov 5b132f6e96 svn merge ^/nixpkgs/trunk
Conflicts: cups, all-packages.nix (gcc45_debug)

svn path=/nixpkgs/branches/stdenv-updates/; revision=31863
2012-01-26 15:27:03 +00:00
Lluís Batlle i Rossell 4a1c721c01 Changing every reference from mips64-linux to mips64el-linux. That's
what the new nix thinks the fuloong is.

Anyone having the old nix should use a nixpkgs previous to this change to build
the new nix. And then, with the new nix, he can use any newer nixpkgs revision.

svn path=/nixpkgs/trunk/; revision=31751
2012-01-21 00:34:51 +00:00
Lluís Batlle i Rossell 10394bd844 Updating linux 3.2 to 3.2.1
svn path=/nixpkgs/trunk/; revision=31743
2012-01-20 16:51:39 +00:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Lluís Batlle i Rossell 29e69f119d Making perf cross-build again, now with manpages.
svn path=/nixpkgs/trunk/; revision=31371
2012-01-06 19:35:12 +00:00
Lluís Batlle i Rossell 75d5ffe7ac Adding perf manual pages.
I copied the docbook inputs from awesome. I don't understand them.


svn path=/nixpkgs/trunk/; revision=31355
2012-01-06 17:45:53 +00:00
Lluís Batlle i Rossell b76352800e Adding slang to perf. It looks like it wants slang too.
svn path=/nixpkgs/trunk/; revision=31354
2012-01-06 17:04:32 +00:00
Lluís Batlle i Rossell cae619da08 Updating elfutils/perf to cross-build. I tested this for the nanonote.
I add newt, checking that it cross-builds too.

I update perf to have newt support, and now it's also finding python, whatever
that means. I've not tested if 'python' as buildInputs is enough.


svn path=/nixpkgs/trunk/; revision=31353
2012-01-06 16:45:14 +00:00
Lluís Batlle i Rossell 4c814dd003 Adding linux 'perf' tool.
svn path=/nixpkgs/trunk/; revision=31319
2012-01-05 21:24:51 +00:00
Michael Raskin da6b6a9332 Update Linux 3.2 to release
svn path=/nixpkgs/trunk/; revision=31306
2012-01-05 07:24:37 +00:00
Lluís Batlle i Rossell 95b42b8134 Updating linux to 2.6.32.52 and 3.1.7
svn path=/nixpkgs/trunk/; revision=31299
2012-01-04 21:34:03 +00:00
Michael Raskin 0efe938292 A newer rc
svn path=/nixpkgs/trunk/; revision=31081
2011-12-26 04:20:15 +00:00
Michael Raskin 435c32b5b6 A fresher Linux rc
svn path=/nixpkgs/trunk/; revision=31048
2011-12-23 04:26:36 +00:00
Michael Raskin 0e3d2e236e Update Linux kernel to 3.1
svn path=/nixpkgs/trunk/; revision=30876
2011-12-14 07:27:58 +00:00
Shea Levy f3b7b7d69e Linux 3.1.4
svn path=/nixpkgs/trunk/; revision=30625
2011-11-29 16:47:28 +00:00
Eelco Dolstra 752203c3ca * Remove broken tux-on-ice kernels.
svn path=/nixpkgs/trunk/; revision=30619
2011-11-29 14:49:32 +00:00
Eelco Dolstra 25f6c6ca6e * Re-enable the CFQ scheduler as a builtin module (as was the case in
2.6.32).

svn path=/nixpkgs/trunk/; revision=30617
2011-11-29 14:19:35 +00:00
Eelco Dolstra ab017a58c5 * Enable PROC_EVENTS, since it's required by libcgroup's cgrulesengd
to monitor process creation.

svn path=/nixpkgs/trunk/; revision=30549
2011-11-24 17:54:55 +00:00
Shea Levy df05356c05 Linux 3.1.2
svn path=/nixpkgs/trunk/; revision=30529
2011-11-22 17:05:18 +00:00
Shea Levy 9a9df48782 Linux 3.0.9 and 3.1.1
svn path=/nixpkgs/trunk/; revision=30427
2011-11-14 16:55:50 +00:00
Shea Levy d800dcc26c Linux 3.2-rc1
svn path=/nixpkgs/trunk/; revision=30336
2011-11-08 16:58:20 +00:00
Shea Levy c65ff0d37d Update aufs3.0, add aufs3.1
svn path=/nixpkgs/trunk/; revision=30329
2011-11-08 16:00:19 +00:00
Shea Levy 5e5dd16842 Remove the efi stub patch
svn path=/nixpkgs/trunk/; revision=30264
2011-11-06 17:38:51 +00:00
Eelco Dolstra 40f93f0b3b * Increase XEN_MAX_DOMAIN_MEMORY to support 4xlarge EC2 instances.
svn path=/nixpkgs/trunk/; revision=30036
2011-10-26 17:34:31 +00:00
Shea Levy 6638835c93 Linux 3.0
svn path=/nixpkgs/trunk/; revision=30007
2011-10-25 06:21:27 +00:00
Eelco Dolstra f405ee266b * Enable staging drivers in Linux 3.x. Staging drivers are more experimental
and lower quality than regular drivers.  However, there are a lot of drivers
  for wireless cards that we really need to have.  And it doesn't really hurt
  to have these drivers if you don't need them.
* Enable the Radeon KMS option.  This shouldn't be a problem since the X driver
  supports KMS (I think).

svn path=/nixpkgs/trunk/; revision=29994
2011-10-24 16:30:59 +00:00
Shea Levy b3f1015e6b Linux 3.1
svn path=/nixpkgs/trunk/; revision=29993
2011-10-24 16:06:31 +00:00
Shea Levy 11941954d8 Linux 3.0.7
svn path=/nixpkgs/trunk/; revision=29978
2011-10-23 15:52:28 +00:00