use mke2fs instead of genext2fs for genimage

When genimage makes an SD card image, it uses genext2fs
by default to create the rootfs partition.
However, starting from commit 4618c08e2, the creation fails.
Use mke2fs instead.

Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
carbon
2024-08-08 20:11:04 +08:00
parent fa4a1ca8f5
commit 61be427409
4 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ image boot.vfat {
image rootfs.ext4 {
ext4 {
label = "rootfs"
use-mke2fs = true
}
size = 768M
}

View File

@ -12,6 +12,7 @@ image boot.vfat {
image rootfs.ext4 {
ext4 {
label = "rootfs"
use-mke2fs = true
}
size = 768M
}

View File

@ -12,6 +12,7 @@ image boot.vfat {
image rootfs.ext4 {
ext4 {
label = "rootfs"
use-mke2fs = true
}
size = 768M
}

View File

@ -12,6 +12,7 @@ image boot.vfat {
image rootfs.ext4 {
ext4 {
label = "rootfs"
use-mke2fs = true
}
size = 768M
}