aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/bulkchange.py
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@WindRiver.com>2016-10-04 14:15:56 -0400
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-18 16:42:16 +1300
commitdf492b127723973e5e2c18c74b1fee853d41bc69 (patch)
treeffd41af7c40c64fbfb14e6ffd93eb195442d43c6 /layerindex/bulkchange.py
parent8915465007056de998586549cd4a955041aab1b2 (diff)
downloadopenembedded-core-contrib-df492b127723973e5e2c18c74b1fee853d41bc69.tar.gz
layerindex/recipeparse.py: refactor setup_tinfoil, checkout_layer_branch, parse_layer_conf to utils.py
Move functions to utils to be used by other classes. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
Diffstat (limited to 'layerindex/bulkchange.py')
-rw-r--r--layerindex/bulkchange.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/layerindex/bulkchange.py b/layerindex/bulkchange.py
index 81025716ff..ac9079fd68 100644
--- a/layerindex/bulkchange.py
+++ b/layerindex/bulkchange.py
@@ -42,9 +42,9 @@ def generate_patches(tinfoil, fetchdir, changeset, outputdir):
patchname = "%s.patch" % layer.name
patches.append(patchname)
layerfetchdir = os.path.join(fetchdir, layer.get_fetch_dir())
- recipeparse.checkout_layer_branch(layerbranch, layerfetchdir)
+ utils.checkout_layer_branch(layerbranch, layerfetchdir)
layerdir = os.path.join(layerfetchdir, layerbranch.vcs_subdir)
- config_data_copy = recipeparse.setup_layer(tinfoil.config_data, fetchdir, layerdir, layer, layerbranch)
+ config_data_copy = utils.setup_layer(tinfoil.config_data, fetchdir, layerdir, layer, layerbranch)
if outfile:
outfile.close()
outfile = open(os.path.join(tmpoutdir, patchname), 'w')