Summary: | sys-devel/crossdev-wrappers - allow specifying extra location for config.site configuration at /etc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alon Bar-Lev <alon.barlev> |
Component: | New packages | Assignee: | Gentoo Crossdev team <crossdev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | slyfox |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 627914 |
Description
Alon Bar-Lev
2009-03-28 14:17:34 UTC
(8 years later) sounds reasonable. Should /etc/ behaviour be "hiding" (or mask) /usr/share files or "append"? Basically, given /usr/share/crossdev/include/site/arm-linux-gnueabi /etc/crossdev/sitearm-linux-gnueabi should it be a) source /usr/share/crossdev/include/site/arm-linux-gnueabi source /etc/crossdev/site/arm-linux-gnueabi or b) source /etc/crossdev/site/arm-linux-gnueabi Both look reasonable and a) might be slightly easier to maintain as an override. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=4d6557b3898af143993e46314cd02e0b28e1ca5a commit 4d6557b3898af143993e46314cd02e0b28e1ca5a Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-20 20:04:36 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-20 20:04:36 +0000 config.site add support for /etc/ overrides Now crossdev imports cache variables from /etc/crossdev/include/site The file format is the same as /usr/share/crossdev/include/site it is useful to drop local overrides. Reported-by: Alon Bar-Lev Bug: https://bugs.gentoo.org/264074 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> settings.mk | 1 + wrappers/Makefile | 6 +++++- wrappers/README | 2 ++ wrappers/site/config.site | 5 +++++ 4 files changed, 13 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104a51fba35825208a060e0ac46cfdf382d8b3bf commit 104a51fba35825208a060e0ac46cfdf382d8b3bf Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-20 20:27:03 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-20 20:27:17 +0000 sys-devel/crossdev: bump up to 20181020 Bug: https://bugs.gentoo.org/264074 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/crossdev/Manifest | 1 + sys-devel/crossdev/crossdev-20181020.ebuild | 39 +++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) |