[yocto] jethro 2.0.1/ubi-utils not installed on target

Paul Eggleton paul.eggleton at linux.intel.com
Wed Feb 17 11:40:03 PST 2016


On Wed, 17 Feb 2016 10:10:16 gmane at reliableembeddedsystems.com wrote:
> On 2016-02-17 04:07, Paul Eggleton wrote:
> > If you want the complete list of packages you can only get it after a
> > recipe has been built, at which time oe-pkgdata-util can be used:
> > 
> > $ oe-pkgdata-util list-pkgs -p mtd-utils
> > mtd-utils-jffs2
> > mtd-utils-ubifs
> > mtd-utils-misc
> > mtd-utils-dbg
> > mtd-utils-dev
> > mtd-utils-doc
> > mtd-utils
>
> So would something I hacked up quickly like this work?
> 
> test.sh:
> -->
> bitbake -s |  awk '{ print $1}' > test.txt
> tail -n +6 test.txt > test1.txt
> while IFS='' read -r line || [[ -n "$line" ]]; do
>      echo "-->"
>      echo "oe-pkgdata-util list-pkgs -p $line"
>      oe-pkgdata-util list-pkgs -p $line 2> /dev/null
>      echo "<--"
> done < test1.txt
> <--

Well, oe-pkgdata-util list-pkgs with no arguments should list all (previously 
built) packages, if that's what you're after. You can also specify a 
wildcarded search term e.g.

  oe-pkgdata-util list-pkgs '*utils*'

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list