From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D6E82E01346 for ; Mon, 17 Sep 2012 07:13:40 -0700 (PDT) Received: by lboi15 with SMTP id i15so4967079lbo.35 for ; Mon, 17 Sep 2012 07:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mssayu0JCyCjyPIMihsqG496d2tD4581DbKACpa2nNg=; b=LNv6Yd2YwuEkO4cY7IiHJ4LL+OBgCEAJRqWFKPM0O2kvafSf+tGZTO3Oq11IUByIUK 8xrNSQDs45MpmFB9NV2tCLdko2ue5ktKSy4yl2NnQ+hgtm6yfKMm67mR16ocGEMmALo8 rPcQcIB88Sae22RpVHf20OF5A1+3aM+FFo22otYBBxwuFS5OOD9P46/N3z7cZTiHh1A2 pepLrHkMN09o9fR+aePDN3gn8erYQmiKokbNirFcQ7BBKHaKVGwn/M3SBSlhYRrRdIlf FWZKj9bHB2UYgk8RqNY2BTIwiVqRzhpGY87ABEwQ2e7NOvPo5+dMoBx4TU/Nkx6ANM03 7EyQ== MIME-Version: 1.0 Received: by 10.152.102.137 with SMTP id fo9mr9946729lab.35.1347891219683; Mon, 17 Sep 2012 07:13:39 -0700 (PDT) Received: by 10.112.21.194 with HTTP; Mon, 17 Sep 2012 07:13:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Sep 2012 11:13:39 -0300 Message-ID: From: Raul Rosetto Munoz To: "Burton, Ross" Cc: yocto@yoctoproject.org Subject: Re: Create a .bb for my aplication X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2012 14:13:41 -0000 Content-Type: multipart/alternative; boundary=f46d0407160b5859d604c9e66141 --f46d0407160b5859d604c9e66141 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I did what did you tell me but dont work. I saw in the bitbake log some warning: raul@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 =3D "1.15.2" TARGET_ARCH =3D "arm" TARGET_OS =3D "linux-gnueabi" MACHINE =3D "imx28evk" DISTRO =3D "poky" DISTRO_VERSION =3D "1.2.1" TUNE_FEATURES =3D "armv5 dsp thumb arm926ejs" TARGET_FPU =3D "soft" meta meta-yocto =3D "local/origin/denzil:73cdebf60df225ee10f2eb215935be3b61e1b831" meta-fsl-arm =3D "local/origin/denzil:a207ac2953cdc046acef3190f58816df79119f1b" meta-oe =3D "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@phi04:/home/prjs/newcom0001/philinux/philinux-imx28-newcom/tmp/work/ar= mv5te-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/ph= ilinux/philinux-imx28-newcom/tmp/sysroots/i686-linux/usr/lib/armv5te-poky-l= inux-gnueabi.gcc-cross-intermediate/gcc/arm-poky-linux-gnueabi/4.6.4/includ= e-fixed/root/home/prjs ./gcc-cross-intermediate-4.6.3+svnr184847-r25/gcc-4_6-branch/build.i686-lin= ux.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/new= com0001/philinux/philinux-imx28-newcom/tmp/sysroots/i686-linux/usr/lib/armv= 5te-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 > On 17 September 2012 14:48, Raul Rosetto Munoz > 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 > --=20 *Raul Rosetto Mu=F1oz* --f46d0407160b5859d604c9e66141 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I did what did you tell me but dont work.

I saw in the b= itbake log some warning:

raul@phi04:/home/prjs/newcom0001/philinux/phili= nux-imx28-newcom$ bitbake core-image-minimal
Loading cache: 100% |#= ###########################################################################= #####################################| ETA: =A000:00:00
Loaded 1519 entries from depe= ndency cache.
Parsing recipes: 100% = |##########################################################################= #####################################| Time: 00:00:00
Parsing of 1185 .bb files compl= ete (1184 cached, 1 parsed). 1518 targets, 52 skipped, 0 masked, 0 errors.<= /font>

