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

Elad Yosef elad.yosef at gmail.com
Mon Nov 12 02:10:59 PST 2012


Hi,
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/tmp/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/tmp/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/tmp/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/tmp/work/p2041rdb-fsl-linux/crgn-image-minimal-1.0-r0/rootfs//sbin/mkfs.minix
to ../bin/busybox
*************************************************************************************

What am I missing here?

thanks
Elad



More information about the yocto mailing list