On Thu, 11 Feb 2021 at 07:40, Andy Shevchenko <andriy.shevche...@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.delau...@foss.st.com> > Signed-off-by: Andy Shevchenko <andriy.shevche...@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 <s...@chromium.org>