Fetching the source code
When we download the Poky source code, we download the metadata collection and the BitBake tool. One of the main features supported by BitBake is additional source code fetching.
The ability of fetching external source code is as modular and flexible as possible. For example, every Linux-based system includes the Linux kernel and several other utilities that form the root
filesystem, such as OpenSSH or BusyBox.
The OpenSSH source code is available from its upstream website as a tar.gz
file hosted on an HTTP server, while the Linux kernel release is in a Git repository. Therefore, BitBake can easily fetch those two different instances of source code.
BitBake offers support for many different fetcher modules that allow the retrieval of tarball files and several other SCM systems, such as the following:
- Amazon AWS S3
- Android repo
- Azure Storage
- Bazaar
- ClearCase
- CVS
- FTP
- Git
- Git Annex
- Git submodules
- HTTP(S...