oe-depends-dot in Yocto


oe-depends-dot utility analyses recipe-depends.dot file generated by bitbake -g command and provide you with options to
  • Find out why a particular recipe is built means who is including this recipe
  • Find out the dependencies of the particular recipe



To use oe-depends-dot utility you need to first generate recipe-depends.dot file



E.g. bitbake -g core-image-minimal generates .dot files



To find out the dependencies of a particular recipe:



E.g. oe-depends-dot -d -k <recipename> recipe-depends.dot
$ oe-depends-dot -d -k sed recipe-depends.dot
Depends: ncurses db libffi diffutils pseudo-native ptest-runner dwarfsrcfiles-native gawk openssl gettext-native gcc-runtime binutils-cross-x86_64 autoconf-native opkg-utils-native python3 libtool-cross quilt-native zlib base-files sqlite3 m4 bzip2 flex bc rpm-native automake-native cryptodev-linux libtool-native opkg-utils gdbm glibc-locale gnu-config-native make readline xz glibc perl gcc-cross-x86_64 libgcc bash linux-libc-headers

To find out why a particular recipe is included in the image.
E.g. oe-depends-dot -w -k <recipename> recipe-depends.dot
$ oe-depends-dot -w -k sed recipe-depends.dot
Because: logrotate libpcre bash xf86-video-vesa harfbuzz parted gawk keymaps connman core-image-minimal-initramfs gtk+ libvncserver busybox libxt pulseaudio libsdl opkg-utils bluez5 bc consolekit xf86-input-libinput gst-examples glib-networking libepoxy alsa-plugins kmod ofono glib-2.0 gnome-themes-standard gdbm gstreamer1.0 grep flex libcheck attr x11vnc python3-pygobject librsvg fstests dbus-glib grub python3-setuptools gstreamer1.0-plugins-ugly initramfs-framework openssl ltp xserver-xorg udev-extraconf dbus mpg123 initramfs-module-setup-live initramfs-module-install at-spi2-core gconf coreutils gobject-introspection acl gnome-desktop-testing procps libtool diffutils thermald atk dbus-test python3-pycairo libnss-mdns alsa-utils python gstreamer1.0-plugins-bad xprop systemd-boot vulkan avahi bash-completion xf86-video-fbdev ca-certificates util-linux gstreamer1.0-plugins-base alsa-state at mesa-demos unzip python3 core-image-minimal xwininfo libxml2 libcroco screen syslinux btrfs-tools iproute2 wpa-supplicant gtk+3 blktool pango libgudev initramfs-module-install-efi grub-efi shadow readline lame ncurses cpio libinput libsoup-2.4 xrestop curl gzip mesa gstreamer1.0-plugins-good expect python3-dbus tar perl gdk-pixbuf packagegroup-core-tools-testapps gstreamer1.0-libav glew packagegroup-core-boot dpkg which shared-mime-info lrzsz cronie sysvinit e2fsprogs kbd libglu eudev x11perf wayland elfutils at-spi2-atk mg cairo libxmu bzip2

Comments

Popular posts from this blog

Connecting Serial ports of two Ubuntu VMWare Virtual Machines

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig