<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/files, branch nanbield</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=nanbield</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=nanbield'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-09-09T11:04:55+00:00</updated>
<entry>
<title>build-sysroots: target or native sysroot population need to be selected explicitly</title>
<updated>2023-09-09T11:04:55+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2023-09-07T10:51:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=63e53fb8b60d38315015844bd3357fa1649cd639'/>
<id>urn:sha1:63e53fb8b60d38315015844bd3357fa1649cd639</id>
<content type='text'>
Running them in parallel is prone to races as postinsts from target sysroots
rely on executables from native sysroots which may or may not be fully prepared
yet. This was observed for example here:

https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/468/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/467/steps/12/logs/stdio

(From OE-Core rev: 38d7a2e45b883cf999a86af05bcc0eaa875bb47c)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&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>common-licenses: Add LGPL-3.0-with-zeromq-exception</title>
<updated>2023-06-13T21:10:32+00:00</updated>
<author>
<name>Remi Peuvergne</name>
<email>rpeuvergne@free.fr</email>
</author>
<published>2023-06-06T11:41:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7ff2e05a5b5c82fd81d6411f3285b22484896ace'/>
<id>urn:sha1:7ff2e05a5b5c82fd81d6411f3285b22484896ace</id>
<content type='text'>
ZeroMQ is not exactly LGPL-3.0 and has a specific exception.

(From OE-Core rev: 21b08f04a1eda343e230c01ef1993ace81614f3c)

Signed-off-by: Remi Peuvergne &lt;remi.peuvergne@non.se.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>classes: files: Extend overlayfs-etc class</title>
<updated>2022-09-09T11:24:43+00:00</updated>
<author>
<name>Vyacheslav Yurkov</name>
<email>v.yurkov@precitec.de</email>
</author>
<published>2022-09-07T19:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c3ec554ba5dbe5abcba35724f039baba8a4c27eb'/>
<id>urn:sha1:c3ec554ba5dbe5abcba35724f039baba8a4c27eb</id>
<content type='text'>
Add the ability to expose the lower layer of /etc when mounting overlay.
This is the similar to what overlayroot script from initramfs-framework does.

By default, this option is turned off to keep an old behavior intact.

(From OE-Core rev: 791e8a8bacce5a7f31f4d7bcbfb17df2967fd258)

Signed-off-by: Vyacheslav Yurkov &lt;v.yurkov@precitec.de&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>files: overlayfs-etc: refactor preinit template</title>
<updated>2022-09-09T11:24:43+00:00</updated>
<author>
<name>Vyacheslav Yurkov</name>
<email>v.yurkov@precitec.de</email>
</author>
<published>2022-09-07T19:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d99391f03576de2392b9a35f663390c284eb7dce'/>
<id>urn:sha1:d99391f03576de2392b9a35f663390c284eb7dce</id>
<content type='text'>
(From OE-Core rev: ad5b2bffbee6ddcf51bc146d1e76c980b498b399)

Signed-off-by: Vyacheslav Yurkov &lt;v.yurkov@precitec.de&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/files/layers.schema.json: drop the layers property</title>
<updated>2022-09-02T14:58:26+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2022-09-01T18:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2bdc042d9c782ce87c4bc70c4b04eacfaec549d4'/>
<id>urn:sha1:2bdc042d9c782ce87c4bc70c4b04eacfaec549d4</id>
<content type='text'>
This is a leftover from one of the RFC iterations, where
the property contained available machines, distros and templates.
As all of those were dropped from the final version, there is no
reason to list the layers either anymore.

Normally this would be a backwards incompatible change, but as
the layer setup itself was just merged, I think we can do a quick
fixup :-)

(From OE-Core rev: 64a774de0e154ef81f20853fec903b17d9985a72)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&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/files: add layer setup JSON schema and example</title>
<updated>2022-09-01T09:07:02+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2022-08-31T11:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f5d6792d68a12db9c512522ef576b5a8d4204952'/>
<id>urn:sha1:f5d6792d68a12db9c512522ef576b5a8d4204952</id>
<content type='text'>
Defines a common schema for layer setup that can be consumed by tools to
know how to fetch and assemble layers for end users. Also includes an
example of the layer setup that constructs poky/meta-intel/imaginary product layer
for reference.

