<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/tmp/openbmc.git/meta-ingrasys, branch 2.13.0-dev</title>
<subtitle>OpenBMC Distribution (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=2.13.0-dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=2.13.0-dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/'/>
<updated>2022-04-22T14:19:35+00:00</updated>
<entry>
<title>treewide: drop unused meta-security layer</title>
<updated>2022-04-22T14:19:35+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2022-04-22T14:19:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=6ad72ee99dd2398ef9e669ada3f525cfb1e99b43'/>
<id>urn:sha1:6ad72ee99dd2398ef9e669ada3f525cfb1e99b43</id>
<content type='text'>
This was added with cde0f094f for libseccomp, but shortly after that
upstream moved libseccomp from meta-security to core (241c7d2e6).  As
such, meta-security is no longer used or required.

Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
</content>
</entry>
<entry>
<title>treewide: Update BB_DISKMON_DIRS use</title>
<updated>2022-04-12T16:58:47+00:00</updated>
<author>
<name>George Liu</name>
<email>liuxiwei@inspur.com</email>
</author>
<published>2022-04-12T06:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=b6bf8da1a58541fef58862e9c783d9bdad0d5c83'/>
<id>urn:sha1:b6bf8da1a58541fef58862e9c783d9bdad0d5c83</id>
<content type='text'>
Per [1][2], Yocto is starting to deprecate ABORT and has replaced
the "ABORT" action in BB_DISKMON_DIRS entries with "HALT".

1. https://wiki.yoctoproject.org/wiki/Inclusive_language
2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5

Tested:
Built obmc-phosphor-image successfully and eliminate the following
warnings:

```
WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to
"HALT", update configuration
```

Signed-off-by: George Liu &lt;liuxiwei@inspur.com&gt;
Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
</content>
</entry>
<entry>
<title>treewide: support yocto kirkstone release</title>
<updated>2022-02-25T21:29:44+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2022-02-25T21:28:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=757831f38b48e057618031bd4b16bdac0d7ac778'/>
<id>urn:sha1:757831f38b48e057618031bd4b16bdac0d7ac778</id>
<content type='text'>
* Deprecate N-1 release (hardknott).
* Enable N+1 release (kirkstone).

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
</content>
</entry>
<entry>
<title>treewide: fix append/remove directives</title>
<updated>2022-02-18T18:41:12+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2022-02-17T13:30:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=d5c716dc3add128301ec4ba8ebb21bb6eb7856fd'/>
<id>urn:sha1:d5c716dc3add128301ec4ba8ebb21bb6eb7856fd</id>
<content type='text'>
As mentioned by I970e06ca6f9d0a9792af122eb25da1bb9a06f058, append and
remove directives with '+=' are no longer valid Yocto syntax and raise a
warning.

See https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n40

One interesting caveat has to do with the difference between "append"
and "+=".

    foo:append = "a"
    foo:append = "b"

Results in `foo = "ab"`, but

    foo += "a"
    foo += "b"

Results in `foo = "a b"`.  When `:append +=` is used it has behavior
like the `+=` operator.  Therefore, in some cases we need to insert
additional whitespace after the `:append = "` to ensure concatenation
behaves as expected.  I've manually reviewed the results to ensure there
is no ill side-effects from an additional space potentially being added.

Fix up the entire tree with the following one-liner (and similar for
`remove`):

    git ls-files -- ':!:poky/**' ':!:meta-security/**' \
        ':!:meta-raspberrypi/**' ':!:meta-openembedded/**' \
    | grep "\.bb" | xargs grep -l ":append.*+=" \
    | xargs sed -i 's/:append\(.*\)+=\([^"]*\)" */:append\1=\2" /'

  or ...
    | xargs grep -l ":remove.*+=" \
    | xargs sed -i "s/:remove\(.*\)+=/:remove\1=/"

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Iea6235e7c76e252f4d473652957c2925f6b8845a
</content>
</entry>
<entry>
<title>u-boot: Specify u-boot package for AST2500 machines</title>
<updated>2022-01-18T12:11:43+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2022-01-17T10:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=a4c5b7f99891bd08d5c11b88f7abbc57b2ab8ea6'/>
<id>urn:sha1:a4c5b7f99891bd08d5c11b88f7abbc57b2ab8ea6</id>
<content type='text'>
This sets u-boot to the package containing the v2016.07-aspeed-openbmc
branch. This ensures there will be no change if the default changes in
the future.

Change-Id: Iea12e1691dbdda34a3f95d6d0862add0b15bcf37
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>Remove BBLAYERS_NON_REMOVABLE variable</title>
<updated>2021-12-02T16:24:21+00:00</updated>
<author>
<name>Alexander Filippov</name>
<email>a.filippov@yadro.com</email>
</author>
<published>2021-12-02T16:16:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=39d68d4071b8e9b61210e8bbe65d68a9662d0f34'/>
<id>urn:sha1:39d68d4071b8e9b61210e8bbe65d68a9662d0f34</id>
<content type='text'>
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required.
As it said by Yocto documentation it can be used by `Hob`
  https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE
that already removed since Yocto-2.1
  https://www.yoctoproject.org/tools-resources/projects/hob

Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f
Signed-off-by: Alexander Filippov &lt;a.filippov@yadro.com&gt;
</content>
</entry>
<entry>
<title>bitbake: Use IPK packaging for rootfs assembly</title>
<updated>2021-09-16T12:54:14+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2021-09-14T23:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=605c37cb989a95c02633fcb93efb45102781b4bb'/>
<id>urn:sha1:605c37cb989a95c02633fcb93efb45102781b4bb</id>
<content type='text'>
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the
choice is functionally arbitrary for image generation but control over
the package format becomes important if we want to:

1. Include runtime package management functionality in the firmware image
2. Mess about with the packages on the build system

With respect to 1 the IPK format and opkg (an ipk package manager) are
designed for embedded systems[1] - by contrast to RPMs have heavier
dependencies and a greater impact on the size and complexity of the
firmware image.

Regarding 2, the embedded nature and the need for opkg to work without
much fuss leads to a lower configuration barrier by comparison to RPMs.
With ipk it becomes possible to reuse the packages built during image
preparation for core analysis without needing to generate an SDK:

```
$ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib
$ MY_DEBUG_ROOT=tmp/rootfs-debug
$ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
	-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \
	-o $MY_DEBUG_ROOT \
	update
$ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
	-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \
	-o $MY_DEBUG_ROOT \
	install dbus-sensors dbus-sensors-dbg
$ gdb-multiarch
(gdb) set solib-absolute-prefix .../tmp/rootfs-debug
(gdb) add-auto-load-safe-path .../tmp/rootfs-debug
(gdb) file tmp/rootfs-debug/usr/bin/nvmesensor
(gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000
Core was generated by `/usr/bin/nvmesensor'.
Program terminated with signal SIGABRT, Aborted.
pthread_kill.c:45
45      pthread_kill.c: No such file or directory.
(gdb) bt
pthread_kill.c:45
../sysdeps/posix/raise.c:26
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
"xyz.openbmc_project.NVMeSensor", this=0x488f04) at
/usr/include/sdbusplus/bus.hpp:234
../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159
(gdb)
```

This approach documented in the Poky Reference Manual:

https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins

Switch all machines to IPK to align the debugging experience with
upstream's documentation and to facilitate efficient use of packaged
software at runtime.

[1] https://openwrt.org/docs/guide-user/additional-software/opkg

Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
</content>
</entry>
<entry>
<title>meta-phosphor: change systemd.bbclass to match upstream override syntax</title>
<updated>2021-09-02T13:19:25+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2021-09-01T21:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=e83c22094b7e4970c96bcee273ab08d05bbc0a30'/>
<id>urn:sha1:e83c22094b7e4970c96bcee273ab08d05bbc0a30</id>
<content type='text'>
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables.  Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.

Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
</content>
</entry>
<entry>
<title>treewide: remove gategarth from layer-support</title>
<updated>2021-08-24T11:39:30+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2021-08-23T21:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=ce1426257525128c9c8f17e91afc6a60d1cb6244'/>
<id>urn:sha1:ce1426257525128c9c8f17e91afc6a60d1cb6244</id>
<content type='text'>
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current
and the upcoming.  Remove 'gatesgarth' is it is now 2 releases back.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
</content>
</entry>
<entry>
<title>meta-ingrasys: meta-zaius: Cleanup for Yocto override syntax change</title>
<updated>2021-08-11T20:39:31+00:00</updated>
<author>
<name>Brandon Kim</name>
<email>brandonkim@google.com</email>
</author>
<published>2021-08-11T20:22:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=40d8f44b51f83548f7ca8df062dd7435b784c0a8'/>
<id>urn:sha1:40d8f44b51f83548f7ca8df062dd7435b784c0a8</id>
<content type='text'>
Cleanup with
```
convert-overrides.py meta-ingrasys

git grep -l _zaius -- meta-ingrasys \
  | xargs sed -i 's/_zaius/:zaius/'
```

After cleanup
```
$ git grep "_[a-z0-9_/-]*[ :]" -- meta-ingrasys | grep '.bb'
meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend:# compose_list is not defined immediately so don't use :=
```

Signed-off-by: Brandon Kim &lt;brandonkim@google.com&gt;
Change-Id: Ib2da97530167688313ac16aedd69168137788c86
</content>
</entry>
</feed>
