On Thu, Jul 24, 2025 at 08:58:02PM +0000, Matteo Davide Emanuele Pefano - 
[email protected] wrote:
> it is possible that the apk package does not provide it? creating the link it 
> says applet not found.
> ________________________________
> From: Emanuele Torre <[email protected]>
> Sent: Thursday, July 24, 2025 8:42 PM
> To: Matteo Davide Emanuele Pefano - [email protected] 
> <[email protected]>
> Cc: [email protected] <[email protected]>
> Subject: Re: new applet
> 
> On Thu, Jul 24, 2025 at 08:30:28PM +0000, Matteo Davide Emanuele Pefano - 
> [email protected] wrote:
> > Could lsblk/cfdisk/lspci be useful in Busybox? Thank you!
> 
> Note that busybox has already got lspci.
> o/
>  emanuele6

If you meant to say "apt package" as in debian package, I can't check to
make sure at the moment, but it seems that indeed debian explicitly does
not include lspci (nor lsusb).
https://salsa.debian.org/installer-team/busybox/-/blame/b99e05a216b708c9db8eef5925e156ec79ae681d/debian/config/pkg/deb#L654
They seem to have been disabled on the debian package since 2010 with
this commit 6541490aa7d8210a2e28e1e95e06d75d15ae19ad being the first
mention of them in the config.

lspci was first introduced in a 2010 release. I guess it was disabled
(I think only on debian) for the first release, and then the debian
package maintainers forgot about that, and it has never been re-enabled
again. Maybe they would enable it if someone pointed it out.
If you look at  grep -r LSPCI configs/  you can see it is enabled by
default in every non-TEST defconfig except cygwin.

At least the gentoo and the termux packages provide this applet by
default; and I assume most other distributions' busybox packages do too
since it is the default.

o/
 emanuele6
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to