<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/openbmc.git/setup, branch master</title>
<subtitle>OpenBMC Distribution (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/'/>
<updated>2026-09-18T16:28:05+00:00</updated>
<entry>
<title>setup: sort machine discovery for determinism</title>
<updated>2026-09-18T16:28:05+00:00</updated>
<author>
<name>Mo Elbadry</name>
<email>elbadrym@google.com</email>
</author>
<published>2026-09-17T19:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=a7fab1813ada08f48267d75ee39b4ba42e5dab11'/>
<id>urn:sha1:a7fab1813ada08f48267d75ee39b4ba42e5dab11</id>
<content type='text'>
find(1) traverses directory entries in filesystem order (readdir), which
varies across filesystems and checkout order. When setup is invoked with
a machine name or without arguments, unsorted find output can list or
match machine configurations in non-deterministic order across hosts.

Pipe the find output through LC_ALL=C sort so machine discovery is
always deterministic.

Tested: Verified setup lists and resolves machines deterministically and
  passes shellcheck cleanly.
Change-Id: Ieab2d2f03e75c1adbf993e712f69399ffc4eceef
Signed-off-by: Mo Elbadry &lt;elbadrym@google.com&gt;
</content>
</entry>
<entry>
<title>openembedded-core: move in prep for poky deprecation</title>
<updated>2026-03-11T21:48:36+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2026-03-11T20:37:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=b36127831f3340e3148e3fe6144fec31d9b333fd'/>
<id>urn:sha1:b36127831f3340e3148e3fe6144fec31d9b333fd</id>
<content type='text'>
Poky has been deprecated and instead we are expected to have individual
layers.  Move the openembedded-core sourced directories to a separate
upstream-layers directory in preparation for this and clean out any
old poky content that is not present in openembedded-core.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Id969d4852ffc4b0188ea2262c7ec0fe8fea935fe
</content>
</entry>
<entry>
<title>setup: prevent PATH based sourcing</title>
<updated>2024-12-03T22:11:59+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2024-12-03T13:02:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=081f7e8d0ff730c17efff87dd960b06b201451b1'/>
<id>urn:sha1:081f7e8d0ff730c17efff87dd960b06b201451b1</id>
<content type='text'>
Fixes openbmc/openbmc#4022.

It was pointed out that sourcing the oe-init-build-env can potentially
use PATH rather than the one in the repository.  Explicitly source
the local file (with ./) to prevent this.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I62a5561d6150ebc9c24de9716b3f0efe4358d9c7
</content>
</entry>
<entry>
<title>setup: fix shell exit call</title>
<updated>2024-10-03T10:45:01+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2024-09-27T15:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=51700c4f43babfb446ce2f856ef5432271e6af97'/>
<id>urn:sha1:51700c4f43babfb446ce2f856ef5432271e6af97</id>
<content type='text'>
Running `. ./setup` would result in the shell exiting, since the
script is sourced.  How to exit has to be different between sourcing
(`return`) and calling (`exit`).  Detect the two different execution
modes and call the appropriate command for error paths.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Icf26d1164216ba79ffa81acca1cade20399f8667
</content>
</entry>
<entry>
<title>setup: add subcommand for machine list</title>
<updated>2024-09-05T02:44:12+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2024-09-04T18:22:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=606cc8fd4c28977e48d4948cd859bdf1a39e03c8'/>
<id>urn:sha1:606cc8fd4c28977e48d4948cd859bdf1a39e03c8</id>
<content type='text'>
Add a subcommand that gives a human-readable list of vendors
and associated machines for which there is code in the repository.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Ie4ce61d89397803bd53d1c8927106801ea9ad0fb
</content>
</entry>
<entry>
<title>setup: allow simple execution for machine list</title>
<updated>2024-09-05T02:44:12+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2024-09-04T14:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=cf270c1062872f1aefd0daf4afc051fe1265fe17'/>
<id>urn:sha1:cf270c1062872f1aefd0daf4afc051fe1265fe17</id>
<content type='text'>
Move the if-block that detects if we were running as a `source`
or direct invocation, so that the machine list can be obtained
more regularly.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Ica3dde8b3efba0affff3cf884f4059bb141dd802
</content>
</entry>
<entry>
<title>setup: Replace tabs with 4 spaces to keep consistency</title>
<updated>2024-05-24T12:54:23+00:00</updated>
<author>
<name>Roy Yang</name>
<email>royyang@google.com</email>
</author>
<published>2024-05-17T20:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=67d5090b2419d1eca0786f3507e4e23ae162c424'/>
<id>urn:sha1:67d5090b2419d1eca0786f3507e4e23ae162c424</id>
<content type='text'>
Change-Id: Ieadc4fcf922429df1bbb1e6fc347e9071493c6d4
Signed-off-by: Roy Yang &lt;royyang@google.com&gt;
</content>
</entry>
<entry>
<title>setup: fix multi-machine layers</title>
<updated>2022-11-18T17:08:20+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2022-11-18T16:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=08b6cec504bcededcc23a7293d064c118c37b371'/>
<id>urn:sha1:08b6cec504bcededcc23a7293d064c118c37b371</id>
<content type='text'>
When making the change required by Yocto to move configs into
template subdirectories, the setup script wasn't updated in a
way to handle the appropriate fix-up of the MACHINE variable
in the `conf/local.conf`.

Fixes bb789d5694b3696a9aa81d2cd37a1c7f39908ed8

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: If90f1a3c4052c019ea88eeea7787bc2b252f6094
</content>
</entry>
<entry>
<title>treewide: handle upstream TEMPLATECONF move</title>
<updated>2022-09-09T14:53:41+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2022-09-09T14:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=bb789d5694b3696a9aa81d2cd37a1c7f39908ed8'/>
<id>urn:sha1:bb789d5694b3696a9aa81d2cd37a1c7f39908ed8</id>
<content type='text'>
The latest poky commit is requiring us to have all of
our template configs in a subdirectory instead of directly in
the `conf` directory.  Without this we end up with errors during
setup like:

```
Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name
```

Fix this by moving all of our template files into the 'default'
template subdirectory (following the pattern of poky) and modifying
`setup` as necessary to follow.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
</content>
</entry>
<entry>
<title>setup: minor changes to machine list</title>
<updated>2022-06-14T04:49:03+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2022-05-31T14:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=6acb610e07e864f5ec8d371dc7964a1852d4feb4'/>
<id>urn:sha1:6acb610e07e864f5ec8d371dc7964a1852d4feb4</id>
<content type='text'>
- Pass column results to `expand` to eliminate tabs.

This enables easy copy/paste into markdown files for updating.

- Filter out QEMU machines.

We enable the QEMU machines from Yocto to be used for building but
they're not actively supported.  Remove them to reduce the noise
in the tool output.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I53c3f039cb36c705aa614627aeb40b20471c499c
</content>
</entry>
</feed>
