November 2017
Intermediate to advanced
162 pages
4h 8m
English
BitBake supports several methods for remote file downloads. The most commonly used are http://, https://, and git://. We won't cover the internal details of how BitBake handles remote file downloads and will instead focus on its visible effects.
When BitBake executes the do_fetch task in a recipe, it checks the SRC_URI contents. If we look at, for example, the libmpc recipe (available at meta/recipes-support/libmpc/libmpc_1.0.3.bb), the processed variables are the following:
SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz"SRC_URI[md5sum] = "d6a1d5f8ddea3abd2cc3e98f58352d26"SRC_URI[sha256sum] = "617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3"
BitBake expands the PV variable to ...
Read now
Unlock full access