From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: ejo@pengutronix.de, openembedded-core@lists.openembedded.org
Cc: yocto@pengutronix.de, Andrej Valek <andrej.v@skyrain.eu>
Subject: Re: [OE-core] [PATCH] busybox: drop net-tools from defconfig
Date: Sun, 26 Jan 2025 12:58:15 +0000 [thread overview]
Message-ID: <f62ca5e64bb174608d33f2f88c45da1c70830c93.camel@linuxfoundation.org> (raw)
In-Reply-To: <20250126115104.1148761-1-ejo@pengutronix.de>
On Sun, 2025-01-26 at 12:51 +0100, Enrico Jörns via
lists.openembedded.org wrote:
> The 'net-tools' have been deprecated 15 years ago! [1]
> Let's remove their busybox pendants from the defconfig to prevent
> people
> from accidentally starting projects with ancient technology.
>
> [1] https://lists.debian.org/debian-devel/2009/03/msg00780.html
>
> Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
> ---
> meta/recipes-core/busybox/busybox/defconfig | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
I did a quick grep of OE-Core and we still have a handful of sites
using this on target, particularly but not limited to our QA, the ones
that caught my eye:
meta/recipes-core/udev/udev-extraconf/network.sh: ifconfig | grep -q "^$INTERFACE" || ifup $INTERFACE
meta/recipes-core/images/build-appliance-image/README_VirtualBox_Toaster.txt: $ ifconfig
meta/recipes-core/images/build-appliance-image/README_VirtualBox_Toaster.txt: $ ifconfig
meta/recipes-core/busybox/files/simple.script: /SBIN_DIR/ifconfig $interface 0.0.0.0
meta/recipes-core/busybox/files/simple.script: /SBIN_DIR/ifconfig $interface $ip $BROADCAST $NETMASK
meta/lib/oeqa/selftest/cases/devtool.py: result = runCmd('PATH="$PATH:/sbin:/usr/sbin" ifconfig -a', ignore_status=True)
meta/lib/oeqa/selftest/cases/devtool.py: self.skipTest('Failed to determine if tap devices exist with ifconfig or ip: %s' % result.output)
meta/lib/oeqa/utils/qemurunner.py: cmd = "ifconfig eth0 %s netmask %s up\n" % (self.ip, self.netmask)
meta/lib/oeqa/runtime/cases/ethernet_ip_connman.py: (status, output) = self.target.run("ifconfig eth0 | grep 'inet ' | awk '{print $2}'")
meta/lib/oeqa/runtime/cases/ethernet_ip_connman.py: (status, output) = self.target.run("ifconfig eth0:1 %s netmask 255.255.255.0 && sleep 2 && ping -c 5 %s && ifconfig eth0:1 down" % (virtual_ip,virtual_ip))
but there are others too. We probably need to finish resolving these to
other commands before we can turn this off.
If you aren't able to help with that, we should at least have an open
bug to sort it out.
Cheers,
Richard
next prev parent reply other threads:[~2025-01-26 12:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-26 11:51 [PATCH] busybox: drop net-tools from defconfig Enrico Jörns
2025-01-26 12:58 ` Richard Purdie [this message]
2025-01-26 20:30 ` [OE-core] " Enrico Jörns
2025-01-26 22:31 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f62ca5e64bb174608d33f2f88c45da1c70830c93.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=andrej.v@skyrain.eu \
--cc=ejo@pengutronix.de \
--cc=openembedded-core@lists.openembedded.org \
--cc=yocto@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox