mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
Merge tag 'v2021.04-rc5' into next
Prepare v2021.04-rc5
This commit is contained in:
@@ -414,6 +414,8 @@ def mk_env_ext4(state_test_env):
|
||||
if os.path.exists(persistent):
|
||||
c.log.action('Disk image file ' + persistent + ' already exists')
|
||||
else:
|
||||
# Some distributions do not add /sbin to the default PATH, where mkfs.ext4 lives
|
||||
os.environ["PATH"] += os.pathsep + '/sbin'
|
||||
try:
|
||||
u_boot_utils.run_and_log(c, 'dd if=/dev/zero of=%s bs=1M count=16' % persistent)
|
||||
u_boot_utils.run_and_log(c, 'mkfs.ext4 %s' % persistent)
|
||||
|
||||
Reference in New Issue
Block a user