c.affolter at stepping-stone
Jul 22, 2009, 6:55 AM
Post #5 of 8
>>>> However if I perform an emerge world:
Re: busybox and virtuals (editor, pager etc.)
[In reply to]
>>>> PORTAGE_CONFIGROOT=[...] ROOT=[...] emerge world -vp
>>>> Portage wants to merge:
>>>> I have enabled less and vi in my busybox, therefore I don't want to
>>>> install an "external" pager and editor.
>>> use the profile's package.provided then
>> Yes, that's what I do at the moment... However it would be much nicer if
>> the powerful gentoo use and dependency system could be used for this.
>> Furthermore BusyBox init-scripts (for crond, syslogd etc.) could be
>> installed according to the enabled use-flags, rather than manually.
> With as many features as busybox supports this could get out of control
> quickly with USE= flags for per-options.
That's true. On the other hand, providing use-flags only for existing
virtuals (for example cron, syslog, tar, pager, editor etc.), should
avoid an overblown use-list. In addition ebuilds such as php or apache
also come with a fair amount of use flags (which is really handy, in my
>> Is there something that speaks against such a change?
>> If not, I'm willing to provide the necessary patches
> Patches are always most welcome. But I sorta rather tie it to something
> more simple. Like maybe when 'make-symlinks' is enabled. One can assume
> he/she is using busybox for the core system.
Good point, thanks.