* Create a .bb for my aplication @ 2012-09-04 17:14 Raul Rosetto Munoz 2012-09-04 19:27 ` Autif Khan 0 siblings, 1 reply; 6+ messages in thread From: Raul Rosetto Munoz @ 2012-09-04 17:14 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 659 bytes --] Hello, I have some files that compose my application, and I want to put this files in the "/home/prjs" folder, I know That I need to install the prjs folder and the other files in this folder. What I dont know first, How to create a .bb file! And another question. I saw that if I do some things like this: install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab I will copy the file fstab in /etc/ folder. How I can know that {sysconfdir} correspond to /etc/ folder? And If it is correct how to know for what /home/ folder correspond {???}. plz Can some one try to tell me??? Thanks For All Help! -- *Raul Rosetto Muñoz* [-- Attachment #2: Type: text/html, Size: 926 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Create a .bb for my aplication 2012-09-04 17:14 Create a .bb for my aplication Raul Rosetto Munoz @ 2012-09-04 19:27 ` Autif Khan 2012-09-17 13:48 ` Raul Rosetto Munoz 0 siblings, 1 reply; 6+ messages in thread From: Autif Khan @ 2012-09-04 19:27 UTC (permalink / raw) To: Raul Rosetto Munoz; +Cc: yocto On Tue, Sep 4, 2012 at 1:14 PM, Raul Rosetto Munoz <munoz0raul@gmail.com> wrote: > Hello, > I have some files that compose my application, and I want to put this files > in the "/home/prjs" folder, I know That I need to install the prjs folder > and the other files in this folder. > > What I dont know first, How to create a .bb file! I am not sure what you mean. Do you mean that if you create a .bb file, how to include it in your image? > > And another question. > > I saw that if I do some things like this: > > install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab > > I will copy the file fstab in /etc/ folder. > > How I can know that {sysconfdir} correspond to /etc/ folder? these are in poky/meta/conf/bitbake.conf > And If it is correct how to know for what /home/ folder correspond {???}. If they do not exist in bitbake.conf, you should use a local variable in your recipe or local.conf. > plz Can some one try to tell me??? > > Thanks For All Help! > > -- > Raul Rosetto Muñoz > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Create a .bb for my aplication 2012-09-04 19:27 ` Autif Khan @ 2012-09-17 13:48 ` Raul Rosetto Munoz 2012-09-17 13:51 ` Burton, Ross 0 siblings, 1 reply; 6+ messages in thread From: Raul Rosetto Munoz @ 2012-09-17 13:48 UTC (permalink / raw) To: Autif Khan; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 1715 bytes --] I'm just want to mkdir in the /home/ path. Im try some thing like this but don't work! DESCRIPTION = "xxxx" SECTION = "examples" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" PR = "r0" SRC_URI = "file://teste" S = "${WORKDIR}" do_install() { mkdir -p /home/prjs/ } 2012/9/4 Autif Khan <autif.mlist@gmail.com> > On Tue, Sep 4, 2012 at 1:14 PM, Raul Rosetto Munoz <munoz0raul@gmail.com> > wrote: > > Hello, > > I have some files that compose my application, and I want to put this > files > > in the "/home/prjs" folder, I know That I need to install the prjs folder > > and the other files in this folder. > > > > What I dont know first, How to create a .bb file! > > I am not sure what you mean. Do you mean that if you create a .bb > file, how to include it in your image? > > > > > And another question. > > > > I saw that if I do some things like this: > > > > install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab > > > > I will copy the file fstab in /etc/ folder. > > > > How I can know that {sysconfdir} correspond to /etc/ folder? > > these are in poky/meta/conf/bitbake.conf > > > And If it is correct how to know for what /home/ folder correspond {???}. > > If they do not exist in bitbake.conf, you should use a local variable > in your recipe or local.conf. > > > plz Can some one try to tell me??? > > > > Thanks For All Help! > > > > -- > > Raul Rosetto Muñoz > > > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > -- *Raul Rosetto Muñoz* [-- Attachment #2: Type: text/html, Size: 2722 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Create a .bb for my aplication 2012-09-17 13:48 ` Raul Rosetto Munoz @ 2012-09-17 13:51 ` Burton, Ross 2012-09-17 14:13 ` Raul Rosetto Munoz 0 siblings, 1 reply; 6+ messages in thread From: Burton, Ross @ 2012-09-17 13:51 UTC (permalink / raw) To: Raul Rosetto Munoz; +Cc: yocto 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() { > 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Create a .bb for my aplication 2012-09-17 13:51 ` Burton, Ross @ 2012-09-17 14:13 ` Raul Rosetto Munoz [not found] ` <CA+chaQcp=Gt=mBuYt24uvitYtn0FjgbWXCRp+6ZEWGKsVuXphg@mail.gmail.com> 0 siblings, 1 reply; 6+ messages in thread From: Raul Rosetto Munoz @ 2012-09-17 14:13 UTC (permalink / raw) To: Burton, Ross; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 5502 bytes --] 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 = "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@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@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() { > > 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* [-- Attachment #2: Type: text/html, Size: 11004 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <CA+chaQcp=Gt=mBuYt24uvitYtn0FjgbWXCRp+6ZEWGKsVuXphg@mail.gmail.com>]
[parent not found: <CANmVirheZY7EJJ7hPurT6VdUM3rBc_Bp-p9ALjmh=39QD7CFow@mail.gmail.com>]
* Re: Create a .bb for my aplication [not found] ` <CANmVirheZY7EJJ7hPurT6VdUM3rBc_Bp-p9ALjmh=39QD7CFow@mail.gmail.com> @ 2012-09-17 14:36 ` Martin Jansa 0 siblings, 0 replies; 6+ messages in thread From: Martin Jansa @ 2012-09-17 14:36 UTC (permalink / raw) To: Raul Rosetto Munoz; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 7086 bytes --] On Mon, Sep 17, 2012 at 11:25:05AM -0300, Raul Rosetto Munoz wrote: > sorry I dont understand what you say. > > Do you told me to put some like this. > > FILES_${PN} = "${D}/home/prjs/" yes, but this time without ${D} > > > > 2012/9/17 Martin Jansa <martin.jansa@gmail.com> > > > On Mon, Sep 17, 2012 at 4:13 PM, Raul Rosetto Munoz > > <munoz0raul@gmail.com> wrote: > > > 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 = "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@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! > > > > Add that to FILES_${PN} otherwise it's unpackaged as warning says. > > > > > > > > > > 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() { > > >> > 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 > > > > > > _______________________________________________ > > > yocto mailing list > > > yocto@yoctoproject.org > > > https://lists.yoctoproject.org/listinfo/yocto > > > > > > > > > -- > *Raul Rosetto Muñoz* -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-09-17 14:36 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-09-04 17:14 Create a .bb for my aplication Raul Rosetto Munoz 2012-09-04 19:27 ` Autif Khan 2012-09-17 13:48 ` Raul Rosetto Munoz 2012-09-17 13:51 ` Burton, Ross 2012-09-17 14:13 ` Raul Rosetto Munoz [not found] ` <CA+chaQcp=Gt=mBuYt24uvitYtn0FjgbWXCRp+6ZEWGKsVuXphg@mail.gmail.com> [not found] ` <CANmVirheZY7EJJ7hPurT6VdUM3rBc_Bp-p9ALjmh=39QD7CFow@mail.gmail.com> 2012-09-17 14:36 ` Martin Jansa
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.