[yocto] Create a .bb for my aplication

Raul Rosetto Munoz munoz0raul at gmail.com
Mon Sep 17 07:13:39 PDT 2012


I did what did you tell me but dont work.

I saw in the bitbake log some warning:

raul at phi04:/home/prjs/newcom0001/philinux/philinux-imx28-newcom$ bitbake
core-image-minimal
Loading cache: 100%
|#################################################################################################################|
ETA:  00:00:00
Loaded 1519 entries from dependency cache.
Parsing recipes: 100%
|###############################################################################################################|
Time: 00:00:00
Parsing of 1185 .bb files complete (1184 cached, 1 parsed). 1518 targets,
52 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "imx28evk"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2.1"
TUNE_FEATURES     = "armv5 dsp thumb arm926ejs"
TARGET_FPU        = "soft"
meta
meta-yocto        =
"local/origin/denzil:73cdebf60df225ee10f2eb215935be3b61e1b831"
meta-fsl-arm      =
"local/origin/denzil:a207ac2953cdc046acef3190f58816df79119f1b"
meta-oe           =
"local/origin/denzil:04c61c8ed73cb2c537002f22d1b9656f6cec61af"

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native,
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 2110 of 2650 (ID: 238,
/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/newcom_install/
newcom_0.0.0.bb, do_install)
NOTE: package newcom-0.0.0-r0: task do_install: Started
NOTE: package newcom-0.0.0-r0: task do_install: Succeeded
NOTE: Running task 2646 of 2650 (ID: 243,
/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/newcom_install/
newcom_0.0.0.bb, do_package)
NOTE: package newcom-0.0.0-r0: task do_package: Started
WARNING: For recipe newcom, the following files/directories were installed
but not shipped in any package:
WARNING:   /home
WARNING:   /home/prjs
NOTE: package newcom-0.0.0-r0: task do_package: Succeeded
NOTE: Running task 2647 of 2650 (ID: 245,
/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/newcom_install/
newcom_0.0.0.bb, do_package_write_rpm)
NOTE: package newcom-0.0.0-r0: task do_package_write_rpm: Started
NOTE: package newcom-0.0.0-r0: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 2648 of 2650 (ID: 242,
/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/newcom_install/
newcom_0.0.0.bb, do_package_write)
NOTE: Running task 2649 of 2650 (ID: 8,
/home/prjs/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs)
NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Started
NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Succeeded
NOTE: Running noexec task 2650 of 2650 (ID: 5,
/home/prjs/poky/meta/recipes-core/images/core-image-minimal.bb, do_build)
NOTE: Tasks Summary: Attempted 2650 tasks of which 2644 didn't need to be
rerun and all succeeded.

Summary: There were 3 WARNING messages shown.


And in /tmp/work/armv5te-poky-linux-gnueabi/ folder I did the command:

raul at phi04:/home/prjs/newcom0001/philinux/philinux-imx28-newcom/tmp/work/armv5te-poky-linux-gnueabi$
find . -name "prjs"
./python-2.7.2-r2.17/Python-2.7.2/build/temp.linux-i686-2.7/home/prjs
./module-init-tools-cross-3.16-r0/image/home/prjs
./module-init-tools-cross-3.16-r0/sysroot-destdir/home/prjs
./gcc-cross-initial-4.6.3+svnr184847-r25/image/home/prjs
./gcc-cross-initial-4.6.3+svnr184847-r25/sysroot-destdir/home/prjs
./newcom-0.0.0-r0/prjs
./newcom-0.0.0-r0/image/home/prjs
./newcom-0.0.0-r0/package/home/prjs
./gcc-cross-intermediate-4.6.3+svnr184847-r25/image/home/prjs
./gcc-cross-intermediate-4.6.3+svnr184847-r25/image/home/prjs/newcom0001/philinux/philinux-imx28-newcom/tmp/sysroots/i686-linux/usr/lib/armv5te-poky-linux-gnueabi.gcc-cross-intermediate/gcc/arm-poky-linux-gnueabi/4.6.4/include-fixed/root/home/prjs
./gcc-cross-intermediate-4.6.3+svnr184847-r25/gcc-4_6-branch/build.i686-linux.arm-poky-linux-gnueabi/gcc/include-fixed/root/home/prjs
./gcc-cross-intermediate-4.6.3+svnr184847-r25/sysroot-destdir/home/prjs
./gcc-cross-intermediate-4.6.3+svnr184847-r25/sysroot-destdir/home/prjs/newcom0001/philinux/philinux-imx28-newcom/tmp/sysroots/i686-linux/usr/lib/armv5te-poky-linux-gnueabi.gcc-cross-intermediate/gcc/arm-poky-linux-gnueabi/4.6.4/include-fixed/root/home/prjs
./gcc-cross-4.6.3+svnr184847-r25/image/home/prjs
./gcc-cross-4.6.3+svnr184847-r25/sysroot-destdir/home/prjs
./binutils-cross-2.22-r6/image/home/prjs
./binutils-cross-2.22-r6/sysroot-destdir/home/prjs

now I don't know why this the prjs folder dont go to my root image in the
SD card!

Some suggest?

Thanks




2012/9/17 Burton, Ross <ross.burton at intel.com>

> On 17 September 2012 14:48, Raul Rosetto Munoz <munoz0raul at gmail.com>
> wrote:
> > I'm just want to mkdir in the /home/ path.
> >
> > Im try some thing like this but don't work!
> > do_install() {
> >     mkdir -p /home/prjs/
> > }
>
> You're creating a directory in the home directory on your build
> machine.  *Not* in the working area for the package.  You'll want to
> mkdir ${D}/home/prjs
>
> Ross
>



-- 
*Raul Rosetto Muñoz*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120917/af433475/attachment.html>


More information about the yocto mailing list