diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-05 09:13:06 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:59:11 +0100 |
commit | 77e9243210b2283a5fbd3f40e7823a211d2be233 (patch) | |
tree | a46a08c27545ff9270315b99f2336d3f3dc8e80a /scripts/lib/wic/utils | |
parent | 921ea71607c8d0d9acfca862e326d182b32aab0b (diff) | |
download | openembedded-core-contrib-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/wic/utils')
-rw-r--r-- | scripts/lib/wic/utils/oe/misc.py | 21 |
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): return out -def exec_cmd_quiet(cmd_and_args, as_shell=False): - """ - Execute command, catching nothing in the output - - Exits if rc non-zero - """ - return exec_cmd(cmd_and_args, as_shell, 0) - - def exec_native_cmd(cmd_and_args, native_sysroot, catch=3): """ Execute native command, catching stderr, stdout @@ -98,18 +89,6 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch=3): return (rc, out) - -def exec_native_cmd_quiet(cmd_and_args, native_sysroot): - """ - Execute native command, catching nothing in the output - - Need to execute as_shell if the command uses wildcards - - Always need to execute native commands as_shell - """ - return exec_native_cmd(cmd_and_args, native_sysroot, 0) - - # kickstart doesn't support variable substution in commands, so this # is our current simplistic scheme for supporting that |