The schema can be used to validate a layer setup file with the commands:

 $ python3 -m pip install jsonschema
 $ jsonschema -i meta/files/layers.example.json meta/files/layers.schema.json

(From OE-Core rev: 72740b5dd635579e373b4bfe6ccacfe6a02aa998)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;

Alex: I made the following modifications to Joshua's original commit:

- moved the files from meta/lib to meta/files

- the example json showcases a multi-repo, multi-layer setup
instead of just poky - closer to a typical product

- added oe-selftest that validates the example json against the schema using python3-jsonschema-native

- the schema is modified so that:

-- all lists (sources, layers, remotes) are replaced by objects keyed by 'name' properties of the list items.
This allows using them as dicts inside Python, and makes the json more compact and readable.

-- added 'contains_this_file' property to source object

-- replaced 'remote' property with a 'oneOf' definition for git with a specific
'git-remote' property. 'oneOf' is problematic when schema validation fails:
the diagnostic is only that none of oneOf variants matched, which is too non-specific.

-- added 'describe' property to 'git-remote' object.

-- removed description property for a layer source: it is not clear how to add that
when auto-generating the json

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>files: respect overlayfs owner from lower layer</title>
<updated>2022-06-04T10:28:23+00:00</updated>
<author>
<name>Vyacheslav Yurkov</name>
<email>v.yurkov@precitec.de</email>
</author>
<published>2022-06-01T19:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=366e7e620bb749a247a1f7288f0ed8cedd529ded'/>
<id>urn:sha1:366e7e620bb749a247a1f7288f0ed8cedd529ded</id>
<content type='text'>
Permission model of overlayfs uses permissions/ownership from the upper
layer after mounting. Fix up UID/GID of the upper layer, when lower
layer already uses something custom.

(From OE-Core rev: b19b734ec3c031ee594229e728ee077cd58b34a9)

Signed-off-by: Vyacheslav Yurkov &lt;v.yurkov@precitec.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>files: rootfs-postcommands: move helper commands to script</title>
<updated>2022-06-04T10:28:23+00:00</updated>
<author>
<name>Vyacheslav Yurkov</name>
<email>v.yurkov@precitec.de</email>
</author>
<published>2022-06-01T19:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5fc131c5a91b056a173eab4cd04148fdfc297b8c'/>
<id>urn:sha1:5fc131c5a91b056a173eab4cd04148fdfc297b8c</id>
<content type='text'>
OverlayFS systemd helper unit might require more pre-processing
commands. It gets more complicated to embed them in a unit file, because
systemd shell subset is limited and might require additional escaping.
Move the command to a separate script, thus simplifying systemd unit.

(From OE-Core rev: 86a457016e7f3fc7acacf86cd87f5d8d882132dd)

Signed-off-by: Vyacheslav Yurkov &lt;v.yurkov@precitec.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>files: overlayfs-etc: add overlay mount options to preinit</title>
<updated>2022-03-11T06:56:02+00:00</updated>
<author>
<name>Claudius Heine</name>
<email>ch@denx.de</email>
</author>
<published>2022-03-10T13:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6dd32f4a3bf29605f7b8fb6e1d801628310fcfd3'/>
<id>urn:sha1:6dd32f4a3bf29605f7b8fb6e1d801628310fcfd3</id>
<content type='text'>
Overlayfs-etc is useful if the rootfs is read-only. One reason to have
the rootfs read-only is to allow image based updating.

Image based updating will change the underlying root file system, which
is unsupported by overlayfs when with some mount options [1].

This disables those options.

[1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems

(From OE-Core rev: 13a057d6ffc3110f891224d7af9455b53581e8a8)

Signed-off-by: Claudius Heine &lt;ch@denx.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>files: overlayfs-etc: wrap long lines of preinit file</title>
<updated>2022-03-11T06:56:02+00:00</updated>
<author>
<name>Claudius Heine</name>
<email>ch@denx.de</email>
</author>
<published>2022-03-10T13:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3653b9d37afaee287016df062a975cf9fa696e6b'/>
<id>urn:sha1:3653b9d37afaee287016df062a975cf9fa696e6b</id>
<content type='text'>
Make it easier to see what is happening by wrapping the overly long
lines in the preinit file for the overlayfs-etc.

(From OE-Core rev: 2e116bbc1afbc571b99f2605839e3c90839471be)

Signed-off-by: Claudius Heine &lt;ch@denx.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
