[yocto] Removing busybox completely from the generated image
Iván Castell
icastell at nayarsystems.com
Mon Feb 19 00:35:20 PST 2018
I have tried breaking apart packagegroup-core-boot, making a copy in my
custom layer, removing the line referencing busybox:
## VIRTUAL-RUNTIME_login_manager ?= "busybox"
But now bitbake complains with an error message:
ERROR: Nothing RPROVIDES '${VIRTUAL-RUNTIME_login_manager}'
It seems "VIRTUAL-RUNTIME_login_manager" needs to be defined with a valid
option. I have tested with the option "tinylogin" but that options seems
not implemented in "rocko" branch, because I'm getting this error:
ERROR: Nothing RPROVIDES 'tinylogin'
Is there some valid alternative available? Where are these alternatives
defined?
In general, is it posible to build yocto images without using busybox at
all?
2018-02-16 16:56 GMT+01:00 Iván Castell <icastell at nayarsystems.com>:
> Hello forum!
>
> I'm trying to build a yocto image without busybox and without any busybox
> applet deployed.
>
> I have tried that configuring my distro.conf file in this way:
>
> DISTRO_FEATURES_remove = " busybox"
> VIRTUAL-RUNTIME_base-utils = ""
> PREFERRED_PROVIDER_virtual/base-utils = ""
>
> Nonetheless, busybox binary and two related applets (syslog and udhcpc)
> are installed in the generated image:
>
> $ rpm -qa | grep busybox
> busybox-syslog-1.24.1-r0.corei7_64
> busybox-1.24.1-r0.corei7_64
> busybox-udhcpc-1.24.1-r0.corei7_64
>
> I have tried disabling syslog applet appending to my distro.conf file:
>
> VIRTUAL-RUNTIME_syslog ?= ""
>
> But syslogd applet is still installed:
>
> # ls -l /sbin/syslogd
> lrwxrwxrwx 1 root root 19 Feb 15 14:03 /sbin/syslogd ->
> /bin/busybox.nosuid
>
> Is there some way to remove busybox completely from the generated image?
>
> Thank you in advance! :-)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180219/cfbe29e6/attachment.html>
More information about the yocto
mailing list