Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537364 - sys-apps/busybox: Add use flag to toggle CONFIG_SH_STANDALONE
Summary: sys-apps/busybox: Add use flag to toggle CONFIG_SH_STANDALONE
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-22 16:19 UTC by Mike Gilbert
Modified: 2015-02-15 08:13 UTC (History)
4 users (show)

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


Attachments
Ebuild patch (busybox-sh-standalone.patch,1.85 KB, patch)
2015-01-22 16:49 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2015-01-22 16:19:55 UTC
It seems there is some demand for this.

http://www.busybox.net/FAQ.html#standalone_shell

https://bugs.gentoo.org/show_bug.cgi?id=525586#c4
Comment 1 Mike Gilbert gentoo-dev 2015-01-22 16:49:12 UTC
Created attachment 394636 [details, diff]
Ebuild patch
Comment 2 Andreas Klauer 2015-01-22 17:11:32 UTC
see also https://bugs.gentoo.org/show_bug.cgi?id=501092#c3 - that was about removal of ar, which you now (inadvertently?) removed, along with tune2fs, mkfs.reiser, uncompress, fdisk support for GPT partitions, ...

I still don't see how the change of one setting ( TFTP Debug as requested in #525586 ) turned into a change of 100 settings. 

The FAQ seems horribly outdated to me, by the way. Mounting /proc works just fine.

Gentoo's busybox used to be great. Please reconsider.
Comment 3 Mike Gilbert gentoo-dev 2015-01-22 17:30:26 UTC
(In reply to Andreas Klauer from comment #2)
> Gentoo's busybox used to be great. Please reconsider.

If you need to customize it, there is always the savedconfig feature.
Comment 4 emil karlson 2015-01-22 21:07:59 UTC
If you consider reverting to the allyesconfig, I would at least like to know why and consult upstream about it. And by what I mean which configuration options in busybox.

I hope adding this will cover most use cases.
Comment 5 SpanKY gentoo-dev 2015-02-15 08:13:29 UTC
the default busybox build is designed to give you a rescue shell.  the standalone shell feature is fairly critical to that, hence it is enabled by default.  if you want to disable this feature, then use savedconfig to do so.

i'm not sure how the referenced bugs show that there is sufficient demand to warrant turning it off by default.