Exploring an image's contents
We have already seen how to use the build history feature to obtain a list of packages and files included in our image. In this recipe, we will explain how the root filesystem is built so that we are able to track its components.
Getting ready
When packages are built, they are classified inside the working directory of your project (tmp/work
) according to their architecture. For example, on a wandboard-quad
build, we find the following directories:
all-poky-linux
: This is used for architecture-independent packagescortexa9hf-vfp-neon-poky-linux-gnueabi
: This is used for cortexa9, hard floating point packageswandboard_quad-poky-linux-gnueabi
: This is used for machine-specific packages; in this case,wandboard-quad
x86_64-linux
: This is used for the packages that form the hostsysroot
BitBake will build all the packages included in its dependency list inside its own directory.
How to do it...
To find the build
directory for a given package, we can execute the following...