Re: [yocto] Removing busybox

2019-03-02 Thread Randy MacLeod
On 2/27/19 9:19 PM, Adrian Bunk wrote: On Wed, Feb 27, 2019 at 11:59:42PM +, Burton, Ross wrote: On Wed, 27 Feb 2019 at 23:55, Tom Rini wrote: My current incomplete list is: bind-utils \ bridge-utils \ coreutils \ dnsmasq \ e2fsprogs \ e2fsprogs-resize2fs \

Re: [yocto] Removing busybox

2019-02-28 Thread Tom Rini
On Wed, Feb 27, 2019 at 05:42:03PM +, Burton, Ross wrote: > On Wed, 27 Feb 2019 at 17:27, Mark Hatle wrote: > > You can also blacklist busybox to ensure that it never builds, and thus > > can't > > show up in your target image. > > > > PNBLACKLIST[busybox] = "Don't build this" > > Sounds

Re: [yocto] Removing busybox

2019-02-28 Thread Jean-Christian de Rivaz
Le 28.02.19 à 06:19, Adrian Bunk a écrit : > On Wed, Feb 27, 2019 at 11:59:42PM +, Burton, Ross wrote: >> ... >> Also swap vim for something in core obviously. > It is not obvious how to do that. > > What other vi implementation is in core? > Is there even any good non-busybox non-GUI editor

Re: [yocto] Removing busybox

2019-02-28 Thread Richard Purdie
On Thu, 2019-02-28 at 09:37 -0500, Tom Rini wrote: > On Thu, Feb 28, 2019 at 02:27:37PM +, Richard Purdie wrote: > > On Thu, 2019-02-28 at 12:05 +, Burton, Ross wrote: > > > I thought we had some other editor in core, but can't see > > > one. Worse > > > case we still use busybox for its

Re: [yocto] Removing busybox

2019-02-28 Thread Tom Rini
On Thu, Feb 28, 2019 at 02:27:37PM +, Richard Purdie wrote: > On Thu, 2019-02-28 at 12:05 +, Burton, Ross wrote: > > On Thu, 28 Feb 2019 at 05:20, Adrian Bunk wrote: > > > > That's a good start. For a oe-core packagegroup > > > > > > I do not think a core-only packagegroup makes sense

Re: [yocto] Removing busybox

2019-02-28 Thread Richard Purdie
On Thu, 2019-02-28 at 12:05 +, Burton, Ross wrote: > On Thu, 28 Feb 2019 at 05:20, Adrian Bunk wrote: > > > That's a good start. For a oe-core packagegroup > > > > I do not think a core-only packagegroup makes sense when the goal > > is to > > completely replace busybox (and not just most

Re: [yocto] Removing busybox

2019-02-28 Thread Burton, Ross
On Thu, 28 Feb 2019 at 05:20, Adrian Bunk wrote: > > That's a good start. For a oe-core packagegroup > > I do not think a core-only packagegroup makes sense when the goal is to > completely replace busybox (and not just most apps while keeping a few > busybox apps installed). But a "close

Re: [yocto] Removing busybox

2019-02-27 Thread Adrian Bunk
On Wed, Feb 27, 2019 at 11:59:42PM +, Burton, Ross wrote: > On Wed, 27 Feb 2019 at 23:55, Tom Rini wrote: > > My current incomplete list is: > > bind-utils \ > > bridge-utils \ > > coreutils \ > > dnsmasq \ > > e2fsprogs \ > > e2fsprogs-resize2fs \ > >

Re: [yocto] Removing busybox

2019-02-27 Thread Burton, Ross
On Thu, 28 Feb 2019 at 00:10, Jean-Christian de Rivaz wrote: > My image recipe look actually like below and require several > meta-openembedded/meta-*. This is not a clean example. The > packagegroup-core-full-cmdline already provides a chunk of commands but > more are required to look like a

Re: [yocto] Removing busybox

