aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-07-01 20:38:27 +0100
committerJoshua Lock <joshua.g.lock@intel.com>2016-07-12 14:32:14 +0100
commit62b9d63ff618dfea11dfe97115838da6c660b82b (patch)
tree4f04d65967a3a711879cdcc156e77f7a241b1bf7
parent930469271d89e51d83717c6874db2106f652f5ec (diff)
downloadmeta-swupd-62b9d63ff618dfea11dfe97115838da6c660b82b.tar.gz
meta-swupd-62b9d63ff618dfea11dfe97115838da6c660b82b.tar.bz2
meta-swupd-62b9d63ff618dfea11dfe97115838da6c660b82b.zip
Drop use of oe.path.check_output()
This was a copy-and-paste of the check_output() method of the subprocess module in order to support Python versions prior to 2.7 -- we should just use the method from subprocess directly. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
-rw-r--r--classes/swupd-image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/swupd-image.bbclass b/classes/swupd-image.bbclass
index 198b1c2..7e00181 100644
--- a/classes/swupd-image.bbclass
+++ b/classes/swupd-image.bbclass
@@ -169,7 +169,7 @@ def copyxattrtree(src, dst):
# tar does not properly copy xattrs when used like this.
# See the comment on tar in meta/classes/image_types.bbclass
cmd = "tar --xattrs --xattrs-include='*' -cf - -C %s -p . | tar -p --xattrs --xattrs-include='*' -xf - -C %s" % (src, dst)
- oe.path.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
+ subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
# swupd-client expects a bundle subscription to exist for each
# installed bundle. This is simply an empty file named for the