<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/files, branch scarthgap-5.0.13</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap-5.0.13</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap-5.0.13'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-03-05T14:03:47+00:00</updated>
<entry>
<title>meta: Enable '-o pipefail' for the SDK installer</title>
<updated>2025-03-05T14:03:47+00:00</updated>
<author>
<name>Moritz Haase</name>
<email>Moritz.Haase@bmw.de</email>
</author>
<published>2025-02-26T06:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=eaf460dba452c7ec3027d3714517aa49eaf12a01'/>
<id>urn:sha1:eaf460dba452c7ec3027d3714517aa49eaf12a01</id>
<content type='text'>
When testing a Yocto SDK installer on Alpine 3.21, we recently ended up with a
broken SDK. One of the commands the relocation script calls in a piped
multi-command chain failed (see [0]), but the installer did not realize that -
since it doesn't use 'set -o pipefail'. Thus, the error was never reported to
the user and the installer claimed to have set up the SDK correctly - which
wasn't the case.

Given that the SDK installer is a POSIX-compliant shell script and that the
'pipefail' option used to be missing from the standard, it's not surprising that
it isn't used. Thankfully however, in June of 2024, a new version of POSIX
(POSIX.1-2024) was released - and that one finally includes the 'pipefail'
option (see [1]). A number of shells already support it, so let's enable it if
available to make the SDK installer more robust.

The change has been tested locally using SDK installers for internal projects,
based on both Kirkstone and Scarthgap.

[0]: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16797
[1]: https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/V3_chap02.html#set

(From OE-Core rev: 1cb4b41c7faf77fcc347b1276d86d4288968c926)

(From OE-Core rev: 940159f060e9a851cc9ff5a9e1c590ed8de4b38e)

Signed-off-by: Moritz Haase &lt;Moritz.Haase@bmw.de&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 10dce263f0230f94a44a017b5614811e696c5ce9)
Signed-off-by: Akash Hadke &lt;akash.hadke27@gmail.com&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>files: overlayfs-create-dirs: Improve mount unit dependency</title>
<updated>2025-02-12T14:25:37+00:00</updated>
<author>
<name>Esben Haabendal</name>
<email>esben@geanix.com</email>
</author>
<published>2025-02-04T13:53:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e723021fbcb710945931ed537e5d3a8bfecb2f5a'/>
<id>urn:sha1:e723021fbcb710945931ed537e5d3a8bfecb2f5a</id>
<content type='text'>
The RequiresMountsFor configuration option of systemd.unit (added in
systemd version 201) not only adds the Requires and After options for
the required mount unit, but it adds them for all mount units required
to access the specified path.

So this change is both a simplification, and an improvement.

Not only will all needed mount units be added to Requires and After, but
the overlay path does not have to be a mountpoint, but can be at any
directory level beneath a mountpoint.

(From OE-Core rev: e00920c55a44058e8d2b063bf865df11e59a6185)

Signed-off-by: Esben Haabendal &lt;esben@geanix.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
(cherry picked from commit fa2422232a143b21aeea3728abca82100946dbc4)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>files: Amend overlayfs unit descriptions with path information</title>
<updated>2025-02-12T14:25:37+00:00</updated>
<author>
<name>Esben Haabendal</name>
<email>esben@geanix.com</email>
</author>
<published>2025-02-04T13:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=32dd056113c9e47d2559b06a50366a6c13883242'/>
<id>urn:sha1:32dd056113c9e47d2559b06a50366a6c13883242</id>
<content type='text'>
Having something like

Starting Overlayfs directories setup /home...
Starting Overlayfs directories setup /root...
Finished Overlayfs directories setup /home.
Finished Overlayfs directories setup /root.
Mounting Overlayfs mount unit /home...
Mounting Overlayfs mount unit /root...
Mounted Overlayfs mount unit /root.
Mounted Overlayfs mount unit /home.

is much more informative than

Starting Overlayfs directories setup...
Starting Overlayfs directories setup...
Finished Overlayfs directories setup.
Finished Overlayfs directories setup.
Mounting Overlayfs mount unit...
Mounting Overlayfs mount unit...
Mounted Overlayfs mount unit.
Mounted Overlayfs mount unit.

Especially as the number of overlayfs mount units increase.

(From OE-Core rev: 9eb6c41e1c5411193a19e73af81f628171b01407)

Signed-off-by: Esben Haabendal &lt;esben@geanix.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 7308b4fc6f51bdf2b8f3b7899ff3758c5968e418)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>toolchain-shar-extract.sh: exit when post-relocate-setup.sh fails</title>
<updated>2024-11-26T14:11:30+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2024-10-09T08:56:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e57dc303e1cf5665c0ff1d5b44e5d593538b9559'/>
<id>urn:sha1:e57dc303e1cf5665c0ff1d5b44e5d593538b9559</id>
<content type='text'>
When LD_LIBRARY_PATH is set, post-relocate-setup.sh will fail and
exit properly. But such failure is ignored and the SDK installation
will continue and tell user that things succeed. This is misleading.
So exit immediately if post-relocate-setup.sh fails.

