summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-05 09:13:06 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-11 23:59:11 +0100
commit77e9243210b2283a5fbd3f40e7823a211d2be233 (patch)
treea46a08c27545ff9270315b99f2336d3f3dc8e80a /scripts/lib
parent921ea71607c8d0d9acfca862e326d182b32aab0b (diff)
downloadpoky-77e9243210b2283a5fbd3f40e7823a211d2be233.tar.gz
wic: removed exec_cmd_quiet and exec_native_cmd_quiet
These functions are not used anywhere. (From OE-Core rev: 7467fd446d08704881325577b7035b6128db6151) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/wic/utils/oe/misc.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py
index 2f5299dae4..9eaf039f95 100644
--- a/scripts/lib/wic/utils/oe/misc.py
+++ b/scripts/lib/wic/utils/oe/misc.py
@@ -63,15 +63,6 @@ def exec_cmd(cmd_and_args, as_shell=False, catch=3):
63 return out 63 return out
64 64
65 65
66def exec_cmd_quiet(cmd_and_args, as_shell=False):
67 """
68 Execute command, catching nothing in the output
69
70 Exits if rc non-zero
71 """
72 return exec_cmd(cmd_and_args, as_shell, 0)
73
74
75def exec_native_cmd(cmd_and_args, native_sysroot, catch=3): 66def exec_native_cmd(cmd_and_args, native_sysroot, catch=3):
76 """ 67 """
77 Execute native command, catching stderr, stdout 68 Execute native command, catching stderr, stdout
@@ -98,18 +89,6 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch=3):
98 89
99 return (rc, out) 90 return (rc, out)
100 91
101
102def exec_native_cmd_quiet(cmd_and_args, native_sysroot):
103 """
104 Execute native command, catching nothing in the output
105
106 Need to execute as_shell if the command uses wildcards
107
108 Always need to execute native commands as_shell
109 """
110 return exec_native_cmd(cmd_and_args, native_sysroot, 0)
111
112
113# kickstart doesn't support variable substution in commands, so this 92# kickstart doesn't support variable substution in commands, so this
114# is our current simplistic scheme for supporting that 93# is our current simplistic scheme for supporting that
115 94