Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 541116d4d746
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 804060ff9a79
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Apr 28, 2018

  1. linux-copperhead: Add 4.16.5.a

    Separate LTS and stable kernel releases
    
    (cherry picked from commit 844c08e)
    NeQuissimus committed Apr 28, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    9b997df View commit details
  2. openjdk: 10.0.0 -> 10.0.1

    (cherry picked from commit 628dca8af5c26d82896bc10c9a4cb090dbc0ef85)
    NeQuissimus committed Apr 28, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    8f71488 View commit details
  3. linux-copperhead: Fix all-packages reference

    (cherry picked from commit 1cf5aad)
    NeQuissimus committed Apr 28, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    804060f View commit details
6 changes: 3 additions & 3 deletions pkgs/development/compilers/openjdk/10.nix
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@ let
"i386"
else "amd64";

update = "10";
build = "46";
update = "10.0.1";
build = "10";
repover = "jdk-${update}+${build}";
paxflags = if stdenv.isi686 then "msp" else "m";

@@ -27,7 +27,7 @@ let

src = fetchurl {
url = "http://hg.openjdk.java.net/jdk-updates/jdk10u/archive/${repover}.tar.gz";
sha256 = "1a2cjad816qilsigkq035rqzfhzmq5vaz1klilrrws456flbsjlg";
sha256 = "1fg0rl5pd3f2y3v3bq8p3zdkrpa1pyslwdln4s64clyr7spvxkjw";
};

outputs = [ "out" "jre" ];
30 changes: 30 additions & 0 deletions pkgs/os-specific/linux/kernel/linux-copperhead-stable.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, buildPackages, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:

with stdenv.lib;

let
version = "4.16.5";
revision = "a";
sha256 = "150cwq51x3cnnvnd7izizi93jmiqs0na15p8ip4vkm5frspmnks7";

# modVersion needs to be x.y.z, will automatically add .0 if needed
modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));

# branchVersion needs to be x.y
branchVersion = concatStrings (intersperse "." (take 2 (splitString "." version)));

modDirVersion = "${modVersion}-hardened";
in
buildLinux (args // {
inherit modDirVersion;

version = "${version}-${revision}";
extraMeta.branch = "${branchVersion}";

src = fetchFromGitHub {
inherit sha256;
owner = "copperhead";
repo = "linux-hardened";
rev = "${version}.${revision}";
};
} // (args.argsOverride or {}))
21 changes: 14 additions & 7 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -13231,11 +13231,19 @@ with pkgs;
];
};

linux_copperhead = callPackage ../os-specific/linux/kernel/linux-copperhead-hardened.nix {
linux_copperhead_lts = callPackage ../os-specific/linux/kernel/linux-copperhead-lts.nix {
kernelPatches = with kernelPatches; [
kernelPatches.bridge_stp_helper
kernelPatches.modinst_arg_list_too_long
kernelPatches.tag_hardened
bridge_stp_helper
modinst_arg_list_too_long
tag_hardened
];
};

linux_copperhead_stable = callPackage ../os-specific/linux/kernel/linux-copperhead-stable.nix {
kernelPatches = with kernelPatches; [
bridge_stp_helper
modinst_arg_list_too_long
tag_hardened
];
};

@@ -13568,9 +13576,8 @@ with pkgs;

linuxPackages_latest_xen_dom0_hardened = recurseIntoAttrs (hardenedLinuxPackagesFor (pkgs.linux_latest.override { features.xen_dom0=true; }));

linuxPackages_copperhead_hardened = recurseIntoAttrs (hardenedLinuxPackagesFor pkgs.linux_copperhead);
linux_copperhead_hardened = linuxPackages_copperhead_hardened.kernel;
linux_hardened_copperhead = linux_copperhead_hardened; # alias for backward compatibility
linuxPackages_copperhead_lts = recurseIntoAttrs (hardenedLinuxPackagesFor pkgs.linux_copperhead_lts);
linuxPackages_copperhead_stable = recurseIntoAttrs (hardenedLinuxPackagesFor pkgs.linux_copperhead_stable);

# Samus kernels
linuxPackages_samus_4_12 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_samus_4_12);