[yocto] select installation packages

Andre Bella scancool at yahoo.com
Thu Feb 14 09:31:23 PST 2013


HI Rudolf, 
I was able to build nano:
but my question is there a menuconfig to select what to build like in buildroot?

andre at linux:~/fsl-community-bsp/build$ bitbake -b nano
WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.

OE Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "imx53qsb"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2.2"
TUNE_FEATURES     = "armv7a vfp neon cortexa8"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "(nobranch):6caa7d1d6c122d084ed01d1f5e1dae0bf259f854"
meta-oe           = "(nobranch):c0117f5ad7d1fe18d149bda426c7134ff24daae8"
meta-fsl-arm      = "(nobranch):debea1a3c80227b33a3bbaa21c51435db1b3f5d7"
meta-fsl-arm-extra = "(nobranch):6710df97df3d96776c598330e1bd2c63a9450030"
meta-fsl-demos    = "(nobranch):02186c594a782c9c5f5a2df1d0dbb3a91fd1e929"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 12 (ID: 4, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_fetch)
NOTE: package nano-2.2.5-r2.0: task do_fetch: Started
NOTE: package nano-2.2.5-r2.0: task do_fetch: Succeeded
NOTE: Running task 2 of 12 (ID: 0, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_unpack)
NOTE: package nano-2.2.5-r2.0: task do_unpack: Started
NOTE: package nano-2.2.5-r2.0: task do_unpack: Succeeded
NOTE: Running task 3 of 12 (ID: 1, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_patch)
NOTE: package nano-2.2.5-r2.0: task do_patch: Started
NOTE: package nano-2.2.5-r2.0: task do_patch: Succeeded
NOTE: Running task 4 of 12 (ID: 6, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_configure)
NOTE: Running task 5 of 12 (ID: 10, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_populate_lic)
NOTE: package nano-2.2.5-r2.0: task do_populate_lic: Started
NOTE: package nano-2.2.5-r2.0: task do_configure: Started
NOTE: package nano-2.2.5-r2.0: task do_populate_lic: Succeeded
NOTE: package nano-2.2.5-r2.0: task do_configure: Succeeded
NOTE: Running task 6 of 12 (ID: 7, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_compile)
NOTE: package nano-2.2.5-r2.0: task do_compile: Started
NOTE: package nano-2.2.5-r2.0: task do_compile: Succeeded
NOTE: Running task 7 of 12 (ID: 2, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_install)
NOTE: package nano-2.2.5-r2.0: task do_install: Started
NOTE: package nano-2.2.5-r2.0: task do_install: Succeeded
NOTE: Running task 8 of 12 (ID: 9, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_package)
NOTE: Running task 9 of 12 (ID: 3, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_populate_sysroot)
NOTE: package nano-2.2.5-r2.0: task do_package: Started
NOTE: package nano-2.2.5-r2.0: task do_populate_sysroot: Started
NOTE: package nano-2.2.5-r2.0: task do_populate_sysroot: Succeeded
NOTE: package nano-2.2.5-r2.0: task do_package: Succeeded
NOTE: Running task 10 of 12 (ID: 11, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_package_write_rpm)
NOTE: package nano-2.2.5-r2.0: task do_package_write_rpm: Started
NOTE: package nano-2.2.5-r2.0: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 11 of 12 (ID: 8, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_package_write)
NOTE: Running noexec task 12 of 12 (ID: 5, /home/andre/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/nano/nano_2.2.5.bb, do_build)
NOTE: Tasks Summary: Attempted 12 tasks of which 0 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.
andre at linux:~/fsl-community-bsp/build$ 


--- On Thu, 2/14/13, Rudolf Streif <rstreif at linuxfoundation.org> wrote:

From: Rudolf Streif <rstreif at linuxfoundation.org>
Subject: Re: [yocto] select installation packages
To: "Andre Bella" <scancool at yahoo.com>
Cc: "yocto at yoctoproject.org" <yocto at yoctoproject.org>
Date: Thursday, February 14, 2013, 10:10 AM

Hi Andre,
There actually is no recipe for building the nano editor in YP by default. Unless you added one,
bitbake -b nano

would result in this output
ERROR: Unable to find any recipe file matching 'nano'

I have attached a recipe for you to build nano and a patch to handle a configuration mistake configure.ac causing do_configure to fail.

If you add that recipe you can run bitbake nano. You can also include into your image by adding
IMAGE_INSTALL_append = " nano"

to your conf/local.conf file.
:rjs


On Thu, Feb 14, 2013 at 8:02 AM, Andre Bella <scancool at yahoo.com> wrote:

Hello 
 I had used buildroot in the pass and I like it cause is very easy to use, but I'm moving to yocto cause it has more applications than buildroot, in buildroot you can select the packages you want to add by going to menuconfig, how do I select the packages I wan to add in yocto, for example if I wan to add nano or gstreamer, from the guide I seen you just type bitbake -b nano, but is there a menuconfig on yocto where you can select the package you want to add before you build the image?

thanks,

_______________________________________________

yocto mailing list

yocto at yoctoproject.org

https://lists.yoctoproject.org/listinfo/yocto





-- 
-- 
Rudolf J. StreifDirector of Embedded Solutions
The Linux Foundation
rudolf.streif at linux.com
Phone: +1.619.631.5383Skype: rudolfstreifPGP: RSA 2048/2048 D6E7D28B

Linux Foundation Events Schedule:  events.linuxfoundation.org

Linux Foundation Training Schedule: training.linuxfoundation.org




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


More information about the yocto mailing list