<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/lib/bblayers, branch yocto-5.0.14</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-5.0.14</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-5.0.14'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2024-03-30T22:25:43+00:00</updated>
<entry>
<title>bblayers/makesetup.py: Move git utility functions to oe.buildcfg module</title>
<updated>2024-03-30T22:25:43+00:00</updated>
<author>
<name>Jermain Horsman</name>
<email>jermain.horsman@nedap.com</email>
</author>
<published>2024-03-25T12:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9b839a835cc0746c59f9d74ef0e66c79280f8f13'/>
<id>urn:sha1:9b839a835cc0746c59f9d74ef0e66c79280f8f13</id>
<content type='text'>
This allows other classes to make use of these as well.

Includes a git describe and git toplevel function and functions
to get info for git remotes.

(From OE-Core rev: a04a084b6e513d15cb57ee103c6d6215ce1c75b9)

Signed-off-by: Jermain Horsman &lt;jermain.horsman@nedap.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake-layers: Add ability to update the reference of repositories</title>
<updated>2024-02-19T11:47:53+00:00</updated>
<author>
<name>Jermain Horsman</name>
<email>jermain.horsman@nedap.com</email>
</author>
<published>2024-02-08T13:50:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dd2ed0c3630adfcf9f1be22d8608fbc871a7e0eb'/>
<id>urn:sha1:dd2ed0c3630adfcf9f1be22d8608fbc871a7e0eb</id>
<content type='text'>
This creates a new layers setup with, or, modifies an existing layers
setup using, one or more repositories where the references are provided
by the user.

This is a very minimal implementation, no validation of any reference
is done and it is left to the user to provide a valid value.

(From OE-Core rev: e69444de713e1ec7959c71f9cdf965d3b5a1c6be)

Signed-off-by: Jermain Horsman &lt;jermain.horsman@nedap.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta/lib/bblayers/buildconf.py: add support for configuration summaries</title>
<updated>2024-02-19T11:47:53+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2024-02-16T11:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f6f50200c97f77cfeaefa2699dbbc1a6da2692c3'/>
<id>urn:sha1:f6f50200c97f77cfeaefa2699dbbc1a6da2692c3</id>
<content type='text'>
(From OE-Core rev: 7117e3d08570202c79d618d4fb6a67895b1df564)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lib/bblayers/buildconf.py: Remove unused imports/variables</title>
<updated>2024-01-04T23:47:51+00:00</updated>
<author>
<name>Jermain Horsman</name>
<email>jermain.horsman@nedap.com</email>
</author>
<published>2024-01-04T10:28:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=01ef197c6b3f4d772acee32a9fde0f270dddef76'/>
<id>urn:sha1:01ef197c6b3f4d772acee32a9fde0f270dddef76</id>
<content type='text'>
(From OE-Core rev: 720f48c0692a4cbb00535151b049704645748216)

Signed-off-by: Jermain Horsman &lt;jermain.horsman@nedap.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lib/bblayers/makesetup.py: Remove unused imports</title>
<updated>2024-01-04T23:47:51+00:00</updated>
<author>
<name>Jermain Horsman</name>
<email>jermain.horsman@nedap.com</email>
</author>
<published>2024-01-04T10:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=54f9db951abdacbbfdbee275422c174a1b7ee140'/>
<id>urn:sha1:54f9db951abdacbbfdbee275422c174a1b7ee140</id>
<content type='text'>
(From OE-Core rev: 789549ed28c043a6d9b304f99f528546f4ade957)

Signed-off-by: Jermain Horsman &lt;jermain.horsman@nedap.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lib/bblayers/setupwriters/oe-setup-layers.py: Fix indentation</title>
<updated>2023-11-09T16:57:26+00:00</updated>
<author>
<name>Jermain Horsman</name>
<email>jermain.horsman@nedap.com</email>
</author>
<published>2023-11-08T08:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=61e7c1d99c2d11abf12a33f443b7949ff8bac735'/>
<id>urn:sha1:61e7c1d99c2d11abf12a33f443b7949ff8bac735</id>
<content type='text'>
The writer always printed the script was written even if this
was not the case when specififying '--json-only'.

