summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-11-23 15:01:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-25 22:27:46 +0000
commit6ddeba54a48edc02174a93fe654d4778a3218038 (patch)
treed33cab1c4b7ce2d3204a6a6ecff536482b889b4e /bitbake
parent4e75f5cc6b50d45d2b782f8f0220dade12e02473 (diff)
downloadpoky-6ddeba54a48edc02174a93fe654d4778a3218038.tar.gz
bitbake: layerindex: don't use shell=True when cloning
(Bitbake rev: fd1504a5e92390b8e1c0e689b4c2cb0ac7096b1a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bblayers/layerindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/layerindex.py b/bitbake/lib/bblayers/layerindex.py
index 9af385db59..ac7813372b 100644
--- a/bitbake/lib/bblayers/layerindex.py
+++ b/bitbake/lib/bblayers/layerindex.py
@@ -133,7 +133,7 @@ class LayerIndexPlugin(ActionPlugin):
133 layerdir = os.path.join(repodir, subdir) 133 layerdir = os.path.join(repodir, subdir)
134 if not os.path.exists(repodir): 134 if not os.path.exists(repodir):
135 if fetch_layer: 135 if fetch_layer:
136 result = subprocess.call('git clone %s %s' % (url, repodir), shell = True) 136 result = subprocess.call(['git', 'clone', url, repodir])
137 if result: 137 if result:
138 logger.error("Failed to download %s" % url) 138 logger.error("Failed to download %s" % url)
139 return None, None 139 return None, None