aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-04-19 16:46:00 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-04-24 10:15:47 +1200
commit7e467585aefc3765340edec2e2cc3da96a8df4de (patch)
tree88546825a244e10e69fa3999dc86cffc04643c1f /layerindex
parent351a2526d60238ee67b7cf363578e9bc152a26cb (diff)
downloadopenembedded-core-contrib-7e467585aefc3765340edec2e2cc3da96a8df4de.tar.gz
bulkchange.py: fix regression
It seems that in df492b127723973e5e2c18c74b1fee853d41bc69 the original intention was to move setup_layer to the utils module, but that didn't actually get done in the final patch - however the change was made here to accommodate the move, meaning it's been broken since then. Revert that so we're actually calling the function in the place it exists. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex')
-rw-r--r--layerindex/bulkchange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layerindex/bulkchange.py b/layerindex/bulkchange.py
index 2d8a7dfdf1..316c7112ae 100644
--- a/layerindex/bulkchange.py
+++ b/layerindex/bulkchange.py
@@ -44,7 +44,7 @@ def generate_patches(tinfoil, fetchdir, changeset, outputdir):
layerfetchdir = os.path.join(fetchdir, layer.get_fetch_dir())
utils.checkout_layer_branch(layerbranch, layerfetchdir)
layerdir = os.path.join(layerfetchdir, layerbranch.vcs_subdir)
- config_data_copy = utils.setup_layer(tinfoil.config_data, fetchdir, layerdir, layer, layerbranch)
+ config_data_copy = recipeparse.setup_layer(tinfoil.config_data, fetchdir, layerdir, layer, layerbranch)
if outfile:
outfile.close()
outfile = open(os.path.join(tmpoutdir, patchname), 'w')