How do I make a bitbake recipe that clones a git repo with built in authentication (into the url)?
What is the format of the SRC_URI?
Bitbake is a task scheduler that parses Python and Shell script mixed code, which we called Recipes. The code parsed generates and runs tasks. They are a set of steps orders according to the code's dependencies. Metadata is where all the Recipes are located.
WORKDIR. The pathname of the work directory in which the OpenEmbedded build system builds a recipe. This directory is located within the TMPDIR directory structure and is specific to the recipe being built and the system for which it is being built.
BitBake Recipes, which are denoted by the file extension . bb , are the most basic metadata files. These recipe files provide BitBake with the following: Descriptive information about the package.
FILES_${PN} The base package, this includes everything needed to actually run the application on the target system.
For example:
SRC_URI = "git://<host>/path/to/<repo>.git;protocol=<protocol>;user=<user>:<password>;branch=<branch>
protocol might for example be https
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With