[yocto] SOLVED: How to get mkfs.ext4 in rootfs package

Ben Warren Ben.Warren at spidercloud.com
Tue Jun 11 23:10:17 PDT 2013


Hi Gaurang,

On Jun 11, 2013, at 10:47 PM, Gaurang Shastri <gmshastri at gmail.com<mailto:gmshastri at gmail.com>> wrote:

Can you try with IMAGE_INSTALL_append = " e2fsprogs" and run once again "bitbake core-image-minimal" or whatever you are referring for your final target

The 'e2fsprogs' target adds libs, but not the executables.  I needed to add 'e2fsprogs-mke2fs' to get what I wanted.

regards,
Ben

//Gaurang Shastri


On Wed, Jun 12, 2013 at 1:06 AM, Ben Warren <Ben.Warren at spidercloud.com<mailto:Ben.Warren at spidercloud.com>> wrote:
Sorry for the spam.  Still learning how this works…

Turns out I needed 'e2fsprogs-mke2fs'

regards,
Ben

On Jun 11, 2013, at 10:51 AM, Ben Warren <Ben.Warren at spidercloud.com<mailto:Ben.Warren at spidercloud.com>> wrote:

> Hi,
>
> I'm trying to get the 'mkfs.ext4' binary from e2fsprogs into my image, in particular the '.ext3' rootfs image, and am obviously missing something fundamental.
> I'm using a custom image based on (copy/pasted from) 'kvm_image_minimal', and have added 'e2fsprogs' to the IMAGE_INSTALL string in the image descriptor file.
>
> I see that the library is compiling and the binary is in tmp/sysroots:
>
> ben at ubuntu-scw:/opt/scw-appscard-build$ ls tmp/sysroots/x86_64-linux/sbin/mkfs.*
> tmp/sysroots/x86_64-linux/sbin/mkfs.ext2  tmp/sysroots/x86_64-linux/sbin/mkfs.ext4     tmp/sysroots/x86_64-linux/sbin/mkfs.minix
> tmp/sysroots/x86_64-linux/sbin/mkfs.ext3  tmp/sysroots/x86_64-linux/sbin/mkfs.ext4dev
>
> but it's not making it to the rootfs images.
>
> I've tried to read the documentation but still am not quite sure about what defines the contents of the rootfs images.
>
> thanks,
> Ben
>
>

_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130611/ca866214/attachment.html>


More information about the yocto mailing list