diff options
Diffstat (limited to 'scripts')
-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): | |||
63 | return out | 63 | return out |
64 | 64 | ||
65 | 65 | ||
66 | def 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 | |||
75 | def exec_native_cmd(cmd_and_args, native_sysroot, catch=3): | 66 | def 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 | |||
102 | def 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 | ||