From 534d9ba70a44ad601a242ed09093d21cd3f032f1 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 3 Feb 2014 19:16:54 -0600 Subject: wic: Move some common items to oe.misc Move a couple items into a more common location since they're going to need to be accessible from source plugins. (From OE-Core rev: 95ca523949e838850b5afa090ba16f91b8557c12) Signed-off-by: Tom Zanussi Signed-off-by: Richard Purdie --- scripts/lib/image/engine.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'scripts/lib/image') diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index b3a9c74..0e8b89e 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py @@ -60,17 +60,6 @@ def verify_build_env(): return True -def get_line_val(line, key): - """ - Extract the value from the VAR="val" string - """ - if line.startswith(key + "="): - stripped_line = line.split('=')[1] - stripped_line = stripped_line.replace('\"', '') - return stripped_line - return None - - def find_artifacts(image_name): """ Gather the build artifacts for the current image (the image_name -- cgit v1.1