1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

target: Run shutils.in in busybox

Ensure shutils.in runs in a busybox shell.
This commit is contained in:
Douglas Raillard 2022-05-23 14:25:12 +01:00 committed by Marc Bonnici
parent a9fcc75f60
commit 7853d2c85c

View File

@ -1218,7 +1218,7 @@ fi
@call_conn @call_conn
def _execute_util(self, command, timeout=None, check_exit_code=True, as_root=False): def _execute_util(self, command, timeout=None, check_exit_code=True, as_root=False):
command = '{} {}'.format(self.shutils, command) command = '{} sh {} {}'.format(quote(self.busybox), quote(self.shutils), command)
return self.conn.execute(command, timeout, check_exit_code, as_root) return self.conn.execute(command, timeout, check_exit_code, as_root)
def _extract_archive(self, path, cmd, dest=None): def _extract_archive(self, path, cmd, dest=None):