diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2020-04-02 21:11:52 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-08 18:32:27 +0300 |
commit | 42c0f8bd38491632e6f7c15627ea401d66ffb1bd (patch) | |
tree | 36d130c4f07ba5f54bfca5b65eaa043385f81b30 /setup | |
parent | a18f65aac4bf035921012ff9125d53176231e067 (diff) | |
download | openbmc-42c0f8bd38491632e6f7c15627ea401d66ffb1bd.tar.xz |
setup: filter out unsupported machines
Due to the import of meta-layers from out of openbmc, some of which have
their own machine configs, running `source setup` reveils a long list of
machines many of which are unsupported. Any supported machine should be
using the `meta-phosphor` layer in some way, so look for that in the
`bblayers.conf.sample` file.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3ee4aa33a643d5f7faf0c6e1bd6f3d9c84cddab8
Diffstat (limited to 'setup')
-rwxr-xr-x | setup | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -49,7 +49,9 @@ machine() { fi return fi - else + elif test -e $tmpl/bblayers.conf.sample && \ + grep -q "##OEROOT##/meta-phosphor" $tmpl/bblayers.conf.sample; + then echo "${name}" fi done |