public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] busybox and virtuals (editor, pager etc.)
@ 2009-07-09 14:24 Christian Affolter
  2009-07-19 18:09 ` Mike Frysinger
       [not found] ` <4A664831.5020809@wildgooses.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Christian Affolter @ 2009-07-09 14:24 UTC (permalink / raw
  To: gentoo-embedded

Hi everyone

I'm building an embedded gentoo image for an ALIX-System [1], which
should base on uclibc, busybox, baselayout-2 and openrc.

I have my own profile which inherits and strips down the official 2008.0
gentoo profile to a bare minimum. This works all fine so far.

However if I perform an emerge world:
PORTAGE_CONFIGROOT=[...] ROOT=[...] emerge world -vp

Portage wants to merge:
virtual/editor-0
  app-editors/nano

virtual/pager-0
  sys-apps/less

I have enabled less and vi in my busybox, therefore I don't want to
install an "external" pager and editor.

Both virtual ebuilds (virtual/editor and virtual/pager) don't list
"sys-apps/busybox" as a possible RDEPEND. This is understandable, as
busybox can be compiled with or without a pager/editor.

The problem could be circumvented by adding new local use flags to the
busybox ebuild, for instance 'editor', 'pager' 'dev-manager' etc. (which
could also be used to enable/disable those features if no "savedconfig"
was found).
Then the RDEPEND of the virtual/pager ebuild and co. have to be extended
with use dependencies, for example pager-0.ebuild:
RDEPEND="|| ( sys-apps/less
    sys-apps/more
    sys-apps/most
    sys-apps/util-linux
    app-text/lv
    sys-apps/busybox[pager] )"

Of course this requires EAPI-2...


What do you think?


regards
Chris


[1] http://www.pcengines.ch/alix.htm



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-25 15:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-09 14:24 [gentoo-embedded] busybox and virtuals (editor, pager etc.) Christian Affolter
2009-07-19 18:09 ` Mike Frysinger
2009-07-21 20:28   ` Christian Affolter
2009-07-21 22:38     ` Ned Ludd
2009-07-22 13:55       ` Christian Affolter
2009-07-25  5:55         ` Mike Frysinger
2009-07-25 15:36           ` Ned Ludd
     [not found] ` <4A664831.5020809@wildgooses.com>
2009-07-22 14:04   ` Christian Affolter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox