[yocto] lscpu command
Ioan-Adrian Ratiu
adrian.ratiu at ni.com
Fri Feb 19 01:31:58 PST 2016
Hello
On Fri, 19 Feb 2016 10:25:37 +0100
Supriti Singh <supritisingh08 at gmail.com> wrote:
> Hello,
>
> meta/recipes-core/util-linux should provide lscpu command.
>
> I created a core-image-sato image with meta layer. But when I boot yocto,
> no lscpu command is present.
>
> I do see it in util-linux.inc but "google util-linux lscpu" shows me a
> patch remove-lscpu.
>
> So, is lscpu command supported or not? If yes, then what do I need to
> change in the configuration.
meta/recipes-core/util-linux/util-linux.inc:94:FILES_util-linux-lscpu = "${bindir}/lscpu"
This means that lscpu is packaged in its own util-linux-lscpu package. Try making sure that package exists after building util-linux and install it on your target if you don't have it already.
>
> THanks,
> Supriti
More information about the yocto
mailing list