Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitbake (Yocto) git fetch URI authentication

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?

like image 933
JohnyTex Avatar asked Aug 26 '14 14:08

JohnyTex


People also ask

What is BitBake in yocto?

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.

What is Workdir in yocto?

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.

What is .BB file in yocto?

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.

What is files _${ PN?

FILES_${PN} The base package, this includes everything needed to actually run the application on the target system.


1 Answers

For example:

SRC_URI = "git://<host>/path/to/<repo>.git;protocol=<protocol>;user=<user>:<password>;branch=<branch>

protocol might for example be https

like image 161
JohnyTex Avatar answered Sep 20 '22 20:09

JohnyTex