Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465232 - sys-fs/eudev: Drop has_version usage for non-existing sys-fs/device-mapper package
Summary: sys-fs/eudev: Drop has_version usage for non-existing sys-fs/device-mapper pa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: eudev team
URL:
Whiteboard:
Keywords:
Depends on: 461382
Blocks:
  Show dependency tree
 
Reported: 2013-04-09 10:16 UTC by Samuli Suominen
Modified: 2013-07-04 12:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen gentoo-dev 2013-04-09 10:16:21 UTC
This is used in eudev-*.ebuild:

        # 64-device-mapper.rules now gets installed by sys-fs/device-mapper
        # remove it if user don't has sys-fs/device-mapper installed, 27 Jun 2007
        if [[ -f ${EROOT}etc/udev/rules.d/64-device-mapper.rules ]] &&
                ! has_version sys-fs/device-mapper
        then
                rm -f "${EROOT}"etc/udev/rules.d/64-device-mapper.rules
                einfo "Removed unneeded file 64-device-mapper.rules"
        fi


This is current in udev-9999.ebuild:

        # 64-device-mapper.rules is related to sys-fs/device-mapper which we block
        # in favor of sys-fs/lvm2
        old_dm_rules=${ROOT}etc/udev/rules.d/64-device-mapper.rules
        if [[ -f ${old_dm_rules} ]]; then
                rm -f "${old_dm_rules}"
                einfo "Removed unneeded file ${old_dm_rules}"
        fi

Basically sys-fs/device-mapper has been removed from Portage today, and has been uninstallable for, well, years(!)
So please drop any has_version checks for it, and just block it and rely the blocker to make sure it's not installed
Comment 1 Anthony Basile gentoo-dev 2013-07-04 00:42:04 UTC
(In reply to Samuli Suominen from comment #0)
> So please drop any has_version checks for it, and just block it and rely the
> blocker to make sure it's not installed

The check is gone.  But why bother with the block, its off the tree.
Comment 2 Samuli Suominen gentoo-dev 2013-07-04 12:27:21 UTC
(In reply to Anthony Basile from comment #1)
> (In reply to Samuli Suominen from comment #0)
> > So please drop any has_version checks for it, and just block it and rely the
> > blocker to make sure it's not installed
> 
> The check is gone.  But why bother with the block, its off the tree.

"off the tree" doesn't mean "uninstalled on users installations" and having it installed has potential of breaking LVM with the old udev rules