mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Previously bitbake-setup was checking out 'detached commits' using fetcher's nobranch feature, as that is the only option when only a revision is in the config. Branches are optional, but beneficial, as - checkout directory will be on a branch, making it easier for users to understand where they are if they need to make changes (also bitbake will print branch information instead of saying 'HEAD:sha'). - supply chain security! Enforcing a branch means any specified revision has to be on it, and no one can sneak in (accidentally or deliberately!) some dangling commit, or something from their private branch in the same repo. (Bitbake rev: 45ed9b9faebdaa8cb7cc8dd2a6d51ec8eea06e73) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"description": "OpenEmbedded - 'nodistro' basic configuration",
|
|
"sources": {
|
|
"bitbake": {
|
|
"git-remote": {
|
|
"remotes": {
|
|
"origin": {
|
|
"uri": "git://git.openembedded.org/bitbake;protocol=https"
|
|
}
|
|
},
|
|
"branch": "master",
|
|
"rev": "master"
|
|
},
|
|
"path": "bitbake"
|
|
},
|
|
"openembedded-core": {
|
|
"git-remote": {
|
|
"remotes": {
|
|
"origin": {
|
|
"uri": "git://git.openembedded.org/openembedded-core;protocol=https"
|
|
}
|
|
},
|
|
"branch": "master",
|
|
"rev": "master"
|
|
},
|
|
"path": "openembedded-core"
|
|
},
|
|
"yocto-docs": {
|
|
"git-remote": {
|
|
"remotes": {
|
|
"origin": {
|
|
"uri": "git://git.yoctoproject.org/yocto-docs;protocol=https"
|
|
}
|
|
},
|
|
"branch": "master",
|
|
"rev": "master"
|
|
},
|
|
"path": "yocto-docs"
|
|
}
|
|
},
|
|
"bitbake-setup": {
|
|
"configurations": [
|
|
{
|
|
"name": "nodistro",
|
|
"description": "OpenEmbedded 'nodistro'",
|
|
"bb-layers": ["openembedded-core/meta"],
|
|
"oe-fragments-one-of": {
|
|
"machine": {
|
|
"description": "Target machines",
|
|
"options" : ["machine/qemux86-64", "machine/qemuarm64", "machine/qemuriscv64"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"version": "1.0"
|
|
}
|