summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2020-04-02 21:11:52 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-04-08 18:32:27 +0300
commit42c0f8bd38491632e6f7c15627ea401d66ffb1bd (patch)
tree36d130c4f07ba5f54bfca5b65eaa043385f81b30 /setup
parenta18f65aac4bf035921012ff9125d53176231e067 (diff)
downloadopenbmc-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-xsetup4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup b/setup
index a1702f991..35a4a05f2 100755
--- a/setup
+++ b/setup
@@ -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