03b4efe9c8
* Move kernel patches out of all-packages.nix to os-specific/linux/kernel/patches.nix. * Make the kernel config available under $out/config (it's also in $out/lib/modules/$version/build/.config, but that's kind of hard to find). svn path=/nixpkgs/branches/kernel-config/; revision=18937
83 lines
2.2 KiB
Nix
83 lines
2.2 KiB
Nix
{ fetchurl }:
|
|
|
|
let
|
|
|
|
fbcondecorConfig =
|
|
''
|
|
FB_CON_DECOR y
|
|
|
|
# fbcondecor is picky about some other settings.
|
|
FB y
|
|
FB_TILEBLITTING n
|
|
FB_MATROX n
|
|
FB_S3 n
|
|
FB_VT8623 n
|
|
FB_ARK n
|
|
FB_CFB_FILLRECT y
|
|
FB_CFB_COPYAREA y
|
|
FB_CFB_IMAGEBLIT y
|
|
FB_VESA y
|
|
FRAMEBUFFER_CONSOLE y
|
|
'';
|
|
|
|
in
|
|
|
|
{
|
|
|
|
sec_perm_2_6_24 =
|
|
{ name = "sec_perm-2.6.24";
|
|
patch = ./sec_perm-2.6.24.patch;
|
|
features.secPermPatch = true;
|
|
};
|
|
|
|
fbcondecor_2_6_27 =
|
|
{ name = "fbcondecor-0.9.4-2.6.27";
|
|
patch = fetchurl {
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.27.patch;
|
|
sha256 = "170l9l5fvbgjrr4klqcwbgjg4kwvrrhjpmgbfpqj0scq0s4q4vk6";
|
|
};
|
|
extraConfig = fbcondecorConfig;
|
|
features.fbConDecor = true;
|
|
};
|
|
|
|
fbcondecor_2_6_28 =
|
|
{ name = "fbcondecor-0.9.5-2.6.28";
|
|
patch = fetchurl {
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.5-2.6.28.patch;
|
|
sha256 = "105q2dwrwi863r7nhlrvljim37aqv67mjc3lgg529jzqgny3fjds";
|
|
};
|
|
extraConfig = fbcondecorConfig;
|
|
features.fbConDecor = true;
|
|
};
|
|
|
|
fbcondecor_2_6_29 =
|
|
{ name = "fbcondecor-0.9.6-2.6.29.2";
|
|
patch = fetchurl {
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.6-2.6.29.2.patch;
|
|
sha256 = "1yppvji13sgnql62h4wmskzl9l198pp1pbixpbymji7mr4a0ylx1";
|
|
};
|
|
extraConfig = fbcondecorConfig;
|
|
features.fbConDecor = true;
|
|
};
|
|
|
|
fbcondecor_2_6_31 =
|
|
{ name = "fbcondecor-0.9.6-2.6.31.2";
|
|
patch = fetchurl {
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.6-2.6.31.2.patch;
|
|
sha256 = "1avk0yn0y2qbpsxf31r6d14y4a1mand01r4k4i71yfxvpqcgxka9";
|
|
};
|
|
extraConfig = fbcondecorConfig;
|
|
features.fbConDecor = true;
|
|
};
|
|
|
|
# From http://patchwork.kernel.org/patch/19495/
|
|
ext4_softlockups_2_6_28 =
|
|
{ name = "ext4-softlockups-fix";
|
|
patch = fetchurl {
|
|
url = http://patchwork.kernel.org/patch/19495/raw;
|
|
sha256 = "0vqcj9qs7jajlvmwm97z8cljr4vb277aqhsjqrakbxfdiwlhrzzf";
|
|
};
|
|
};
|
|
|
|
}
|