2019-02-27 Thread Jean-Christian de Rivaz
Le 28.02.19 à 00:59, Burton, Ross a écrit : > On Wed, 27 Feb 2019 at 23:55, Tom Rini wrote: >> My current incomplete list is: >> bind-utils \ >> bridge-utils \ >> coreutils \ >> dnsmasq \ >> e2fsprogs \ >> e2fsprogs-resize2fs \ >> e2fsprogs-tune2fs \ >> findutils \

Re: [yocto] Removing busybox

2019-02-27 Thread Burton, Ross
On Wed, 27 Feb 2019 at 23:55, Tom Rini wrote: > My current incomplete list is: > bind-utils \ > bridge-utils \ > coreutils \ > dnsmasq \ > e2fsprogs \ > e2fsprogs-resize2fs \ > e2fsprogs-tune2fs \ > findutils \ > gawk \ > grep \ > inetutils-ping \ >

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 11:02:06PM +, Burton, Ross wrote: > On Wed, 27 Feb 2019 at 22:25, Jean-Christian de Rivaz > wrote: > > The project I work for need nodejs and chromium (and a >100MB database > > on some nodes), so space is not an issue. I need to deliver an useful > > distribution with

Re: [yocto] Removing busybox

2019-02-27 Thread Burton, Ross
On Wed, 27 Feb 2019 at 22:25, Jean-Christian de Rivaz wrote: > The project I work for need nodejs and chromium (and a >100MB database > on some nodes), so space is not an issue. I need to deliver an useful > distribution with usual commands, tools and a working console + keyboard > for my locale.

Re: [yocto] Removing busybox

2019-02-27 Thread Philip Balister
On 02/27/2019 05:24 PM, Jean-Christian de Rivaz wrote: > Le 27.02.19 à 22:40, Adrian Bunk a écrit : >> On Wed, Feb 27, 2019 at 03:09:02PM -0500, Tom Rini wrote: >>> On Wed, Feb 27, 2019 at 09:06:38PM +0100, Jean-Christian de Rivaz wrote: >>> ... So as expected systemd is there and busybox is

Re: [yocto] Removing busybox

2019-02-27 Thread Jean-Christian de Rivaz
Le 27.02.19 à 22:40, Adrian Bunk a écrit : > On Wed, Feb 27, 2019 at 03:09:02PM -0500, Tom Rini wrote: >> On Wed, Feb 27, 2019 at 09:06:38PM +0100, Jean-Christian de Rivaz wrote: >> ... >>> So as expected systemd is there and busybox is not. But there is a lot of >>> useful commands missing on the

Re: [yocto] Removing busybox

2019-02-27 Thread Burton, Ross
On Wed, 27 Feb 2019 at 21:41, Adrian Bunk wrote: > It is not obvious to me what usecases people have in mind for > getting rid of busybox, and whether everyone is aware that > something like "all busybox commands replaced" is *very* > expensive regarding filesystem size. Considering many of the

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 11:40:37PM +0200, Adrian Bunk wrote: > On Wed, Feb 27, 2019 at 03:09:02PM -0500, Tom Rini wrote: > > On Wed, Feb 27, 2019 at 09:06:38PM +0100, Jean-Christian de Rivaz wrote: > >... > > > So as expected systemd is there and busybox is not. But there is a lot of > > > useful

Re: [yocto] Removing busybox

2019-02-27 Thread Adrian Bunk
On Wed, Feb 27, 2019 at 03:09:02PM -0500, Tom Rini wrote: > On Wed, Feb 27, 2019 at 09:06:38PM +0100, Jean-Christian de Rivaz wrote: >... > > So as expected systemd is there and busybox is not. But there is a lot of > > useful commands missing on the resulting QEMU image: > > > > root@qemux86:~#

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Thu, Feb 28, 2019 at 10:31:15AM +1300, Paul Eggleton wrote: > On Thursday, 28 February 2019 9:09:02 AM NZDT Tom Rini wrote: > > Somewhere on my (and other > > folks too) TODO list is a packagegroup that includes procps and psmisc > > and grep and tar and various network packages and less and

Re: [yocto] Removing busybox

