| Summary: | sys-fs/udisks-1.0.2-r1 has the unnecessary use-flag dependency >=sys-block/parted-1.8.8[device-mapper] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nils Stöckmann <accounts> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | accounts, serkan |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
output of "emerge -s %^udisks$ device-mapper > udisks-dev-map"
preventing device-mapper installation with udisks- overlay ebuild |
||
|
Description
Nils Stöckmann
2011-04-25 17:09:11 UTC
udisks has harddepend on device-mapper (from lvm2) anyway, so you wouldn't save any dependencies by disabling the use flag. you'd just break detection of certain partitions in libparted, used by udisks as they are not listed in /proc/partitions but rather checked by _probe_dm_devices() function inside libparted. so removing that dep just seems to add more complexity with no gain. as in, if you have udisks installed, you already have device-mapper installed so your statement about "and neither need nor want the device-mapper installed." is just false. you have it. *** This bug has been marked as a duplicate of bug 335724 *** Created attachment 271149 [details]
output of "emerge -s %^udisks$ device-mapper > udisks-dev-map"
(In reply to comment #1) > you'd just break detection of certain partitions in libparted, used by udisks > as they are not listed in /proc/partitions but rather checked by > _probe_dm_devices() function inside libparted. > > so removing that dep just seems to add more complexity with no gain. Well, for me it has a gain since I know that I don't have those partitions and don't want to install device-mapper. (In reply to comment #2) > as in, if you have udisks installed, you already have device-mapper installed > so your statement about "and neither need nor want the device-mapper > installed." is just false. you have it. No, my statement is correct. It is possible using the local overlay ebuild I created and proven by the emerge -s output. Please see the attachments I made. As I already stated, I don't have logical volumes, thus no LVM, device-mapper or something similar. Everything works fine. I simply avoided installing it, for under my conditions I don't need them. And I'd like to be able to translate my "I don't use logical volumes" condition into a use flag. P.S.: Sorry for the duplicate bug. I guess i forgot searching (2nd bug today, searched for the first one, though). Created attachment 271151 [details]
preventing device-mapper installation with udisks- overlay ebuild
The Overlay ebuild without the device-mapper dependency. Using this ebuild in /usr/local/portage, i don't need the [device-mapper] useflag and the device-mapper software installed.
|