Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why does Udisks require Lvm2 ?
Date: Sat, 22 Jun 2019 21:55:34
Message-Id: 20190622225516.0fc4f03a@digimed.co.uk
In Reply to: [gentoo-user] why does Udisks require Lvm2 ? by Philip Webb
1 On Sat, 22 Jun 2019 17:41:03 -0400, Philip Webb wrote:
2
3 > root:528 ~> USE="cryptsetup" emerge -pvt udisks
4 > These are the packages that would be merged, in reverse order:
5 > [ebuild U ] sys-fs/udisks-2.8.2:2::gentoo [2.1.8:2::gentoo]
6 > USE="-acl (-cryptsetup%) -debug -elogind% (-gptfdisk%) -introspection
7 > -lvm% -nls% (-selinux) -systemd -vdo%" 1,552 KiB [ebuild N ]
8 > sys-libs/libblockdev-2.20-r2::gentoo USE="-bcache cryptsetup
9 > -device-mapper -dmraid -doc -escrow -kbd -lvm -test -vdo"
10 > PYTHON_SINGLE_TARGET="-python2_7 -python3_5 python3_6 (-python3_7)"
11 > PYTHON_TARGETS="python2_7 -python3_5 python3_6 (-python3_7)" 331 KiB
12 > [ebuild N ] sys-fs/cryptsetup-2.1.0:0/12::gentoo USE="-argon2
13 > -gcrypt -kernel -libressl -luks1_default -nettle -nls openssl
14 > -pwquality -reencrypt -static -static-libs udev -urandom" 10,413 KiB
15 > [ebuild N ] sys-fs/lvm2-2.02.184-r4::gentoo
16 > USE="-device-mapper-only -lvm2create_initrd readline -sanlock
17 > (-selinux) -static -static-libs -systemd -thin udev" 2,328 KiB [ebuild
18 > N ] dev-libs/libbytesize-1.4::gentoo USE="-doc -test"
19 > PYTHON_TARGETS="python2_7 -python3_5 python3_6 (-python3_7)" 80 KiB
20 > [nomerge ] sys-fs/cryptsetup-2.1.0:0/12::gentoo USE="-argon2
21 > -gcrypt -kernel -libressl -luks1_default -nettle -nls openssl
22 > -pwquality -reencrypt -static -static-libs udev -urandom" [ebuild
23 > N ] dev-libs/json-c-0.13.1-r1:0/4::gentoo USE="-doc -static-libs"
24 > ABI_X86="-32 (64) (-x32)" 625 KiB [nomerge ]
25 > sys-fs/lvm2-2.02.184-r4::gentoo USE="-device-mapper-only
26 > -lvm2create_initrd readline -sanlock (-selinux) -static -static-libs
27 > -systemd -thin udev" [ebuild N ] dev-libs/libaio-0.3.110::gentoo
28 > USE="-static-libs -test" ABI_X86="-32 (64) (-x32)" 42 KiB
29 >
30 > I don't use LVM nor do I want to install 'lvm2' :
31 > can anyone suggest why is it required ?
32
33 The indentation shows that is is a hard dependency of cryptsetup, which
34 is backed up by reading the ebuild. I expect that it needs the
35 device-maper functionality provided by lvm, in which case you can set the
36 device-mapper-only USE flag to avoid installing the full lvm suite.
37
38
39 --
40 Neil Bothwick
41
42 The trouble with life is that you are halfway through it before you
43 realize it's a "do it yourself" thing.

Replies

Subject Author
Re: [gentoo-user] why does Udisks require Lvm2 ? Grant Taylor <gtaylor@×××××××××××××××××××××.net>
Re: [gentoo-user] why does Udisks require Lvm2 ? Philip Webb <purslow@××××××××.net>