Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830855 - app-admin/eselect uses ROOT environmental variable
Summary: app-admin/eselect uses ROOT environmental variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: package-manager-specific-env-vars-usage
  Show dependency tree
 
Reported: 2022-01-09 16:04 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2022-06-13 08:41 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 Arfrever Frehtes Taifersar Arahesis 2022-01-09 16:04:34 UTC
app-admin/eselect uses ROOT environmental variable.


Support for --root="${ROOT}" command-line option was added:
https://gitweb.gentoo.org/proj/eselect.git/commit/?id=285b2c59ed8234d1480012ca3020cbd4368a9d16
https://gitweb.gentoo.org/proj/eselect.git/commit/?id=62501cdddf09cd92689fb5e8f87c4369fd636cf5


For convenience, eselect.eclass can be created:

IDEPEND=">=app-admin/eselect-1.4.19"

eselect() {
	command eselect --root="${ROOT}" "${@}"
}
Comment 1 Ulrich Müller gentoo-dev 2022-06-13 08:41:12 UTC
The --root option is available in eselect-1.4.20 which is stable on all archs.