On Sat, 22 Jun 2019 17:41:03 -0400, Philip Webb wrote:

>   root:528 ~> USE="cryptsetup" emerge -pvt udisks
>   These are the packages that would be merged, in reverse order:
>   [ebuild     U  ] sys-fs/udisks-2.8.2:2::gentoo [2.1.8:2::gentoo]
> USE="-acl (-cryptsetup%) -debug -elogind% (-gptfdisk%) -introspection
> -lvm% -nls% (-selinux) -systemd -vdo%" 1,552 KiB [ebuild  N     ]
> sys-libs/libblockdev-2.20-r2::gentoo  USE="-bcache cryptsetup
> -device-mapper -dmraid -doc -escrow -kbd -lvm -test -vdo"
> PYTHON_SINGLE_TARGET="-python2_7 -python3_5 python3_6 (-python3_7)"
> PYTHON_TARGETS="python2_7 -python3_5 python3_6 (-python3_7)" 331 KiB
> [ebuild  N     ]   sys-fs/cryptsetup-2.1.0:0/12::gentoo  USE="-argon2
> -gcrypt -kernel -libressl -luks1_default -nettle -nls openssl
> -pwquality -reencrypt -static -static-libs udev -urandom" 10,413 KiB
> [ebuild  N     ]    sys-fs/lvm2-2.02.184-r4::gentoo
> USE="-device-mapper-only -lvm2create_initrd readline -sanlock
> (-selinux) -static -static-libs -systemd -thin udev" 2,328 KiB [ebuild
> N     ]   dev-libs/libbytesize-1.4::gentoo  USE="-doc -test"
> PYTHON_TARGETS="python2_7 -python3_5 python3_6 (-python3_7)" 80 KiB
> [nomerge       ] sys-fs/cryptsetup-2.1.0:0/12::gentoo  USE="-argon2
> -gcrypt -kernel -libressl -luks1_default -nettle -nls openssl
> -pwquality -reencrypt -static -static-libs udev -urandom" [ebuild
> N     ]  dev-libs/json-c-0.13.1-r1:0/4::gentoo  USE="-doc -static-libs"
> ABI_X86="-32 (64) (-x32)" 625 KiB [nomerge       ]
> sys-fs/lvm2-2.02.184-r4::gentoo  USE="-device-mapper-only
> -lvm2create_initrd readline -sanlock (-selinux) -static -static-libs
> -systemd -thin udev" [ebuild  N     ]  dev-libs/libaio-0.3.110::gentoo
> USE="-static-libs -test" ABI_X86="-32 (64) (-x32)" 42 KiB
> 
> I don't use LVM nor do I want to install 'lvm2' :
> can anyone suggest why is it required ?

The indentation shows that is is a hard dependency of cryptsetup, which
is backed up by reading the ebuild. I expect that it needs the
device-maper functionality provided by lvm, in which case you can set the
device-mapper-only USE flag to avoid installing the full lvm suite.


-- 
Neil Bothwick

The trouble with life is that you are halfway through it before you
realize it's a "do it yourself" thing.

Attachment: pgpASJkZrqU4F.pgp
Description: OpenPGP digital signature

Reply via email to