tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lvm2: 2.03.12 -> 2.03.14
ajs124
4 years ago
e764c08e
c6f07eae
+7
-7
3 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
lvm2
2_02.nix
2_03.nix
common.nix
+1
-1
pkgs/os-specific/linux/lvm2/2_02.nix
···
1
import ./common.nix {
2
version = "2.02.187";
3
-
sha256Hash = "sha256-Dg1SGoY6XbJEDy4edie6grcCc65KsLvhMIUdsNWOWvE=";
4
}
···
1
import ./common.nix {
2
version = "2.02.187";
3
+
sha256 = "sha256-Dg1SGoY6XbJEDy4edie6grcCc65KsLvhMIUdsNWOWvE=";
4
}
+2
-2
pkgs/os-specific/linux/lvm2/2_03.nix
···
1
import ./common.nix {
2
-
version = "2.03.12";
3
-
sha256Hash = "1shczwfd0888dchjiaqzd48ampm6f8y0ngsqd99fy4nxlbr5q1vn";
4
}
···
1
import ./common.nix {
2
+
version = "2.03.14";
3
+
sha256 = "0p5077h3z7mrr0b49ikmhlhrs4v4qb530raypk3y72ja125bqqsa";
4
}
+4
-4
pkgs/os-specific/linux/lvm2/common.nix
···
1
-
{ version, sha256Hash }:
2
3
{ lib, stdenv
4
, fetchpatch
···
22
23
src = fetchurl {
24
url = "https://mirrors.kernel.org/sourceware/lvm2/LVM2.${version}.tgz";
25
-
sha256 = sha256Hash;
26
};
27
28
nativeBuildInputs = [ pkg-config ];
···
58
substituteInPlace scripts/lvm2_activation_generator_systemd_red_hat.c \
59
--replace /usr/bin/udevadm /run/current-system/systemd/bin/udevadm
60
# https://github.com/lvmteam/lvm2/issues/36
61
-
substituteInPlace udev/69-dm-lvm-metad.rules.in \
62
-
--replace "(BINDIR)/systemd-run" /run/current-system/systemd/bin/systemd-run
63
64
substituteInPlace make.tmpl.in --replace "@systemdsystemunitdir@" "$out/lib/systemd/system"
65
'' + lib.optionalString (lib.versionAtLeast version "2.03") ''
···
1
+
{ version, sha256 }:
2
3
{ lib, stdenv
4
, fetchpatch
···
22
23
src = fetchurl {
24
url = "https://mirrors.kernel.org/sourceware/lvm2/LVM2.${version}.tgz";
25
+
inherit sha256;
26
};
27
28
nativeBuildInputs = [ pkg-config ];
···
58
substituteInPlace scripts/lvm2_activation_generator_systemd_red_hat.c \
59
--replace /usr/bin/udevadm /run/current-system/systemd/bin/udevadm
60
# https://github.com/lvmteam/lvm2/issues/36
61
+
substituteInPlace udev/69-dm-lvm.rules.in \
62
+
--replace "/usr/bin/systemd-run" /run/current-system/systemd/bin/systemd-run
63
64
substituteInPlace make.tmpl.in --replace "@systemdsystemunitdir@" "$out/lib/systemd/system"
65
'' + lib.optionalString (lib.versionAtLeast version "2.03") ''