(From OE-Core rev: b2efb4c6c8bd938aac5146e14bd0c38f3f632bc4)

Signed-off-by: Jermain Horsman &lt;jermain.horsman@nedap.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create.py: add command arg to add layer to bblayers.conf</title>
<updated>2023-02-24T13:31:45+00:00</updated>
<author>
<name>Pedro Baptista</name>
<email>pedro.miguel.baptista@gmail.com</email>
</author>
<published>2023-02-21T11:49:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=803e781e42b9c538119c2a56b8478149530cce6d'/>
<id>urn:sha1:803e781e42b9c538119c2a56b8478149530cce6d</id>
<content type='text'>
Add command arg `--add-layer` which enables the create
and add layer in a single step.

(From OE-Core rev: f3be788a55a2dde1f627aa85b08dc3ffa55d751f)

Signed-off-by: Pedro Baptista &lt;pedro.miguel.baptista@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bblayers/makesetup: skip git repos that are submodules</title>
<updated>2023-02-15T10:21:34+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2023-02-10T06:42:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=314944eaaba2984b70af6be243b09cec566f6373'/>
<id>urn:sha1:314944eaaba2984b70af6be243b09cec566f6373</id>
<content type='text'>
(From OE-Core rev: d8bc9cd4ca8ae268a61024f8ac5083a2bbdc432f)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bblayers/setupwriters/oe-setup-layers: create dir if not exists</title>
<updated>2023-02-15T10:21:34+00:00</updated>
<author>
<name>Adrian Freihofer</name>
<email>adrian.freihofer@siemens.com</email>
</author>
<published>2023-02-10T06:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ac60e31af37c2297c679d67d22e5bcad28ead450'/>
<id>urn:sha1:ac60e31af37c2297c679d67d22e5bcad28ead450</id>
<content type='text'>
Without this patch:

$ bitbake-layers create-layers-setup /home/adrian/temp/poky-clone
NOTE: Starting bitbake server...
Traceback (most recent call last):
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 169, in run
    pipe = Popen(cmd, **options)
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 73, in __init__
    subprocess.Popen.__init__(self, *args, **options)
  File "/usr/lib64/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.10/subprocess.py", line 1847, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/adrian/temp/poky-clone'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/adrian/projects/poky/bitbake/bin/bitbake-layers", line 95, in &lt;module&gt;
    ret = main()
  File "/home/adrian/projects/poky/bitbake/bin/bitbake-layers", line 88, in main
    return args.func(args)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 90, in do_make_setup
    p.do_write(self, args)
  File "/home/adrian/projects/poky/meta/lib/bblayers/setupwriters/oe-setup-layers.py", line 36, in do_write
    repos = parent.make_repo_config(args.destdir, args.include_layer_repo)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 55, in make_repo_config
    destdir_repo = self._get_repo_path(destdir)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 30, in _get_repo_path
    repo_path, _ = bb.process.run('git rev-parse --show-toplevel', cwd=layer_path)
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 172, in run
    raise NotFoundError(cmd)
bb.process.NotFoundError: Execution of 'git rev-parse --show-toplevel' failed: command not found

with this patch:

$ bitbake-layers create-layers-setup /home/adrian/temp/poky-clone
NOTE: Starting bitbake server...
NOTE: Created /home/adrian/temp/poky-clone/setup-layers.json
NOTE: Created /home/adrian/temp/poky-clone/setup-layers

(From OE-Core rev: 2da12ccada46443d58dd8fab463156fa763b84cc)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake-layers: fix a typo</title>
<updated>2023-01-02T15:31:56+00:00</updated>
<author>
<name>Enguerrand de Ribaucourt</name>
<email>enguerrand.de-ribaucourt@savoirfairelinux.com</email>
</author>
<published>2023-01-02T14:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=59a06db5dc7b3c5dc2b5f79304b2d73e341f251c'/>
<id>urn:sha1:59a06db5dc7b3c5dc2b5f79304b2d73e341f251c</id>
<content type='text'>
(From OE-Core rev: fab3aa7b1b7003bb03678c5cfc62ad2b597f0932)

Signed-off-by: Enguerrand de Ribaucourt &lt;enguerrand.de-ribaucourt@savoirfairelinux.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
