Skip to contentSkip to conversation

any value in a single variable setting for "don't use busybox"?

DISCUSSION Robert P. J. Day 2 participants 3 messages Apr 23, 2020

lore
Share & tools
lore
#0 lore raw

in the vein of the recently-introduced INIT_MANAGER variable, is
there any value in introducing a variable that is short for "i don't want a hint of busybox in my image"?

i see the equivalent in the same file i mentioned in an earlier
post: meta/lib/oeqa/selftest/cases/imagefeatures.py, with the corresponding settings:

# Replace busybox
PREFERRED_PROVIDER_virtual/base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock" VIRTUAL-RUNTIME_base-utils-syslog = ""

# Blacklist busybox
PNBLACKLIST[busybox] = "Don't build this"

i ask since a colleague just asked me how to do exactly that --
prevent any trace of busybox being used in the final image.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

This seems like something best kept in the distro .conf rather than local.conf, in which case brevity is much less of an issue.

Quoted 34 lines · Robert P. J. Day

in the vein of the recently-introduced INIT_MANAGER variable, is
there any value in introducing a variable that is short for "i don't want a hint of busybox in my image"?

i see the equivalent in the same file i mentioned in an earlier
post: meta/lib/oeqa/selftest/cases/imagefeatures.py, with the corresponding settings:

# Replace busybox
PREFERRED_PROVIDER_virtual/base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock" VIRTUAL-RUNTIME_base-utils-syslog = ""

# Blacklist busybox
PNBLACKLIST[busybox] = "Don't build this"

i ask since a colleague just asked me how to do exactly that --
prevent any trace of busybox being used in the final image.

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================

Signature · 4 lines
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 13 lines · Christopher Larson

This seems like something best kept in the distro .conf rather than local.conf, in which case brevity is much less of an issue.

On Thu, Apr 23, 2020 at 10:53 AM Robert P. J. Day <[email protected]> wrote:

  in the vein of the recently-introduced INIT_MANAGER variable, is there any value in introducing a variable that is short for "i don't want a hint of busybox in my image"?

  i see the equivalent in the same file i mentioned in an earlier
post: meta/lib/oeqa/selftest/cases/imagefeatures.py, with the corresponding settings:

Quoted 8 lines

# Replace busybox
PREFERRED_PROVIDER_virtual/base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils" VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock" VIRTUAL-RUNTIME_base-utils-syslog = ""

# Blacklist busybox
PNBLACKLIST[busybox] = "Don't build this"

sure, that's logical. can i at least verify that the above does
indeed represent the entirety of saying, "i want no busybox"?

rday