oe-pkgdata-util utility in Yocto


oe-pkgdata-util is helpful in determining why a file is included in the root file system.

E.g: On the development machine:

oe-pkgdata-util find-path /etc/inittab
sysvinit-inittab: /etc/inittab


$ oe-pkgdata-util find-path */libncurses.so*
ncurses-libncurses: /lib64/libncurses.so.5
ncurses-libncurses: /lib64/libncurses.so.5.9
ncurses-dbg: /lib64/.debug/libncurses.so.5.9
lib32-ncurses-dbg: /lib/.debug/libncurses.so.5.9
ncurses-dev: /usr/lib64/libncurses.so
lib32-ncurses-dev: /usr/lib/libncurses.so
lib32-ncurses-libncurses: /lib/libncurses.so.5.9
lib32-ncurses-libncurses: /lib/libncurses.so.5


The other way is given a recipe and find out what files are generated by that recipe

oe-pkgdata-util list-pkg-files -p lib32-ncurses

To list the individual packages a recipe provide:

oe-pkgdata-util list-pkgs -p lib32-ncurses
lib32-ncurses-libtinfo
lib32-ncurses-libncursesw
lib32-ncurses-libncurses
lib32-ncurses-libticw
lib32-ncurses-libtic
lib32-ncurses-libpanelw
lib32-ncurses-libpanel
lib32-ncurses-libmenuw
lib32-ncurses-libmenu
lib32-ncurses-libformw
lib32-ncurses-libform
lib32-ncurses-dbg
lib32-ncurses-staticdev
lib32-ncurses-dev
lib32-ncurses-doc
lib32-ncurses
lib32-ncurses-tools
lib32-ncurses-terminfo-base
lib32-ncurses-terminfo

Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig