[yocto] Creating a EXT4 rootfs instead of EXT3: How?

Nick D'Ademo nickdademo at gmail.com
Wed Jan 8 02:55:48 PST 2014


Thanks for the reply Nicolas.

It seems the problem is that .hddimg uses EXT3 by default (after looking at
image_types.bbclass).

The ROOTFS type for my build is set in
/meta/conf/machine/include/ia32-base.inc: IMAGE_FSTYPES += "live"

Is there a way to make the HDDIMG use EXT4 instead?

Thanks,
Nick

On Wed, Jan 8, 2014 at 12:24 AM, Nicolas Dechesne <
nicolas.dechesne at linaro.org> wrote:

>
> On Tue, Jan 7, 2014 at 2:19 PM, Nick D'Ademo <nickdademo at gmail.com> wrote:
>
>> Can't seem to get the build process to create a EXT4 filesystem - I've
>> tried the following:
>>
>
> in general, more details about the actual error you get would be more
> helpful.
>
>
>>
>> 1. Tried adding ROOTFSTYPE ?= "*ext4*" to the machine .conf file
>>
>
> the variable name is IMAGE_FSTYPES, not ROOTFSTYPES.
>
>
>> 2. Ensured EXT4 is enabled in the Linux kernel (using menuconfig)
>>
>
> this would not impact the image generation, only at runtime when mounting
> the rootfs
>
>
>>
>> This is a build for the Intel NUC hardware.
>>
>> Anyone have any ideas on how to do this?
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140108/6132585b/attachment.html>


More information about the yocto mailing list