2019-02-27 Thread Paul Eggleton
On Thursday, 28 February 2019 9:09:02 AM NZDT Tom Rini wrote: > Somewhere on my (and other > folks too) TODO list is a packagegroup that includes procps and psmisc > and grep and tar and various network packages and less and more and... That is what packagegroup-core-full-cmdline (well, the

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 09:06:38PM +0100, Jean-Christian de Rivaz wrote: > Thank you very much Tom for help. Here is my complete method: > > git clone git://git.yoctoproject.org/poky -b thud > cd poky > cat << EOF > meta-poky/conf/distro/poky-ng.conf > require conf/distro/poky.conf > DISTRO =

Re: [yocto] Removing busybox

2019-02-27 Thread Jean-Christian de Rivaz
Thank you very much Tom for help. Here is my complete method: git clone git://git.yoctoproject.org/poky -b thud cd poky cat << EOF > meta-poky/conf/distro/poky-ng.conf require conf/distro/poky.conf DISTRO = "poky-ng" # Switch to systemd DISTRO_FEATURES += "systemd" VIRTUAL-RUNTIME_init_manager =

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 06:47:52PM +, Burton, Ross wrote: > On Wed, 27 Feb 2019 at 18:45, Tom Rini wrote: > > OK, so I've kicked things a bit harder again, and here's what I see as > > the (small) rub. > > $ git grep hddimg meta/conf/ > > meta/conf/machine/include/x86-base.inc:IMAGE_FSTYPES

Re: [yocto] Removing busybox

2019-02-27 Thread Scott Rifenbark
Hi, Sounds like this issue might have some documentation ripples when it settles out. Scott On Wed, Feb 27, 2019 at 10:46 AM Tom Rini wrote: > On Wed, Feb 27, 2019 at 06:35:10PM +, Burton, Ross wrote: > > On Wed, 27 Feb 2019 at 17:58, Tom Rini wrote: > > > I'm not sure we can blacklist

Re: [yocto] Removing busybox

2019-02-27 Thread Burton, Ross
On Wed, 27 Feb 2019 at 18:45, Tom Rini wrote: > OK, so I've kicked things a bit harder again, and here's what I see as > the (small) rub. > $ git grep hddimg meta/conf/ > meta/conf/machine/include/x86-base.inc:IMAGE_FSTYPES ?= "hddimg" > > So yes, we can do a test with qemux86/qemux86-64 and

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 06:35:10PM +, Burton, Ross wrote: > On Wed, 27 Feb 2019 at 17:58, Tom Rini wrote: > > I'm not sure we can blacklist busybox from the build at this time > > (hddimg requires initramfs that requires busybox) but instead only force > > remove it from the image and ensure

Re: [yocto] Removing busybox

2019-02-27 Thread Burton, Ross
On Wed, 27 Feb 2019 at 17:58, Tom Rini wrote: > I'm not sure we can blacklist busybox from the build at this time > (hddimg requires initramfs that requires busybox) but instead only force > remove it from the image and ensure it still builds. Don't build an image with a initramfs? --

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 05:42:03PM +, Burton, Ross wrote: > On Wed, 27 Feb 2019 at 17:27, Mark Hatle wrote: > > You can also blacklist busybox to ensure that it never builds, and thus > > can't > > show up in your target image. > > > > PNBLACKLIST[busybox] = "Don't build this" > > Sounds

Re: [yocto] Removing busybox

2019-02-27 Thread Burton, Ross
On Wed, 27 Feb 2019 at 17:27, Mark Hatle wrote: > You can also blacklist busybox to ensure that it never builds, and thus can't > show up in your target image. > > PNBLACKLIST[busybox] = "Don't build this" Sounds like someone should write a new selftest that does the required configuration

Re: [yocto] Removing busybox

2019-02-27 Thread Mark Hatle
On 2/27/19 11:06 AM, Tom Rini wrote: > On Wed, Feb 27, 2019 at 01:16:56PM +0100, Jean-Christian de Rivaz wrote: > >> Hi all, >> >> After reading the thread "Removing busybox completely from the generated >> image" I tested to reproduce the method but this doesn't work as expected. >> >> git clone

Re: [yocto] Removing busybox

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:16:56PM +0100, Jean-Christian de Rivaz wrote: > Hi all, > > After reading the thread "Removing busybox completely from the generated > image" I tested to reproduce the method but this doesn't work as expected. > > git clone git://git.yoctoproject.org/poky -b thud > cd

[yocto] Removing busybox

2019-02-27 Thread Jean-Christian de Rivaz
Hi all, After reading the thread "Removing busybox completely from the generated image" I tested to reproduce the method but this doesn't work as expected. git clone git://git.yoctoproject.org/poky -b thud cd poky echo 'require conf/distro/poky.conf' > meta-poky/conf/distro/poky-ng.conf echo

Re: [yocto] Removing busybox completely from the generated image

2018-02-21 Thread Iván Castell
2018-02-21 4:01 GMT+01:00 Paul Eggleton : > On Tuesday, 20 February 2018 9:26:49 PM NZDT Iván Castell wrote: > > 2018-02-20 7:45 GMT+01:00 Martin Hundebøll : > > >> Thank you for the information, I will take into account that tool for > > >> future

Re: [yocto] Removing busybox completely from the generated image

2018-02-20 Thread Paul Eggleton
On Tuesday, 20 February 2018 9:26:49 PM NZDT Iván Castell wrote: > 2018-02-20 7:45 GMT+01:00 Martin Hundebøll : > >> Thank you for the information, I will take into account that tool for > >> future embedded projects. However, the focus of this issue was to remove > >> completely

Re: [yocto] Removing busybox completely from the generated image

2018-02-20 Thread Iván Castell
2018-02-20 7:45 GMT+01:00 Martin Hundebøll : > Hi Ivan, > >> >> Thank you for the information, I will take into account that tool for >> future embedded projects. However, the focus of this issue was to remove >> completely busybox from the image, not replacing it by another

Re: [yocto] Removing busybox completely from the generated image

2018-02-20 Thread Martin Hundebøll
Hi Ivan, On 2018-02-19 17:13, Iván Castell wrote: 2018-02-19 16:18 GMT+01:00 Maxin B. John >: Hi, On Mon, Feb 19, 2018 at 02:17:38AM -0800, Khem Raj wrote: > On Mon, Feb 19, 2018 at 12:35 AM, Iván Castell >

Re: [yocto] Removing busybox completely from the generated image

2018-02-19 Thread Paul Eggleton
On Monday, 19 February 2018 11:21:20 PM NZDT Alexander Kanavin wrote: > On 02/19/2018 10:35 AM, Iván Castell wrote: > > I have tried breaking apart packagegroup-core-boot, making a copy in my > > custom layer, removing the line referencing busybox: > > > > ## VIRTUAL-RUNTIME_login_manager

Re: [yocto] Removing busybox completely from the generated image

2018-02-19 Thread Iván Castell
2018-02-19 16:18 GMT+01:00 Maxin B. John : > Hi, > > On Mon, Feb 19, 2018 at 02:17:38AM -0800, Khem Raj wrote: > > On Mon, Feb 19, 2018 at 12:35 AM, Iván Castell > > wrote: > > > I have tried breaking apart packagegroup-core-boot, making a copy in

Re: [yocto] Removing busybox completely from the generated image

2018-02-19 Thread Maxin B. John
Hi, On Mon, Feb 19, 2018 at 02:17:38AM -0800, Khem Raj wrote: > On Mon, Feb 19, 2018 at 12:35 AM, Iván Castell > wrote: > > I have tried breaking apart packagegroup-core-boot, making a copy in my > > custom layer, removing the line referencing busybox: > > > > ##

Re: [yocto] Removing busybox completely from the generated image

2018-02-19 Thread Alexander Kanavin
On 02/19/2018 10:35 AM, Iván Castell wrote: 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

Re: [yocto] Removing busybox completely from the generated image

2018-02-19 Thread Khem Raj
On Mon, Feb 19, 2018 at 12:35 AM, Iván Castell wrote: > 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

Re: [yocto] Removing busybox completely from the generated image

2018-02-19 Thread Iván Castell
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

[yocto] Removing busybox completely from the generated image

2018-02-16 Thread Iván Castell
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 = ""