Fixes [Yocto #15586]

(From OE-Core rev: 1ecc2102cc8f4fbcf32c1296e1f7549c774380ac)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit c8e2dcc1f71aa33cc6e56dfdebebbe7ef010c944)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>sdk: Fix path length limit to match reserved size</title>
<updated>2024-07-17T12:36:13+00:00</updated>
<author>
<name>Robert Kovacsics</name>
<email>robert.kovacsics@carallon.com</email>
</author>
<published>2024-05-09T13:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8824da319b17c3a401b68962b18ef09ef4625b15'/>
<id>urn:sha1:8824da319b17c3a401b68962b18ef09ef4625b15</id>
<content type='text'>
There were two different interpreter lengths in use, make them match.

(From OE-Core rev: 98119e3f452ebf6cb5f17049aef3a9a3ef7116c8)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit b175f9cdc3d87bef5c89cc337c2a7e2674732b29)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>toolchain-shar-relocate.sh: Add check for missing command 'file'</title>
<updated>2024-03-23T10:18:20+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2024-03-21T17:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=084fe2241bf67047909032d7b7934479731910e6'/>
<id>urn:sha1:084fe2241bf67047909032d7b7934479731910e6</id>
<content type='text'>
On a machine without the file command, the SDK install fails with a
cryptic error message.

```
xargs: file: No such file or directory
sed: no input files
Failed to replace perl. Relocate script failed. Abort!
```

Add a test for 'file' to print a clear error message.

```
The command 'file' is required by the relocation script, please install it first. Abort!
```

(From OE-Core rev: 1aa19b9e34ebe6f39a25364073fed4c069f650e8)

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>screenshot-tests: Add initial screenshot test png files for core-image-sato</title>
<updated>2024-03-07T17:27:51+00:00</updated>
<author>
<name>Eilís 'pidge' Ní Fhlannagáin</name>
<email>pidge@baylibre.com</email>
</author>
<published>2024-02-29T12:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f4665afc3c48a3351bd249e26338c50a9914bad2'/>
<id>urn:sha1:f4665afc3c48a3351bd249e26338c50a9914bad2</id>
<content type='text'>
This is an initial commit of png's we can use to test qemu image testing
against.

Also add symlinks for core-image-sato-sdk

[RP: Add symlinks and missing image]
(From OE-Core rev: 06b7a8c02fbf89258034a0a258efc0bd23902f03)

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin &lt;pidge@baylibre.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>overlayfs-etc: add option to skip creation of mount dirs</title>
<updated>2024-02-19T15:21:14+00:00</updated>
<author>
<name>baruch@tkos.co.il</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2024-02-12T18:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6f32769afbc81227129912551de5d44b7bad0b35'/>
<id>urn:sha1:6f32769afbc81227129912551de5d44b7bad0b35</id>
<content type='text'>
The 'preinit' script can't create mount directories when rootfs is
read-only. Add an option to skip this step. The user must make sure that
all required directories are already in the rootfs directory layout.

Cc: Vyacheslav Yurkov &lt;uvv.mail@gmail.com&gt;
(From OE-Core rev: 3d433d8559467d255bd19af2d0999c65ea24a48d)

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&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>toolchain-shar-relocate: allow 'find' access to libraries in symlinked directories</title>
<updated>2024-02-08T10:53:13+00:00</updated>
<author>
<name>Maanya Goenka</name>
<email>maanyagoenka@microsoft.com</email>
</author>
<published>2024-02-01T02:56:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3ef63361b43a091ecea1fc4441544a280b769777'/>
<id>urn:sha1:3ef63361b43a091ecea1fc4441544a280b769777</id>
<content type='text'>
If the '/' is not added to the end of the dynamic loader path, only directories
that are not symlinks will be looked into for libraries such as ld-linux*,
so the slash is added to allow the 'find' command to have symlinked directory access too.

(From OE-Core rev: 8468f24e3e81d5248eb1424e43accd2ea8bf0568)

Signed-off-by: Maanya Goenka &lt;maanyagoenka@microsoft.com&gt;
Signed-off-by : Alejandro Hernandez Samaniego &lt;alhe@linux.microsoft.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>bitbake.conf: Drop oldincludedir</title>
<updated>2023-11-20T15:30:52+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-11-16T16:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0769e8ef6b52584ef790744fe43973e56789e2b2'/>
<id>urn:sha1:0769e8ef6b52584ef790744fe43973e56789e2b2</id>
<content type='text'>
Autoconf defines this as:

"The directory for installing C header files for non-GCC compilers."

Whilst this is something autoconf does allow changing, I find it hard
to believe it has much use in the wild now and that headers don't get
split like this in reality, it would probably only be useful on really
old unixes.. The values are the same in our configuration anyway.

Drop the value and just use includedir everywhere.

(From OE-Core rev: 506c91cbc6a604a84e37e53ccff430436369802e)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&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>
</feed>
