Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147813 - Feature request - CONFIG_SHELL variable support in make.conf
Summary: Feature request - CONFIG_SHELL variable support in make.conf
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-16 08:48 UTC by Sergey Okhapkin
Modified: 2006-09-16 15:31 UTC (History)
1 user (show)

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 Sergey Okhapkin 2006-09-16 08:48:59 UTC
Configure scripts are designed to run under any bourne-compatible shell. bash is not the best choice, it's very slow. ash is much better to run configure scripts. It would be nice to have make.conf variable CONFIG_SHELL to let the user to specify environment variable CONFIG_SHELL to run configure scripts. On my installations 
CONFIG_SHELL=/bin/ash emegre blah
is much faster than just "emerge blah".
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-09-16 08:58:35 UTC
Afaik, configure invokes /bin/sh for it's scripts; so just symlink it to some other bourne compatable shell?
Comment 2 Sergey Okhapkin 2006-09-16 09:08:46 UTC
gentoo installation has /bin/sh as a symlink to bash. There is no need to change this symlink. But configure scripts can use CONFIG_SHELL environment variable to use another shell to run configure script and make. The idea is simple - if the variable is not defined in make.conf, then do nothing, if defined - export it before staring configure script.
Comment 3 SpanKY gentoo-dev 2006-09-16 14:30:41 UTC
i fail to see how this is any different from exporting CONFIG_SHELL in your own environment
Comment 4 Sergey Okhapkin 2006-09-16 15:31:16 UTC
I propose just more convinient way to export the variable.