Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hint to use/update/branch a new manifest at that point #254

Open
s-hemer opened this issue Nov 16, 2024 · 0 comments
Open

Add hint to use/update/branch a new manifest at that point #254

s-hemer opened this issue Nov 16, 2024 · 0 comments
Assignees

Comments

@s-hemer
Copy link
Contributor

s-hemer commented Nov 16, 2024

.. code-block:: console
host:~$ cd sources
host:~$ git clone git://git.yoctoproject.org/meta-security
host:~$ cd meta-security
host:~$ git branch -r
All available remote branches will show up. Usually there should be 'fido',
'jethro', 'krogoth', 'master', ...
.. code-block:: console
host:~$ git checkout kirkstone

It may make sense to highlight at this point, that this adding of additonal (own) layers should be represented/nailed-down in a manifest.

Also this section has a lot of similarities to the following on adding an own layer, maybe squash:

Default options are fine for now. Move the layer to the source directory
.. code-block:: console
host:~$ mv meta-racer ../sources/
Create a *Git* repository in this layer to track your changes
.. code-block:: console
host:~$ cd ../sources/meta-racer
host:~$ git init && git add . && git commit -s
Now you can add the layer directly to your build/conf/bblayers.conf
.. code-block:: kconfig
BBLAYERS += "${BSPDIR}/sources/meta-racer"
or with a script provided by *Yocto*
.. code-block:: console
host:~$ bitbake-layers add-layer meta-racer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants