
18 Feb
2021
18 Feb
'21
5:45 a.m.
On Thu, 11 Feb 2021 at 07:40, Andy Shevchenko andriy.shevchenko@linux.intel.com wrote:
On some distributions the mkfs.ext4 is under /sbin and /sbin is not set for mere users. Include /sbin to the PATH when creating ext4 disk image, so that users won't get a scary traceback from Python.
Cc: Patrick Delaunay patrick.delaunay@foss.st.com Signed-off-by: Andy Shevchenko andriy.shevchenko@linux.intel.com
v2: used '/sbin' as is (Simon) test/py/tests/test_env.py | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org