Commit Graph

113 Commits

Author SHA1 Message Date
ajs124
3a1b8034c4 lvm2: 2.03.22 -> 2.03.23 2024-01-03 01:13:00 +01:00
ajs124
7b6580dba4 maintainers/teams: init and add helsinki-systems 2023-11-30 19:11:08 +01:00
ajs124
4337cf0e72 lvm2: 2.03.21 -> 2.03.22
https://github.com/lvmteam/lvm2/blob/v2_03_22/WHATS_NEW
2023-08-09 15:09:12 +02:00
ajs124
149b6c5859 lvm2: 2.03.20 -> 2.03.21
https://github.com/lvmteam/lvm2/blob/v2_03_21/WHATS_NEW
2023-04-21 11:28:53 +02:00
ajs124
eee96956f8 lvm2: 2.03.19 -> 2.03.20
https://github.com/lvmteam/lvm2/blob/v2_03_20/WHATS_NEW
2023-03-21 18:05:17 +01:00
ajs124
8d3141afda lvm2-2_02: remove
2.03.x builds with musl again after 2.03.19
2023-02-22 14:50:43 +01:00
ajs124
1d7d07ca23 lvm2: add more tests to passthru 2023-02-22 14:50:30 +01:00
ajs124
e7eb16af3e lvm2: 2.03.18 -> 2.03.19
https://github.com/lvmteam/lvm2/blob/v2_03_19/WHATS_NEW
https://github.com/lvmteam/lvm2/blob/v2_03_19/WHATS_NEW_DM
2023-02-22 00:54:09 +01:00
ajs124
dc2a266a80 lvm2: 2.03.17 -> 2.03.18
- Fix issues reported by coverity scan.
- Fix warning for thin pool overprovisioning on lvextend (2.03.17).
- Add support for writecache metadata_only and pause_writeback settings.
- Fix missing error messages in lvmdbusd.
2022-12-23 16:38:51 +01:00
ajs124
9b056912e0 lvm2: 2.03.16 -> 2.03.17
https://github.com/lvmteam/lvm2/blob/v2_03_17/WHATS_NEW
2022-11-10 19:34:48 +01:00
ajs124
3454a6b4e4 lvm2: sha256 -> hash
also add a non-mirror download url
2022-11-10 19:34:48 +01:00
ajs124
481c3f0acd lvm2_2_02: 2.02.187 -> 2.02.188
https://github.com/lvmteam/lvm2/blob/v2_02_188/WHATS_NEW
2022-11-10 19:34:25 +01:00
ajs124
f862ced024 lvm2: 2.03.15 -> 2.03.16 2022-05-23 22:24:52 +02:00
Thiago Kenji Okada
c9de099fa1 lvm2: move fix-blkdeactivate.patch to version 2.03.15+ only 2022-04-23 14:46:40 +01:00
Thiago Kenji Okada
582a42ece7 lvm2: fix static compilation
This should avoid a infinity recursion issue during static compilation,
by making util-linux not a dependency of the `fix-blkdeactivate.patch`.
2022-04-20 19:14:27 +01:00
ajs124
a4dbe5c10c lvm2: fix blkdeactive
Closes #123639
2022-04-10 18:57:36 +01:00
ajs124
39b3db85f1 lvm2_vdo: init 2022-04-04 13:00:43 +01:00
Alyssa Ross
05a6c124e6 lvm2: don't use targetPlatform
targetPlatform is the platform the current package's programs will
produce binaries for — only relevant for compilers and
similar. hostPlatform is the platform the current package's programs
will run on.

The incorrect use of targetPlatform meant that anything that tried to
link to it (like cryptsetup) would fail to build when it was used as a
native build input for a cross-compiled Musl derivation.

