January 2018
Intermediate to advanced
456 pages
12h 49m
English
For this example, I have forked the Linux Wandboard kernel repository to https://github.com/yoctocookbook2ndedition/linux.git. Refer to the GitHub or source control software documentation for instructions on how to fork a Git repository.
And my recipes-kernel/linux/linux-wandboard_4.1-2.0.x.bbappend file has the following changes:
FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:"
WANDBOARD_GITHUB_MIRROR = "git://github.com/yoctocookbook2ndedition/linux.git"
SRCBRANCH = "4.1-2.0.x-imx-dev"
SRCREV = "${AUTOREV}"
COMPATIBLE_MACHINE = "(wandboard|wandboard-custom)"
Note how the URL needs to start with git://. This is so that BitBake can recognize it as a Git source.
By default, BitBake will use the Git protocol to fetch. Even though ...
Read now
Unlock full access