= OE Build Configuration:
BB_VERSION = =A0 =A0 =A0 =A0=3D "1.15.2"
TARGET_ARCH =A0 =A0 = =A0 =3D "arm"
TARGET_OS =A0 =A0 =A0 =A0 =3D "linux-gnueabi"
MACHINE =A0 =A0= =A0 =A0 =A0 =3D "imx28evk"
DISTRO =A0 =A0 =A0 =A0= =A0 =A0=3D "poky"
DISTRO_VERSION =A0 =A0=3D "1.2.1"
=
TUNE_FEATURES =A0 =A0 = =3D "armv5 dsp thumb arm926ejs"
TARGET_FPU =A0 =A0 =A0= =A0=3D "soft"
meta =A0 =A0 =A0 =A0 =A0 =A0 =A0
meta-yocto =A0 =A0 =A0 =A0=3D "l= ocal/origin/denzil:73cdebf60df225ee10f2eb215935be3b61e1b831"
meta-fsl-arm =A0 =A0 = =A0=3D "local/origin/denzil:a207ac2953cdc046acef3190f58816df79119f1b&q= uot;
meta-= oe =A0 =A0 =A0 =A0 =A0 =3D "local/origin/denzil:04c61c8ed73cb2c537002f= 22d1b9656f6cec61af"

= NOTE: Resolving any missing= task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjp= eg-turbo)
NOTE: consider definin= g a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for= jpeg-native (jpeg-native, libjpeg-turbo-native)
NOTE: consider definin= g a PREFERRED_PROVIDER entry to match jpeg-native
NOTE: Preparing runqueue
NOTE: Executing SetSce= ne Tasks
N= OTE: Executing RunQueue Tasks
NOTE: Running task 2110 of 2650 (ID: 238, /home/prjs/ne= wcom0001/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: Suc= ceeded
NOTE: Running task 264= 6 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/dir= ectories were installed but not shipped in any package:
WARNING: =A0 /home
WARNING: =A0 = /home/prjs
NOTE: package newcom-0.0.0-r0: task do_package: Succeeded
NOTE: Running task 264= 7 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_pa= ckage_write_rpm: Succeeded
NOTE: Running noexec t= ask 2648 of 2650 (ID: 242, /home/prjs/newcom0001/philinux/meta-fsl-arm/reci= pes-phi/newcom_install/newcom_0.0.0.bb, do_package_write)
NOTE: package core-ima= ge-minimal-1.0-r0: task do_rootfs: Started
NOTE: package core-image-minimal-1.0-r0: t= ask do_rootfs: Succeeded
NOTE: Running noexec t= ask 2650 of 2650 (ID: 5, /home/prjs/poky/meta/recipes-core/images/core-image-minimal.bb, do_build)
NOTE: Tasks Summary: A= ttempted 2650 tasks of which 2644 didn't need to be rerun and all succe= eded.

Summary: = There were 3 WARNING messages shown.


And in=A0/tmp/work/armv5te-poky-linux-gnueabi/ folder I did the co= mmand:

ra= ul@phi04:/home/prjs/newcom0001/philinux/philinux-imx28-newcom/tmp/work/armv= 5te-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-cr= oss-3.16-r0/image/home/prjs
./module-init-tools-cross-3.16-r0/sysroot-destdir/home/pr= js
./gcc-cross-initial-4.= 6.3+svnr184847-r25/image/home/prjs
./gcc-cross-initial-4.6.3+svnr184847-r25/sysroot-d= estdir/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-intermedia= te-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/i68= 6-linux/usr/lib/armv5te-poky-linux-gnueabi.gcc-cross-intermediate/gcc/arm-p= oky-linux-gnueabi/4.6.4/include-fixed/root/home/prjs
./gcc-cross-intermedia= te-4.6.3+svnr184847-r25/gcc-4_6-branch/build.i686-linux.arm-poky-linux-gnue= abi/gcc/include-fixed/root/home/prjs
./gcc-cross-intermediate-4.6.3+svnr184847-r25/sy= sroot-destdir/home/prjs
./gcc-cross-intermedia= te-4.6.3+svnr184847-r25/sysroot-destdir/home/prjs/newcom0001/philinux/phili= nux-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+svnr= 184847-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 t= he prjs folder dont go to my root image in the SD card!

Some suggest?=

Thanks




2012/9/17 Burton, Ross <ross.burton@intel.com>
On 17 September 2012 14:48, Raul Rosetto Munoz <munoz0raul@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() {
> =A0 =A0 mkdir -p /home/prjs/
> }

You're creating a directory in the home directory on your build
machine. =A0*Not* in the working area for the package. =A0You'll want t= o
mkdir ${D}/home/prjs

Ross



-- Raul Rosetto Mu=F1oz
--f46d0407160b5859d604c9e66141--