]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Include /sbin to the PATH when creating ext4 disk image
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 11 Feb 2021 14:40:09 +0000 (16:40 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 17 Mar 2021 16:50:19 +0000 (12:50 -0400)
commit9262fe15599a388e365cca3091e4852be8f23f11
treef0711e70e00a1eaacdcc135ace17a61ab469cbd1
parent0453411998ed4425c5c1543de53ff7474bd42eea
test: Include /sbin to the PATH when creating ext4 disk image

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_env.py