On 14 Jul 2023, at 10:29, ltg_tony via lists.yoctoproject.org <[email protected]> wrote: > > Hi. > > I want to use mkfs.ext4 in my recipe. I found that in > meta/classes-recipe/image_types.bbclass, line 96 contains "mkfs.ext4 -d" > option to create ext4 image from a directory ($IMAGE_ROOTFS). > > I'd like to know if it's possible to use this "-d" option in my recipe. I can > call "/sbin/mkfs.ext4", but it does not support "-d”.
Your host’s mkfs.ext4 is too old, depend on e2fsprogs-native and you can use the newer mkfs.ext4 that we build. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60579): https://lists.yoctoproject.org/g/yocto/message/60579 Mute This Topic: https://lists.yoctoproject.org/mt/100137829/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