Fixes: 2cc29125a7 ("lvm2: package 2.02.x for musl")
2022-03-29 12:14:16 +00:00
ajs124
ce8670619d lvm2: 2.03.14 -> 2.03.15 2022-02-08 14:25:19 +01:00
Florian Klink
fb69d7668f
lvm2-2_02: fix build (#154041)
2cc29125a7 updated this without taking
account for the older version of the package still around.
2022-01-08 19:59:29 -05:00
Yureka
95570a64dc lvm2: allow building static libdm 2021-12-30 11:13:39 +01:00
ajs124
e764c08e81 lvm2: 2.03.12 -> 2.03.14 2021-12-07 13:17:42 +01:00
Yureka
2cc29125a7 lvm2: package 2.02.x for musl 2021-10-17 15:55:49 +02:00
Alyssa Ross
ad3ed16929 lvm2: fix musl patches; apply unconditionally
Alpine's version of the first patch no longer applied, because we're
on a newer lvm2 version.

The fixes in both of these patches are either Musl-specific, or
shouldn't negatively affect Glibc, so change to applying them
unconditionally so they don't bitrot in future.
2021-08-12 09:19:21 +00:00
Alyssa Ross
3bc7ad5378 lvm2: remove probably-unnecessary Musl patch
e606e4d6a9 ("lvm2: musl patches from alpine") added all these patches
from Alpine to fix Musl builds, but one doesn't actually seem related
to Musl.  The Alpine issue[1] that led to its introduction links to a
Gentoo issue[2] about the same thing on Glibc.

We shouldn't be applying a fix for a non-libc-specific bug only to
Musl builds, and if this was going to be an issue for us we'd expect
to have seen it on Glibc by now.  It's more likely that it's been
fixed in the meantime.

[1]: https://gitlab.alpinelinux.org/alpine/aports/-/issues/3107
[2]: https://bugs.gentoo.org/335492
2021-08-12 09:19:21 +00:00
Arian van Putten
d5fde7feb6 lvm2: Remove dependency on thin-provisioning-tools
thin-provisioning-tools has a _huge_ closure size (hundreds of
megabytes) and the only reference in the output of the lvm2 package is a
_comment_ in the etc/lvm.conf

The lvm2 package thus does not seem to depend on thin-provisoning-tools
in any way.

Reverts 9326a89910

thin provisoning is broken with or without this change:
https://github.com/NixOS/nixpkgs/issues/15516

A proper fix is here:
https://github.com/NixOS/nixpkgs/pull/46541

References:

$ nix why-depends nixpkgs#lvm2 nixpkgs#thin-provisioning-tools
/nix/store/n7zwwxi0ihjks7qk9bq5lbkniligfcqc-lvm2-2.03.11
└───etc/lvm.conf: …_check_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-prov>
    → /nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0

$ ag thin-provisioning-tools --search-binary
etc/lvm.conf
1093:	# (See package device-mapper-persistent-data or thin-provisioning-tools)
1095:	# thin_check_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/thin_check"
1100:	# (See package device-mapper-persistent-data or thin-provisioning-tools)
1102:	# thin_dump_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/thin_dump"
1108:	# (See package device-mapper-persistent-data or thin-provisioning-tools)
1110:	# thin_repair_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/thin_repair"
1155:	# (See package device-mapper-persistent-data or thin-provisioning-tools)
1157:	# cache_check_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/cache_check"
1162:	# (See package device-mapper-persistent-data or thin-provisioning-tools)
1164:	# cache_dump_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/cache_dump"
1170:	# (See package device-mapper-persistent-data or thin-provisioning-tools)
1172:	# cache_repair_executable = "/nix/store/w5an38q6byfr1sihks66srbqdii9hnsd-thin-provisioning-tools-0.9.0/bin/cache_repair"
2021-07-29 10:57:40 +02:00
ajs124
d151b2fb41 lvm2: 2.03.11 -> 2.03.12 2021-05-15 08:55:27 -07:00
Jan Tojnar
fc7bd322df
Merge branch 'staging-next' into staging 2021-01-19 13:50:04 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
zowoq
d93966200c Merge staging-next into staging 2021-01-18 13:03:13 +10:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
ajs124
2982fa466e lvm2: 2.03.10 -> 2.03.11
https://github.com/lvmteam/lvm2/blob/v2_03_11/WHATS_NEW

[VDO](https://github.com/dm-vdo/vdo) support is built by default now,
but is disabled in nixpkgs, because it can't find `vdoformat`.
AFAICT the kernel support for that still isn't upstream and it still
seems kind of experimental, so I'd just ignore that for now and add it
once it's either upstream of if anyone actually wants to use it.
2021-01-16 09:07:59 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Arthur Gautier
0bd5a7d3ba lvm2: 2.03.09 -> 2.03.10 2020-08-22 10:23:00 -07:00
Florian Klink
9583669422 lvm2: passthru tests 2020-07-14 12:56:35 +02:00
Florian Klink
12d32eefed lvm2: rename enable_{cmdlib,dmeventd} to enable{Cmdlib,Dmeventd}
Make this more consistent with how these flags look like in the rest of
nixpkgs.
2020-07-14 12:00:33 +02:00
Florian Klink
9f83907013 lvm2: only split bin and lib out from out if cmdlib isn't enabled 2020-07-12 23:04:33 +02:00
Florian Klink
b8129312bd lvm2: fix location to systemd-run invocation 2020-07-12 23:04:33 +02:00
ajs124
e6a6846d4f lvm2: fix paths to use /run instead of /var/run.
This shuts up some warnings.
2020-07-12 23:04:33 +02:00
Florian Klink
d3a991d410 lvm2: add multiple output support 2020-07-12 23:04:33 +02:00
Florian Klink
df67459b89 lvm2: don't embed ./configure line in lvm2 binary 2020-07-12 23:04:33 +02:00
Florian Klink
198d1e6f5c lvm2: make --enable-cmdlib optional
This seems to be mostly used to simplify LV management tasks from a web
interface
(https://www.redhat.com/archives/linux-lvm/2008-September/msg00029.html),
and is as fat as the `lvm` binary itself
2020-07-12 23:04:33 +02:00
ajs124
3ca74a976a lvm2: 2.03.01 -> 2.03.09 2020-07-12 23:04:33 +02:00
Florian Klink
fbe7027251 lvm2: fetch sources from http instead of git
Otherwise, we end up in a dependency cycle:

systemd -> cryptsetup -> lvm -> fetchgit -> git -> openssh -> libfido2 -> hidapi -> libusb -> udev=systemd
2020-07-12 23:04:33 +02:00
ajs124
33030f1bd2 lvm2: add myself as maintainer 2020-07-12 23:04:33 +02:00
Florian Klink
5e1eb7bd59 lvm2: cleanups, make udev optional
- use installTargets again ("install", and
   "install_systemd_{generators,units,configuration}" when udev is not
   null)
 - The call to the blkid binary in lvm2's 13-dm-disk.rules file
   disappeared (so we don't need to patch in blkid anymore).
   lvm seems to rely on udev's internal blkid functionality.
 - Call /run/current-system/systemd/bin/udevadm instead
   of ${systemd}/bin/udevadm in the lvm activation generator.
   This is not necessary to break the dependency cycle (as we don't use
   that file when building without udev), but a good idea anyways -
   We want to trigger the udevadm of the current system, not the one
   that lvm was built with.
2020-07-12 23:04:33 +02:00
Florian Klink
2d2b7513d9 lvm2: remove unused default.upstream file 2020-07-12 23:04:32 +02:00
Lila
7517299146
treewide: fix broken AlpineLinux repo links (#87892) 2020-05-15 16:58:27 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00