<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/tmp/openbmc.git/setup, branch walnascar</title>
<subtitle>OpenBMC Distribution (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=walnascar</id>
<link rel='self' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=walnascar'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/'/>
<updated>2024-12-03T22:11:59+00:00</updated>
<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/tmp/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/tmp/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/tmp/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/tmp/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/tmp/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/tmp/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/tmp/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/tmp/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>
<entry>
<title>setup: enable all qemu* machines</title>
<updated>2022-04-07T20:36:34+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2022-03-30T15:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=cbcd6f4c549b9e9119545a17a48191930841739d'/>
<id>urn:sha1:cbcd6f4c549b9e9119545a17a48191930841739d</id>
<content type='text'>
The existing support for qemuarm wasn't working.  Sometimes, when
submitting recipes to upstream, it is useful to test image builds
against various qemu* machine models.  Enhance the setup script so that
we can build any of the qemu* machines that Poky supports and treat them
like a generic meta-phosphor machine.

Tested: Used `setup qemumips` and was able to `bitbake phosphor-image`
successfully.

Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Ide141c879dd674fe3771984f7fd41006a64ce54f
</content>
</entry>
<entry>
<title>setup: retab to soft-tabs</title>
<updated>2022-04-07T19:37:24+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2022-04-01T14:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=2c0e2b61ce98a353fef0f285568ba4952f290a1d'/>
<id>urn:sha1:2c0e2b61ce98a353fef0f285568ba4952f290a1d</id>
<content type='text'>
Change-Id: Id9d3d4ff314c0635f9f5ad6fc81d5f19977f65c1
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
</content>
</entry>
</feed>
