[yocto] Question: How to install the mkfs tools from the e2fsprogs instead of the BusyBox tools.

Paul Eggleton paul.eggleton at linux.intel.com
Tue Dec 4 07:33:41 PST 2012


On Monday 12 November 2012 12:10:59 Elad Yosef wrote:
> I have created my own image based in existing one.
> 
> ****************************************************************
> IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} u-boot"
> 
> #My additions to the File-System
> IMAGE_INSTALL += "e2fsprogs iptables"
> IMAGE_LINGUAS = " "
> inherit core-image
> LICENSE = "MIT"
> IMAGE_ROOTFS_SIZE = "8192"
> # remove not needed ipkg informations
> ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
> IMAGE_FSTYPES ?= "tar.gz ext2.gz.u-boot"
> ******************************************************************
> 
> After building the File system I see that the mksf.ext2 point to the
> BusyBox. I checked the build log file and saw the following:
> ***********************************************
> update-alternatives: Linking
> /localhome/QorIQ_SDK/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tm
> p/work/p2041rdb-fsl-linux/crgn-image-minimal-1.0-r0/rootfs//sbin/mke2fs to
> ../bin/busybox
> update-alternatives: Linking
> /localhome/QorIQ_SDK/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tm
> p/work/p2041rdb-fsl-linux/crgn-image-minimal-1.0-r0/rootfs//usr/bin/mkfifo
> to ../../bin/busybox
> update-alternatives: Linking
> /localhome/QorIQ_SDK/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tm
> p/work/p2041rdb-fsl-linux/crgn-image-minimal-1.0-r0/rootfs//sbin/mkfs.ext2
> to ../bin/busybox
> update-alternatives: Linking
> /localhome/QorIQ_SDK/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tm
> p/work/p2041rdb-fsl-linux/crgn-image-minimal-1.0-r0/rootfs//sbin/mkfs.minix
> to ../bin/busybox
> ****************************************************************************
> *********
> 
> What am I missing here?

Sorry for the late reply - the "mkfs" command is provided by util-linux and is 
in its own separate package, so I think you want to add the util-linux-mkfs 
package to IMAGE_INSTALL.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list