[PATCH v2 1/4] test: Include /sbin to the PATH when creating ext4 disk image

Simon Glass sjg at chromium.org
Thu Feb 18 05:45:19 CET 2021


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


More information about the U-Boot mailing list