All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding a recipe to oe bitbake
@ 2013-03-22 14:24 David Hirst
  2013-03-22 14:30 ` Gary Thomas
  0 siblings, 1 reply; 12+ messages in thread
From: David Hirst @ 2013-03-22 14:24 UTC (permalink / raw)
  To: openembedded-devel

Hi,
    I have been struggling with a oe/bitbake issue. I wanted to add an
other .bb to the image file.
I have tried multiple ways but always end up at the same spot. I have
created a new task-XXX.bb file which includes my bb
I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
Once built I find that everything built fine and the new recipe was built
but was not loaded into the XXXX-rootfs-image.tar,gz.
If I look into the image directory for the bb file I see the compiled
application in usr/sbin.
I have tried this with my own .bb file and net-snmp bb file which comes
with the default oe-layersetup installation with the same result.
Did I not edit a file or miss some other required step?

-- 
David Hirst
hirst689@gmail.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 14:24 Adding a recipe to oe bitbake David Hirst
@ 2013-03-22 14:30 ` Gary Thomas
  2013-03-22 14:42   ` David Hirst
  0 siblings, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2013-03-22 14:30 UTC (permalink / raw)
  To: openembedded-devel

On 2013-03-22 08:24, David Hirst wrote:
> Hi,
>      I have been struggling with a oe/bitbake issue. I wanted to add an
> other .bb to the image file.
> I have tried multiple ways but always end up at the same spot. I have
> created a new task-XXX.bb file which includes my bb
> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
> Once built I find that everything built fine and the new recipe was built
> but was not loaded into the XXXX-rootfs-image.tar,gz.
> If I look into the image directory for the bb file I see the compiled
> application in usr/sbin.
> I have tried this with my own .bb file and net-snmp bb file which comes
> with the default oe-layersetup installation with the same result.
> Did I not edit a file or miss some other required step?
>

Wow, the same question on three mailing lists (that I read, there
may be more...) and no cross-posting!

This list is perhaps the most appropriate one for your question.

More details will help.  Exactly what did you change in the "XXXX-rootfs-image.bb"
recipe?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 14:30 ` Gary Thomas
@ 2013-03-22 14:42   ` David Hirst
  2013-03-22 14:51     ` Gary Thomas
  0 siblings, 1 reply; 12+ messages in thread
From: David Hirst @ 2013-03-22 14:42 UTC (permalink / raw)
  To: openembedded-devel

OK,
    Sorry for the carpet bombing! I added this to tisdk-rootfs-image
"task-arago-xyz \" to look for the new task file
I have included the task and pure-ftpd bb files also. I would love to
understand why this does not work.

==========================tisdk-rootfs-image.bb============================
# Arago TI SDK filesystem image
COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"

require arago-base-tisdk-image.bb

IMAGE_INSTALL += "\
    task-arago-test \
    task-arago-tisdk-graphics \
    task-arago-tisdk-qte \
    task-arago-tisdk-addons \
    task-arago-tisdk-connectivity \
    task-arago-tisdk-crypto \
    task-arago-tisdk-matrix \
    task-arago-tisdk-multimedia \
    task-arago-tisdk-amsdk \
    task-arago-xyz \
"

export IMAGE_BASENAME = "tisdk-rootfs-image"

=================task-arago.xyz.bb================

DESCRIPTION = "Extended task to get extras"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r0"

inherit task

ARAGO_XYZ = " \
    pure-ftpd \
    "

ARAGO_XYZ_INT = "\
    ${ARAGO_XYZ} \
    "
RDEPENDS_${PN} = "\
    ${ARAGO_XYZ_INT} \
    "
===============pure-ftpd_1.0.29.bb====================

DESCRIPTION = "Sample program"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7b47170f564f6a314b82b3ea67a40bd"
PR = "r0"
PV = "1.0.29"
DEPENDS = ""
RPROVIDES = "pure-ftpd"
PROVIDES = "pure-ftpd"
ARM_INSTRUCTION_SET = "arm"

PARALLEL_MAKE = ""

inherit autotools pkgconfig

EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-gnueabi"

SRC_URI = "
http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-${PV}.tar.gz
"
SRC_URI[md5sum] = "e0132a51357d419f8b66e8997d9dc5fa"
SRC_URI[sha256sum] =
"55bfb84fa63a37e5b56906afb4444fda7285d0f8b5ed24798f59c978ddea2749"
S = "${WORKDIR}/pure-ftpd-${PV}"

EXTRA_OECONF_append_armv6 = " --enable-armv6"
EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"

FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
-frename-registers -O4 -ffast-math"
BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"

do_configure(){
  oe_runconf ${EXTRE_OECONF}
}

do_compile () {
  oe_runmake
}

do_install () {
  oe_runmake install DESTDIR=${D}
}


ARM_INSTRUCTION_SET = "arm"

BBCLASSEXTEND = "native"

============================ END===========================

On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2013-03-22 08:24, David Hirst wrote:
>
>> Hi,
>>      I have been struggling with a oe/bitbake issue. I wanted to add an
>> other .bb to the image file.
>> I have tried multiple ways but always end up at the same spot. I have
>> created a new task-XXX.bb file which includes my bb
>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>> Once built I find that everything built fine and the new recipe was built
>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>> If I look into the image directory for the bb file I see the compiled
>> application in usr/sbin.
>> I have tried this with my own .bb file and net-snmp bb file which comes
>> with the default oe-layersetup installation with the same result.
>> Did I not edit a file or miss some other required step?
>>
>>
> Wow, the same question on three mailing lists (that I read, there
> may be more...) and no cross-posting!
>
> This list is perhaps the most appropriate one for your question.
>
> More details will help.  Exactly what did you change in the
> "XXXX-rootfs-image.bb"
> recipe?
>
> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
>
> ______________________________**_________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>



-- 
David Hirst
hirst689@gmail.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 14:42   ` David Hirst
@ 2013-03-22 14:51     ` Gary Thomas
  2013-03-22 15:02       ` David Hirst
  0 siblings, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2013-03-22 14:51 UTC (permalink / raw)
  To: openembedded-devel

On 2013-03-22 08:42, David Hirst wrote:
> OK,
>      Sorry for the carpet bombing! I added this to tisdk-rootfs-image
> "task-arago-xyz \" to look for the new task file
> I have included the task and pure-ftpd bb files also. I would love to
> understand why this does not work.

What steps did you run after making this change?
What version of bitbake are you using?

Most likely, bitbake did not [fully] realize that you made a change.
I'd try something like this:
   % bitbake tisdk-rootfs-image -c cleansstate
   % bitbake tisdk-rootfs-image
and see what happens.

BTW, top-posting is evil :-(

>
> ==========================tisdk-rootfs-image.bb============================
> # Arago TI SDK filesystem image
> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>
> require arago-base-tisdk-image.bb
>
> IMAGE_INSTALL += "\
>      task-arago-test \
>      task-arago-tisdk-graphics \
>      task-arago-tisdk-qte \
>      task-arago-tisdk-addons \
>      task-arago-tisdk-connectivity \
>      task-arago-tisdk-crypto \
>      task-arago-tisdk-matrix \
>      task-arago-tisdk-multimedia \
>      task-arago-tisdk-amsdk \
>      task-arago-xyz \
> "
>
> export IMAGE_BASENAME = "tisdk-rootfs-image"
>
> =================task-arago.xyz.bb================
>
> DESCRIPTION = "Extended task to get extras"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM =
> "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> PR = "r0"
>
> inherit task
>
> ARAGO_XYZ = " \
>      pure-ftpd \
>      "
>
> ARAGO_XYZ_INT = "\
>      ${ARAGO_XYZ} \
>      "
> RDEPENDS_${PN} = "\
>      ${ARAGO_XYZ_INT} \
>      "
> ===============pure-ftpd_1.0.29.bb====================
>
> DESCRIPTION = "Sample program"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d7b47170f564f6a314b82b3ea67a40bd"
> PR = "r0"
> PV = "1.0.29"
> DEPENDS = ""
> RPROVIDES = "pure-ftpd"
> PROVIDES = "pure-ftpd"
> ARM_INSTRUCTION_SET = "arm"
>
> PARALLEL_MAKE = ""
>
> inherit autotools pkgconfig
>
> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-gnueabi"
>
> SRC_URI = "
> http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-${PV}.tar.gz
> "
> SRC_URI[md5sum] = "e0132a51357d419f8b66e8997d9dc5fa"
> SRC_URI[sha256sum] =
> "55bfb84fa63a37e5b56906afb4444fda7285d0f8b5ed24798f59c978ddea2749"
> S = "${WORKDIR}/pure-ftpd-${PV}"
>
> EXTRA_OECONF_append_armv6 = " --enable-armv6"
> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>
> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
> -frename-registers -O4 -ffast-math"
> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>
> do_configure(){
>    oe_runconf ${EXTRE_OECONF}
> }
>
> do_compile () {
>    oe_runmake
> }
>
> do_install () {
>    oe_runmake install DESTDIR=${D}
> }
>
>
> ARM_INSTRUCTION_SET = "arm"
>
> BBCLASSEXTEND = "native"
>
> ============================ END===========================
>
> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>
>> On 2013-03-22 08:24, David Hirst wrote:
>>
>>> Hi,
>>>       I have been struggling with a oe/bitbake issue. I wanted to add an
>>> other .bb to the image file.
>>> I have tried multiple ways but always end up at the same spot. I have
>>> created a new task-XXX.bb file which includes my bb
>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>> Once built I find that everything built fine and the new recipe was built
>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>> If I look into the image directory for the bb file I see the compiled
>>> application in usr/sbin.
>>> I have tried this with my own .bb file and net-snmp bb file which comes
>>> with the default oe-layersetup installation with the same result.
>>> Did I not edit a file or miss some other required step?
>>>
>>>
>> Wow, the same question on three mailing lists (that I read, there
>> may be more...) and no cross-posting!
>>
>> This list is perhaps the most appropriate one for your question.
>>
>> More details will help.  Exactly what did you change in the
>> "XXXX-rootfs-image.bb"
>> recipe?
>>
>> --
>> ------------------------------**------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------**------------------------------
>>
>> ______________________________**_________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
>> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>
>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 14:51     ` Gary Thomas
@ 2013-03-22 15:02       ` David Hirst
  2013-03-22 17:31         ` David Hirst
  0 siblings, 1 reply; 12+ messages in thread
From: David Hirst @ 2013-03-22 15:02 UTC (permalink / raw)
  To: openembedded-devel

I did a bitbake tisdk-rootfs-image -c clean
I will try the cleanstate
It seems really difficult to get started from an absolutely clean slate,
some where status is held that gets in the way
I will let you know

Thanks so far



On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2013-03-22 08:42, David Hirst wrote:
>
>> OK,
>>      Sorry for the carpet bombing! I added this to tisdk-rootfs-image
>> "task-arago-xyz \" to look for the new task file
>> I have included the task and pure-ftpd bb files also. I would love to
>> understand why this does not work.
>>
>
> What steps did you run after making this change?
> What version of bitbake are you using?
>
> Most likely, bitbake did not [fully] realize that you made a change.
> I'd try something like this:
>   % bitbake tisdk-rootfs-image -c cleansstate
>   % bitbake tisdk-rootfs-image
> and see what happens.
>
> BTW, top-posting is evil :-(
>
>
>> ==========================tisd**k-rootfs-image.bb<http://tisdk-rootfs-image.bb>
>> =============**===============
>> # Arago TI SDK filesystem image
>> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>>
>> require arago-base-tisdk-image.bb
>>
>> IMAGE_INSTALL += "\
>>      task-arago-test \
>>      task-arago-tisdk-graphics \
>>      task-arago-tisdk-qte \
>>      task-arago-tisdk-addons \
>>      task-arago-tisdk-connectivity \
>>      task-arago-tisdk-crypto \
>>      task-arago-tisdk-matrix \
>>      task-arago-tisdk-multimedia \
>>      task-arago-tisdk-amsdk \
>>      task-arago-xyz \
>> "
>>
>> export IMAGE_BASENAME = "tisdk-rootfs-image"
>>
>> =================task-arago.**xyz.bb <http://task-arago.xyz.bb>
>> ================
>>
>> DESCRIPTION = "Extended task to get extras"
>> LICENSE = "MIT"
>> LIC_FILES_CHKSUM =
>> "file://${COREBASE}/meta/**COPYING.MIT;md5=**
>> 3da9cfbcb788c80a0384361b4de204**20"
>> PR = "r0"
>>
>> inherit task
>>
>> ARAGO_XYZ = " \
>>      pure-ftpd \
>>      "
>>
>> ARAGO_XYZ_INT = "\
>>      ${ARAGO_XYZ} \
>>      "
>> RDEPENDS_${PN} = "\
>>      ${ARAGO_XYZ_INT} \
>>      "
>> ===============pure-ftpd_1.0.**29.bb <http://pure-ftpd_1.0.29.bb>
>> ====================
>>
>> DESCRIPTION = "Sample program"
>> LICENSE = "GPLv2"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=**d7b47170f564f6a314b82b3ea67a40**
>> bd"
>> PR = "r0"
>> PV = "1.0.29"
>> DEPENDS = ""
>> RPROVIDES = "pure-ftpd"
>> PROVIDES = "pure-ftpd"
>> ARM_INSTRUCTION_SET = "arm"
>>
>> PARALLEL_MAKE = ""
>>
>> inherit autotools pkgconfig
>>
>> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-**gnueabi"
>>
>> SRC_URI = "
>> http://iweb.dl.sourceforge.**net/project/pureftpd/Pure-**
>> FTPd/1.0.29/pure-ftpd-${PV}.**tar.gz<http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz>
>> "
>> SRC_URI[md5sum] = "**e0132a51357d419f8b66e8997d9dc5**fa"
>> SRC_URI[sha256sum] =
>> "**55bfb84fa63a37e5b56906afb4444f**da7285d0f8b5ed24798f59c978ddea**2749"
>> S = "${WORKDIR}/pure-ftpd-${PV}"
>>
>> EXTRA_OECONF_append_armv6 = " --enable-armv6"
>> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>>
>> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
>> -frename-registers -O4 -ffast-math"
>> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>>
>> do_configure(){
>>    oe_runconf ${EXTRE_OECONF}
>> }
>>
>> do_compile () {
>>    oe_runmake
>> }
>>
>> do_install () {
>>    oe_runmake install DESTDIR=${D}
>> }
>>
>>
>> ARM_INSTRUCTION_SET = "arm"
>>
>> BBCLASSEXTEND = "native"
>>
>> ============================ END===========================
>>
>> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>
>>  On 2013-03-22 08:24, David Hirst wrote:
>>>
>>>  Hi,
>>>>       I have been struggling with a oe/bitbake issue. I wanted to add an
>>>> other .bb to the image file.
>>>> I have tried multiple ways but always end up at the same spot. I have
>>>> created a new task-XXX.bb file which includes my bb
>>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>>> Once built I find that everything built fine and the new recipe was
>>>> built
>>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>>> If I look into the image directory for the bb file I see the compiled
>>>> application in usr/sbin.
>>>> I have tried this with my own .bb file and net-snmp bb file which comes
>>>> with the default oe-layersetup installation with the same result.
>>>> Did I not edit a file or miss some other required step?
>>>>
>>>>
>>>>  Wow, the same question on three mailing lists (that I read, there
>>> may be more...) and no cross-posting!
>>>
>>> This list is perhaps the most appropriate one for your question.
>>>
>>> More details will help.  Exactly what did you change in the
>>> "XXXX-rootfs-image.bb"
>>> recipe?
>>>
>>> --
>>> ------------------------------****----------------------------**--
>>>
>>> Gary Thomas                 |  Consulting for the
>>> MLB Associates              |    Embedded world
>>> ------------------------------****----------------------------**--
>>>
>>> ______________________________****_________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.**ope**nembedded.org <http://openembedded.org><
>>> Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>> >
>>> http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/****
>>> openembedded-devel<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel>
>>> <http://**lists.linuxtogo.org/cgi-bin/**mailman/listinfo/openembedded-**
>>> devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>> >
>>>
>>>
>>
>>
>>
> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
>
> ______________________________**_________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>



-- 
David Hirst
hirst689@gmail.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 15:02       ` David Hirst
@ 2013-03-22 17:31         ` David Hirst
  2013-03-22 17:53           ` Gary Thomas
  0 siblings, 1 reply; 12+ messages in thread
From: David Hirst @ 2013-03-22 17:31 UTC (permalink / raw)
  To: openembedded-devel

Here are the results, the same as before, in the build directories all
seems fine but the final output only has the /usr/share/man/man8/files

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/sbin
are the following files:

pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
pure-uploadscript

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/bin
are the following files:

pure-pw  pure-pwconvert  pure-statsdecode

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/share/man/man8

pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8  pure-uploadscript.8


hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
tar tvf tisdk-rootfs-image-am335x-evm.tar.gz | grep pure*

-rw-r--r-- root/root      4151 2013-03-22 12:36
./usr/share/man/man8/pure-uploadscript.8
-rw-r--r-- root/root      3187 2013-03-22 12:36
./usr/share/man/man8/pure-pw.8
-rw-r--r-- root/root      2169 2013-03-22 12:36
./usr/share/man/man8/pure-quotacheck.8
-rw-r--r-- root/root      1123 2013-03-22 12:36
./usr/share/man/man8/pure-statsdecode.8
-rw-r--r-- root/root       764 2013-03-22 12:36
./usr/share/man/man8/pure-pwconvert.8
-rw-r--r-- root/root      4160 2013-03-22 12:36
./usr/share/man/man8/pure-authd.8
-rw-r--r-- root/root      2119 2013-03-22 12:36
./usr/share/man/man8/pure-mrtginfo.8
-rw-r--r-- root/root     28755 2013-03-22 12:36
./usr/share/man/man8/pure-ftpd.8
-rw-r--r-- root/root      2449 2013-03-22 12:36
./usr/share/man/man8/pure-ftpwho.8



On Fri, Mar 22, 2013 at 11:02 AM, David Hirst <hirst689@gmail.com> wrote:

> I did a bitbake tisdk-rootfs-image -c clean
> I will try the cleanstate
> It seems really difficult to get started from an absolutely clean slate,
> some where status is held that gets in the way
> I will let you know
>
> Thanks so far
>
>
>
>
> On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>
>> On 2013-03-22 08:42, David Hirst wrote:
>>
>>> OK,
>>>      Sorry for the carpet bombing! I added this to tisdk-rootfs-image
>>> "task-arago-xyz \" to look for the new task file
>>> I have included the task and pure-ftpd bb files also. I would love to
>>> understand why this does not work.
>>>
>>
>> What steps did you run after making this change?
>> What version of bitbake are you using?
>>
>> Most likely, bitbake did not [fully] realize that you made a change.
>> I'd try something like this:
>>   % bitbake tisdk-rootfs-image -c cleansstate
>>   % bitbake tisdk-rootfs-image
>> and see what happens.
>>
>> BTW, top-posting is evil :-(
>>
>>
>>> ==========================tisd**k-rootfs-image.bb<http://tisdk-rootfs-image.bb>
>>> =============**===============
>>> # Arago TI SDK filesystem image
>>> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>>>
>>> require arago-base-tisdk-image.bb
>>>
>>> IMAGE_INSTALL += "\
>>>      task-arago-test \
>>>      task-arago-tisdk-graphics \
>>>      task-arago-tisdk-qte \
>>>      task-arago-tisdk-addons \
>>>      task-arago-tisdk-connectivity \
>>>      task-arago-tisdk-crypto \
>>>      task-arago-tisdk-matrix \
>>>      task-arago-tisdk-multimedia \
>>>      task-arago-tisdk-amsdk \
>>>      task-arago-xyz \
>>> "
>>>
>>> export IMAGE_BASENAME = "tisdk-rootfs-image"
>>>
>>> =================task-arago.**xyz.bb <http://task-arago.xyz.bb>
>>> ================
>>>
>>> DESCRIPTION = "Extended task to get extras"
>>> LICENSE = "MIT"
>>> LIC_FILES_CHKSUM =
>>> "file://${COREBASE}/meta/**COPYING.MIT;md5=**
>>> 3da9cfbcb788c80a0384361b4de204**20"
>>> PR = "r0"
>>>
>>> inherit task
>>>
>>> ARAGO_XYZ = " \
>>>      pure-ftpd \
>>>      "
>>>
>>> ARAGO_XYZ_INT = "\
>>>      ${ARAGO_XYZ} \
>>>      "
>>> RDEPENDS_${PN} = "\
>>>      ${ARAGO_XYZ_INT} \
>>>      "
>>> ===============pure-ftpd_1.0.**29.bb <http://pure-ftpd_1.0.29.bb>
>>> ====================
>>>
>>> DESCRIPTION = "Sample program"
>>> LICENSE = "GPLv2"
>>> LIC_FILES_CHKSUM = "file://COPYING;md5=**d7b47170f564f6a314b82b3ea67a40*
>>> *bd"
>>> PR = "r0"
>>> PV = "1.0.29"
>>> DEPENDS = ""
>>> RPROVIDES = "pure-ftpd"
>>> PROVIDES = "pure-ftpd"
>>> ARM_INSTRUCTION_SET = "arm"
>>>
>>> PARALLEL_MAKE = ""
>>>
>>> inherit autotools pkgconfig
>>>
>>> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-**gnueabi"
>>>
>>> SRC_URI = "
>>> http://iweb.dl.sourceforge.**net/project/pureftpd/Pure-**
>>> FTPd/1.0.29/pure-ftpd-${PV}.**tar.gz<http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz>
>>> "
>>> SRC_URI[md5sum] = "**e0132a51357d419f8b66e8997d9dc5**fa"
>>> SRC_URI[sha256sum] =
>>> "**55bfb84fa63a37e5b56906afb4444f**da7285d0f8b5ed24798f59c978ddea**2749"
>>> S = "${WORKDIR}/pure-ftpd-${PV}"
>>>
>>> EXTRA_OECONF_append_armv6 = " --enable-armv6"
>>> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>>>
>>> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
>>> -frename-registers -O4 -ffast-math"
>>> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>>>
>>> do_configure(){
>>>    oe_runconf ${EXTRE_OECONF}
>>> }
>>>
>>> do_compile () {
>>>    oe_runmake
>>> }
>>>
>>> do_install () {
>>>    oe_runmake install DESTDIR=${D}
>>> }
>>>
>>>
>>> ARM_INSTRUCTION_SET = "arm"
>>>
>>> BBCLASSEXTEND = "native"
>>>
>>> ============================ END===========================
>>>
>>> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>
>>>  On 2013-03-22 08:24, David Hirst wrote:
>>>>
>>>>  Hi,
>>>>>       I have been struggling with a oe/bitbake issue. I wanted to add
>>>>> an
>>>>> other .bb to the image file.
>>>>> I have tried multiple ways but always end up at the same spot. I have
>>>>> created a new task-XXX.bb file which includes my bb
>>>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>>>> Once built I find that everything built fine and the new recipe was
>>>>> built
>>>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>>>> If I look into the image directory for the bb file I see the compiled
>>>>> application in usr/sbin.
>>>>> I have tried this with my own .bb file and net-snmp bb file which comes
>>>>> with the default oe-layersetup installation with the same result.
>>>>> Did I not edit a file or miss some other required step?
>>>>>
>>>>>
>>>>>  Wow, the same question on three mailing lists (that I read, there
>>>> may be more...) and no cross-posting!
>>>>
>>>> This list is perhaps the most appropriate one for your question.
>>>>
>>>> More details will help.  Exactly what did you change in the
>>>> "XXXX-rootfs-image.bb"
>>>> recipe?
>>>>
>>>> --
>>>> ------------------------------****----------------------------**--
>>>>
>>>> Gary Thomas                 |  Consulting for the
>>>> MLB Associates              |    Embedded world
>>>> ------------------------------****----------------------------**--
>>>>
>>>> ______________________________****_________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.**ope**nembedded.org <http://openembedded.org>
>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>> >
>>>> http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/****
>>>> openembedded-devel<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel>
>>>> <http://**lists.linuxtogo.org/cgi-bin/**mailman/listinfo/openembedded-*
>>>> *devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>> >
>>>>
>>>>
>>>
>>>
>>>
>> --
>> ------------------------------**------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------**------------------------------
>>
>> ______________________________**_________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
>> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**
>> openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>
>
>
>
> --
> David Hirst
> hirst689@gmail.com
>
>


-- 
David Hirst
hirst689@gmail.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 17:31         ` David Hirst
@ 2013-03-22 17:53           ` Gary Thomas
  2013-03-22 18:24             ` David Hirst
                               ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Gary Thomas @ 2013-03-22 17:53 UTC (permalink / raw)
  To: openembedded-devel

On 2013-03-22 11:31, David Hirst wrote:
> Here are the results, the same as before, in the build directories all
> seems fine but the final output only has the /usr/share/man/man8/files
>
> in
> oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/sbin
> are the following files:
>
> pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
> pure-uploadscript
>
> in
> oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/bin
> are the following files:
>
> pure-pw  pure-pwconvert  pure-statsdecode
>
> in
> oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/share/man/man8
>
> pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
> pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8  pure-uploadscript.8

You still didn't answer the question about the version of bitbake, the OE metadata, etc.
which does make a difference...

Try adding this line in your pure-ftpd recipe:
   FILES_${PN} += "/usr/sbin"

>
>
> hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
> tar tvf tisdk-rootfs-image-am335x-evm.tar.gz | grep pure*
>
> -rw-r--r-- root/root      4151 2013-03-22 12:36
> ./usr/share/man/man8/pure-uploadscript.8
> -rw-r--r-- root/root      3187 2013-03-22 12:36
> ./usr/share/man/man8/pure-pw.8
> -rw-r--r-- root/root      2169 2013-03-22 12:36
> ./usr/share/man/man8/pure-quotacheck.8
> -rw-r--r-- root/root      1123 2013-03-22 12:36
> ./usr/share/man/man8/pure-statsdecode.8
> -rw-r--r-- root/root       764 2013-03-22 12:36
> ./usr/share/man/man8/pure-pwconvert.8
> -rw-r--r-- root/root      4160 2013-03-22 12:36
> ./usr/share/man/man8/pure-authd.8
> -rw-r--r-- root/root      2119 2013-03-22 12:36
> ./usr/share/man/man8/pure-mrtginfo.8
> -rw-r--r-- root/root     28755 2013-03-22 12:36
> ./usr/share/man/man8/pure-ftpd.8
> -rw-r--r-- root/root      2449 2013-03-22 12:36
> ./usr/share/man/man8/pure-ftpwho.8
>
>
>
> On Fri, Mar 22, 2013 at 11:02 AM, David Hirst <hirst689@gmail.com> wrote:
>
>> I did a bitbake tisdk-rootfs-image -c clean
>> I will try the cleanstate
>> It seems really difficult to get started from an absolutely clean slate,
>> some where status is held that gets in the way
>> I will let you know
>>
>> Thanks so far
>>
>>
>>
>>
>> On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>
>>> On 2013-03-22 08:42, David Hirst wrote:
>>>
>>>> OK,
>>>>       Sorry for the carpet bombing! I added this to tisdk-rootfs-image
>>>> "task-arago-xyz \" to look for the new task file
>>>> I have included the task and pure-ftpd bb files also. I would love to
>>>> understand why this does not work.
>>>>
>>>
>>> What steps did you run after making this change?
>>> What version of bitbake are you using?
>>>
>>> Most likely, bitbake did not [fully] realize that you made a change.
>>> I'd try something like this:
>>>    % bitbake tisdk-rootfs-image -c cleansstate
>>>    % bitbake tisdk-rootfs-image
>>> and see what happens.
>>>
>>> BTW, top-posting is evil :-(
>>>
>>>
>>>> ==========================tisd**k-rootfs-image.bb<http://tisdk-rootfs-image.bb>
>>>> =============**===============
>>>> # Arago TI SDK filesystem image
>>>> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>>>>
>>>> require arago-base-tisdk-image.bb
>>>>
>>>> IMAGE_INSTALL += "\
>>>>       task-arago-test \
>>>>       task-arago-tisdk-graphics \
>>>>       task-arago-tisdk-qte \
>>>>       task-arago-tisdk-addons \
>>>>       task-arago-tisdk-connectivity \
>>>>       task-arago-tisdk-crypto \
>>>>       task-arago-tisdk-matrix \
>>>>       task-arago-tisdk-multimedia \
>>>>       task-arago-tisdk-amsdk \
>>>>       task-arago-xyz \
>>>> "
>>>>
>>>> export IMAGE_BASENAME = "tisdk-rootfs-image"
>>>>
>>>> =================task-arago.**xyz.bb <http://task-arago.xyz.bb>
>>>> ================
>>>>
>>>> DESCRIPTION = "Extended task to get extras"
>>>> LICENSE = "MIT"
>>>> LIC_FILES_CHKSUM =
>>>> "file://${COREBASE}/meta/**COPYING.MIT;md5=**
>>>> 3da9cfbcb788c80a0384361b4de204**20"
>>>> PR = "r0"
>>>>
>>>> inherit task
>>>>
>>>> ARAGO_XYZ = " \
>>>>       pure-ftpd \
>>>>       "
>>>>
>>>> ARAGO_XYZ_INT = "\
>>>>       ${ARAGO_XYZ} \
>>>>       "
>>>> RDEPENDS_${PN} = "\
>>>>       ${ARAGO_XYZ_INT} \
>>>>       "
>>>> ===============pure-ftpd_1.0.**29.bb <http://pure-ftpd_1.0.29.bb>
>>>> ====================
>>>>
>>>> DESCRIPTION = "Sample program"
>>>> LICENSE = "GPLv2"
>>>> LIC_FILES_CHKSUM = "file://COPYING;md5=**d7b47170f564f6a314b82b3ea67a40*
>>>> *bd"
>>>> PR = "r0"
>>>> PV = "1.0.29"
>>>> DEPENDS = ""
>>>> RPROVIDES = "pure-ftpd"
>>>> PROVIDES = "pure-ftpd"
>>>> ARM_INSTRUCTION_SET = "arm"
>>>>
>>>> PARALLEL_MAKE = ""
>>>>
>>>> inherit autotools pkgconfig
>>>>
>>>> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-**gnueabi"
>>>>
>>>> SRC_URI = "
>>>> http://iweb.dl.sourceforge.**net/project/pureftpd/Pure-**
>>>> FTPd/1.0.29/pure-ftpd-${PV}.**tar.gz<http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz>
>>>> "
>>>> SRC_URI[md5sum] = "**e0132a51357d419f8b66e8997d9dc5**fa"
>>>> SRC_URI[sha256sum] =
>>>> "**55bfb84fa63a37e5b56906afb4444f**da7285d0f8b5ed24798f59c978ddea**2749"
>>>> S = "${WORKDIR}/pure-ftpd-${PV}"
>>>>
>>>> EXTRA_OECONF_append_armv6 = " --enable-armv6"
>>>> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>>>>
>>>> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
>>>> -frename-registers -O4 -ffast-math"
>>>> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>>>>
>>>> do_configure(){
>>>>     oe_runconf ${EXTRE_OECONF}
>>>> }
>>>>
>>>> do_compile () {
>>>>     oe_runmake
>>>> }
>>>>
>>>> do_install () {
>>>>     oe_runmake install DESTDIR=${D}
>>>> }
>>>>
>>>>
>>>> ARM_INSTRUCTION_SET = "arm"
>>>>
>>>> BBCLASSEXTEND = "native"
>>>>
>>>> ============================ END===========================
>>>>
>>>> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>>
>>>>   On 2013-03-22 08:24, David Hirst wrote:
>>>>>
>>>>>   Hi,
>>>>>>        I have been struggling with a oe/bitbake issue. I wanted to add
>>>>>> an
>>>>>> other .bb to the image file.
>>>>>> I have tried multiple ways but always end up at the same spot. I have
>>>>>> created a new task-XXX.bb file which includes my bb
>>>>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>>>>> Once built I find that everything built fine and the new recipe was
>>>>>> built
>>>>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>>>>> If I look into the image directory for the bb file I see the compiled
>>>>>> application in usr/sbin.
>>>>>> I have tried this with my own .bb file and net-snmp bb file which comes
>>>>>> with the default oe-layersetup installation with the same result.
>>>>>> Did I not edit a file or miss some other required step?
>>>>>>
>>>>>>
>>>>>>   Wow, the same question on three mailing lists (that I read, there
>>>>> may be more...) and no cross-posting!
>>>>>
>>>>> This list is perhaps the most appropriate one for your question.
>>>>>
>>>>> More details will help.  Exactly what did you change in the
>>>>> "XXXX-rootfs-image.bb"
>>>>> recipe?
>>>>>
>>>>> --
>>>>> ------------------------------****----------------------------**--
>>>>>
>>>>> Gary Thomas                 |  Consulting for the
>>>>> MLB Associates              |    Embedded world
>>>>> ------------------------------****----------------------------**--
>>>>>
>>>>> ______________________________****_________________
>>>>> Openembedded-devel mailing list
>>>>> Openembedded-devel@lists.**ope**nembedded.org <http://openembedded.org>
>>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>>>>
>>>>> http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/****
>>>>> openembedded-devel<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel>
>>>>> <http://**lists.linuxtogo.org/cgi-bin/**mailman/listinfo/openembedded-*
>>>>> *devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>> --
>>> ------------------------------**------------------------------
>>> Gary Thomas                 |  Consulting for the
>>> MLB Associates              |    Embedded world
>>> ------------------------------**------------------------------
>>>
>>> ______________________________**_________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
>>> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**
>>> openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>
>>
>>
>>
>> --
>> David Hirst
>> hirst689@gmail.com
>>
>>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 17:53           ` Gary Thomas
@ 2013-03-22 18:24             ` David Hirst
  2013-03-22 18:40             ` David Hirst
  2013-03-22 18:55             ` David Hirst
  2 siblings, 0 replies; 12+ messages in thread
From: David Hirst @ 2013-03-22 18:24 UTC (permalink / raw)
  To: openembedded-devel

BitBake Build Tool Core version 1.15.2, bitbake version 1.15.2

gst-meta-base
:0.10-r10
meta-environment-arm
:1.0-r8
meta-ide-support
:1.0-r2
meta-toolchain
:1.0-r7
meta-toolchain-arago
:1.0-r13
meta-toolchain-arago-qte
:1.0-r9
meta-toolchain-arago-tisdk
:1.0-r0
meta-toolchain-gmae
:1.0-r7
meta-toolchain-qte
:1.0-r7
metacity
:2.30.3-r3
metacity-native                                    :2.30.3-r3


On Fri, Mar 22, 2013 at 1:53 PM, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2013-03-22 11:31, David Hirst wrote:
>
>> Here are the results, the same as before, in the build directories all
>> seems fine but the final output only has the /usr/share/man/man8/files
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/sbin
>> are the following files:
>>
>> pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
>> pure-uploadscript
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/bin
>> are the following files:
>>
>> pure-pw  pure-pwconvert  pure-statsdecode
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**
>> image/usr/share/man/man8
>>
>> pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
>> pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8
>>  pure-uploadscript.8
>>
>
> You still didn't answer the question about the version of bitbake, the OE
> metadata, etc.
> which does make a difference...
>
> Try adding this line in your pure-ftpd recipe:
>   FILES_${PN} += "/usr/sbin"
>
>
>>
>> hirst689@hirst689-HP-Z210-**Workstation:~/oe-layersetup/**
>> build/arago-tmp-external-**arago-toolchain/deploy/images$
>> tar tvf tisdk-rootfs-image-am335x-evm.**tar.gz | grep pure*
>>
>> -rw-r--r-- root/root      4151 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**uploadscript.8
>> -rw-r--r-- root/root      3187 2013-03-22 12:36
>> ./usr/share/man/man8/pure-pw.8
>> -rw-r--r-- root/root      2169 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**quotacheck.8
>> -rw-r--r-- root/root      1123 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**statsdecode.8
>> -rw-r--r-- root/root       764 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**pwconvert.8
>> -rw-r--r-- root/root      4160 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**authd.8
>> -rw-r--r-- root/root      2119 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**mrtginfo.8
>> -rw-r--r-- root/root     28755 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**ftpd.8
>> -rw-r--r-- root/root      2449 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**ftpwho.8
>>
>>
>>
>> On Fri, Mar 22, 2013 at 11:02 AM, David Hirst <hirst689@gmail.com> wrote:
>>
>>  I did a bitbake tisdk-rootfs-image -c clean
>>> I will try the cleanstate
>>> It seems really difficult to get started from an absolutely clean slate,
>>> some where status is held that gets in the way
>>> I will let you know
>>>
>>> Thanks so far
>>>
>>>
>>>
>>>
>>> On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>
>>>  On 2013-03-22 08:42, David Hirst wrote:
>>>>
>>>>  OK,
>>>>>       Sorry for the carpet bombing! I added this to tisdk-rootfs-image
>>>>> "task-arago-xyz \" to look for the new task file
>>>>> I have included the task and pure-ftpd bb files also. I would love to
>>>>> understand why this does not work.
>>>>>
>>>>>
>>>> What steps did you run after making this change?
>>>> What version of bitbake are you using?
>>>>
>>>> Most likely, bitbake did not [fully] realize that you made a change.
>>>> I'd try something like this:
>>>>    % bitbake tisdk-rootfs-image -c cleansstate
>>>>    % bitbake tisdk-rootfs-image
>>>> and see what happens.
>>>>
>>>> BTW, top-posting is evil :-(
>>>>
>>>>
>>>>  ==========================**tisd**k-rootfs-image.bb<http:/**
>>>>> /tisdk-rootfs-image.bb <http://tisdk-rootfs-image.bb>>
>>>>> =============**===============
>>>>>
>>>>> # Arago TI SDK filesystem image
>>>>> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>>>>>
>>>>> require arago-base-tisdk-image.bb
>>>>>
>>>>> IMAGE_INSTALL += "\
>>>>>       task-arago-test \
>>>>>       task-arago-tisdk-graphics \
>>>>>       task-arago-tisdk-qte \
>>>>>       task-arago-tisdk-addons \
>>>>>       task-arago-tisdk-connectivity \
>>>>>       task-arago-tisdk-crypto \
>>>>>       task-arago-tisdk-matrix \
>>>>>       task-arago-tisdk-multimedia \
>>>>>       task-arago-tisdk-amsdk \
>>>>>       task-arago-xyz \
>>>>> "
>>>>>
>>>>> export IMAGE_BASENAME = "tisdk-rootfs-image"
>>>>>
>>>>> =================task-arago.****xyz.bb <http://xyz.bb> <
>>>>> http://task-arago.xyz.bb>
>>>>>
>>>>> ================
>>>>>
>>>>> DESCRIPTION = "Extended task to get extras"
>>>>> LICENSE = "MIT"
>>>>> LIC_FILES_CHKSUM =
>>>>> "file://${COREBASE}/meta/****COPYING.MIT;md5=**
>>>>> 3da9cfbcb788c80a0384361b4de204****20"
>>>>>
>>>>> PR = "r0"
>>>>>
>>>>> inherit task
>>>>>
>>>>> ARAGO_XYZ = " \
>>>>>       pure-ftpd \
>>>>>       "
>>>>>
>>>>> ARAGO_XYZ_INT = "\
>>>>>       ${ARAGO_XYZ} \
>>>>>       "
>>>>> RDEPENDS_${PN} = "\
>>>>>       ${ARAGO_XYZ_INT} \
>>>>>       "
>>>>> ===============pure-ftpd_1.0.****29.bb <http://pure-ftpd_1.0.29.bb>
>>>>>
>>>>> ====================
>>>>>
>>>>> DESCRIPTION = "Sample program"
>>>>> LICENSE = "GPLv2"
>>>>> LIC_FILES_CHKSUM = "file://COPYING;md5=****
>>>>> d7b47170f564f6a314b82b3ea67a40***
>>>>>
>>>>> *bd"
>>>>> PR = "r0"
>>>>> PV = "1.0.29"
>>>>> DEPENDS = ""
>>>>> RPROVIDES = "pure-ftpd"
>>>>> PROVIDES = "pure-ftpd"
>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>
>>>>> PARALLEL_MAKE = ""
>>>>>
>>>>> inherit autotools pkgconfig
>>>>>
>>>>> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-****
>>>>> gnueabi"
>>>>>
>>>>> SRC_URI = "
>>>>> http://iweb.dl.sourceforge.****net/project/pureftpd/Pure-**
>>>>> FTPd/1.0.29/pure-ftpd-${PV}.****tar.gz<http://iweb.dl.**
>>>>> sourceforge.net/project/**pureftpd/Pure-FTPd/1.0.29/**
>>>>> pure-ftpd-$%7BPV%7D.tar.gz<http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz>
>>>>> >
>>>>> "
>>>>> SRC_URI[md5sum] = "****e0132a51357d419f8b66e8997d9dc5****fa"
>>>>> SRC_URI[sha256sum] =
>>>>> "****55bfb84fa63a37e5b56906afb4444f******
>>>>> da7285d0f8b5ed24798f59c978ddea****2749"
>>>>>
>>>>> S = "${WORKDIR}/pure-ftpd-${PV}"
>>>>>
>>>>> EXTRA_OECONF_append_armv6 = " --enable-armv6"
>>>>> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>>>>>
>>>>> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
>>>>> -frename-registers -O4 -ffast-math"
>>>>> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>>>>>
>>>>> do_configure(){
>>>>>     oe_runconf ${EXTRE_OECONF}
>>>>> }
>>>>>
>>>>> do_compile () {
>>>>>     oe_runmake
>>>>> }
>>>>>
>>>>> do_install () {
>>>>>     oe_runmake install DESTDIR=${D}
>>>>> }
>>>>>
>>>>>
>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>
>>>>> BBCLASSEXTEND = "native"
>>>>>
>>>>> ============================ END===========================
>>>>>
>>>>> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com>
>>>>> wrote:
>>>>>
>>>>>   On 2013-03-22 08:24, David Hirst wrote:
>>>>>
>>>>>>
>>>>>>   Hi,
>>>>>>
>>>>>>>        I have been struggling with a oe/bitbake issue. I wanted to
>>>>>>> add
>>>>>>> an
>>>>>>> other .bb to the image file.
>>>>>>> I have tried multiple ways but always end up at the same spot. I have
>>>>>>> created a new task-XXX.bb file which includes my bb
>>>>>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>>>>>> Once built I find that everything built fine and the new recipe was
>>>>>>> built
>>>>>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>>>>>> If I look into the image directory for the bb file I see the compiled
>>>>>>> application in usr/sbin.
>>>>>>> I have tried this with my own .bb file and net-snmp bb file which
>>>>>>> comes
>>>>>>> with the default oe-layersetup installation with the same result.
>>>>>>> Did I not edit a file or miss some other required step?
>>>>>>>
>>>>>>>
>>>>>>>   Wow, the same question on three mailing lists (that I read, there
>>>>>>>
>>>>>> may be more...) and no cross-posting!
>>>>>>
>>>>>> This list is perhaps the most appropriate one for your question.
>>>>>>
>>>>>> More details will help.  Exactly what did you change in the
>>>>>> "XXXX-rootfs-image.bb"
>>>>>> recipe?
>>>>>>
>>>>>> --
>>>>>> ------------------------------******--------------------------**
>>>>>> --**--
>>>>>>
>>>>>>
>>>>>> Gary Thomas                 |  Consulting for the
>>>>>> MLB Associates              |    Embedded world
>>>>>> ------------------------------******--------------------------**
>>>>>> --**--
>>>>>>
>>>>>> ______________________________******_________________
>>>>>> Openembedded-devel mailing list
>>>>>> Openembedded-devel@lists.****ope**nembedded.org <
>>>>>> http://openembedded.org>
>>>>>> <Openembedded-**devel@lists.**openembedded.org<devel@lists.openembedded.org>
>>>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>>>> >
>>>>>>
>>>>>>>
>>>>>>>  http://lists.linuxtogo.org/******cgi-bin/mailman/listinfo/****<http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/****>
>>>>>> openembedded-devel<http://**lists.linuxtogo.org/**cgi-bin/**
>>>>>> mailman/listinfo/****openembedded-devel<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel>
>>>>>> >
>>>>>> <http://**lists.linuxtogo.org/**cgi-bin/**mailman/listinfo/**
>>>>>> openembedded-*<http://lists.linuxtogo.org/cgi-bin/**mailman/listinfo/openembedded-*>
>>>>>> *devel<http://lists.linuxtogo.**org/cgi-bin/mailman/listinfo/**
>>>>>> openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>>>> >
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>  --
>>>> ------------------------------****----------------------------**--
>>>> Gary Thomas                 |  Consulting for the
>>>> MLB Associates              |    Embedded world
>>>> ------------------------------****----------------------------**--
>>>>
>>>> ______________________________****_________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.**ope**nembedded.org <http://openembedded.org>
>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>> >
>>>> http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/**<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**>
>>>> openembedded-devel<http://**lists.linuxtogo.org/cgi-bin/**
>>>> mailman/listinfo/openembedded-**devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>> >
>>>>
>>>>
>>>
>>>
>>> --
>>> David Hirst
>>> hirst689@gmail.com
>>>
>>>
>>>
>>
>>
> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
>
> ______________________________**_________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>



-- 
David Hirst
hirst689@gmail.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 17:53           ` Gary Thomas
  2013-03-22 18:24             ` David Hirst
@ 2013-03-22 18:40             ` David Hirst
  2013-03-22 18:55             ` David Hirst
  2 siblings, 0 replies; 12+ messages in thread
From: David Hirst @ 2013-03-22 18:40 UTC (permalink / raw)
  To: openembedded-devel

I added the line with no effect,

here are the last lines of the build I notice that there are "noexec" on
several lines, not sure if this has any effect

NOTE: Running task 3804 of 3809 (ID: 2113,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-netbotz/pure-ftpd/
pure-ftpd_1.0.29.bb, do_package_write_ipk)
NOTE: Running noexec task 3806 of 3809 (ID: 342,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-core/tasks/
task-arago-netbotz.bb, do_package_write)
NOTE: package pure-ftpd-1.0.29-r0: task do_package_write_ipk: Started
NOTE: package pure-ftpd-1.0.29-r0: task do_package_write_ipk: Succeeded
NOTE: Running noexec task 3807 of 3809 (ID: 2110,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-netbotz/pure-ftpd/
pure-ftpd_1.0.29.bb, do_package_write)
NOTE: Running task 3808 of 3809 (ID: 9,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-core/images/
tisdk-rootfs-image.bb, do_rootfs)
NOTE: package tisdk-rootfs-image-1.0-r0: task do_rootfs: Started
NOTE: package tisdk-rootfs-image-1.0-r0: task do_rootfs: Succeeded
NOTE: Running noexec task 3809 of 3809 (ID: 5,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-core/images/
tisdk-rootfs-image.bb, do_build)
NOTE: Tasks Summary: Attempted 3809 tasks of which 3795 didn't need to be
rerun and all succeeded.


On Fri, Mar 22, 2013 at 1:53 PM, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2013-03-22 11:31, David Hirst wrote:
>
>> Here are the results, the same as before, in the build directories all
>> seems fine but the final output only has the /usr/share/man/man8/files
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/sbin
>> are the following files:
>>
>> pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
>> pure-uploadscript
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/bin
>> are the following files:
>>
>> pure-pw  pure-pwconvert  pure-statsdecode
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**
>> image/usr/share/man/man8
>>
>> pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
>> pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8
>>  pure-uploadscript.8
>>
>
> You still didn't answer the question about the version of bitbake, the OE
> metadata, etc.
> which does make a difference...
>
> Try adding this line in your pure-ftpd recipe:
>   FILES_${PN} += "/usr/sbin"
>
>
>>
>> hirst689@hirst689-HP-Z210-**Workstation:~/oe-layersetup/**
>> build/arago-tmp-external-**arago-toolchain/deploy/images$
>> tar tvf tisdk-rootfs-image-am335x-evm.**tar.gz | grep pure*
>>
>> -rw-r--r-- root/root      4151 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**uploadscript.8
>> -rw-r--r-- root/root      3187 2013-03-22 12:36
>> ./usr/share/man/man8/pure-pw.8
>> -rw-r--r-- root/root      2169 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**quotacheck.8
>> -rw-r--r-- root/root      1123 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**statsdecode.8
>> -rw-r--r-- root/root       764 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**pwconvert.8
>> -rw-r--r-- root/root      4160 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**authd.8
>> -rw-r--r-- root/root      2119 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**mrtginfo.8
>> -rw-r--r-- root/root     28755 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**ftpd.8
>> -rw-r--r-- root/root      2449 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**ftpwho.8
>>
>>
>>
>> On Fri, Mar 22, 2013 at 11:02 AM, David Hirst <hirst689@gmail.com> wrote:
>>
>>  I did a bitbake tisdk-rootfs-image -c clean
>>> I will try the cleanstate
>>> It seems really difficult to get started from an absolutely clean slate,
>>> some where status is held that gets in the way
>>> I will let you know
>>>
>>> Thanks so far
>>>
>>>
>>>
>>>
>>> On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>
>>>  On 2013-03-22 08:42, David Hirst wrote:
>>>>
>>>>  OK,
>>>>>       Sorry for the carpet bombing! I added this to tisdk-rootfs-image
>>>>> "task-arago-xyz \" to look for the new task file
>>>>> I have included the task and pure-ftpd bb files also. I would love to
>>>>> understand why this does not work.
>>>>>
>>>>>
>>>> What steps did you run after making this change?
>>>> What version of bitbake are you using?
>>>>
>>>> Most likely, bitbake did not [fully] realize that you made a change.
>>>> I'd try something like this:
>>>>    % bitbake tisdk-rootfs-image -c cleansstate
>>>>    % bitbake tisdk-rootfs-image
>>>> and see what happens.
>>>>
>>>> BTW, top-posting is evil :-(
>>>>
>>>>
>>>>  ==========================**tisd**k-rootfs-image.bb<http:/**
>>>>> /tisdk-rootfs-image.bb <http://tisdk-rootfs-image.bb>>
>>>>> =============**===============
>>>>>
>>>>> # Arago TI SDK filesystem image
>>>>> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>>>>>
>>>>> require arago-base-tisdk-image.bb
>>>>>
>>>>> IMAGE_INSTALL += "\
>>>>>       task-arago-test \
>>>>>       task-arago-tisdk-graphics \
>>>>>       task-arago-tisdk-qte \
>>>>>       task-arago-tisdk-addons \
>>>>>       task-arago-tisdk-connectivity \
>>>>>       task-arago-tisdk-crypto \
>>>>>       task-arago-tisdk-matrix \
>>>>>       task-arago-tisdk-multimedia \
>>>>>       task-arago-tisdk-amsdk \
>>>>>       task-arago-xyz \
>>>>> "
>>>>>
>>>>> export IMAGE_BASENAME = "tisdk-rootfs-image"
>>>>>
>>>>> =================task-arago.****xyz.bb <http://xyz.bb> <
>>>>> http://task-arago.xyz.bb>
>>>>>
>>>>> ================
>>>>>
>>>>> DESCRIPTION = "Extended task to get extras"
>>>>> LICENSE = "MIT"
>>>>> LIC_FILES_CHKSUM =
>>>>> "file://${COREBASE}/meta/****COPYING.MIT;md5=**
>>>>> 3da9cfbcb788c80a0384361b4de204****20"
>>>>>
>>>>> PR = "r0"
>>>>>
>>>>> inherit task
>>>>>
>>>>> ARAGO_XYZ = " \
>>>>>       pure-ftpd \
>>>>>       "
>>>>>
>>>>> ARAGO_XYZ_INT = "\
>>>>>       ${ARAGO_XYZ} \
>>>>>       "
>>>>> RDEPENDS_${PN} = "\
>>>>>       ${ARAGO_XYZ_INT} \
>>>>>       "
>>>>> ===============pure-ftpd_1.0.****29.bb <http://pure-ftpd_1.0.29.bb>
>>>>>
>>>>> ====================
>>>>>
>>>>> DESCRIPTION = "Sample program"
>>>>> LICENSE = "GPLv2"
>>>>> LIC_FILES_CHKSUM = "file://COPYING;md5=****
>>>>> d7b47170f564f6a314b82b3ea67a40***
>>>>>
>>>>> *bd"
>>>>> PR = "r0"
>>>>> PV = "1.0.29"
>>>>> DEPENDS = ""
>>>>> RPROVIDES = "pure-ftpd"
>>>>> PROVIDES = "pure-ftpd"
>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>
>>>>> PARALLEL_MAKE = ""
>>>>>
>>>>> inherit autotools pkgconfig
>>>>>
>>>>> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-****
>>>>> gnueabi"
>>>>>
>>>>> SRC_URI = "
>>>>> http://iweb.dl.sourceforge.****net/project/pureftpd/Pure-**
>>>>> FTPd/1.0.29/pure-ftpd-${PV}.****tar.gz<http://iweb.dl.**
>>>>> sourceforge.net/project/**pureftpd/Pure-FTPd/1.0.29/**
>>>>> pure-ftpd-$%7BPV%7D.tar.gz<http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz>
>>>>> >
>>>>> "
>>>>> SRC_URI[md5sum] = "****e0132a51357d419f8b66e8997d9dc5****fa"
>>>>> SRC_URI[sha256sum] =
>>>>> "****55bfb84fa63a37e5b56906afb4444f******
>>>>> da7285d0f8b5ed24798f59c978ddea****2749"
>>>>>
>>>>> S = "${WORKDIR}/pure-ftpd-${PV}"
>>>>>
>>>>> EXTRA_OECONF_append_armv6 = " --enable-armv6"
>>>>> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>>>>>
>>>>> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
>>>>> -frename-registers -O4 -ffast-math"
>>>>> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>>>>>
>>>>> do_configure(){
>>>>>     oe_runconf ${EXTRE_OECONF}
>>>>> }
>>>>>
>>>>> do_compile () {
>>>>>     oe_runmake
>>>>> }
>>>>>
>>>>> do_install () {
>>>>>     oe_runmake install DESTDIR=${D}
>>>>> }
>>>>>
>>>>>
>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>
>>>>> BBCLASSEXTEND = "native"
>>>>>
>>>>> ============================ END===========================
>>>>>
>>>>> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com>
>>>>> wrote:
>>>>>
>>>>>   On 2013-03-22 08:24, David Hirst wrote:
>>>>>
>>>>>>
>>>>>>   Hi,
>>>>>>
>>>>>>>        I have been struggling with a oe/bitbake issue. I wanted to
>>>>>>> add
>>>>>>> an
>>>>>>> other .bb to the image file.
>>>>>>> I have tried multiple ways but always end up at the same spot. I have
>>>>>>> created a new task-XXX.bb file which includes my bb
>>>>>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>>>>>> Once built I find that everything built fine and the new recipe was
>>>>>>> built
>>>>>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>>>>>> If I look into the image directory for the bb file I see the compiled
>>>>>>> application in usr/sbin.
>>>>>>> I have tried this with my own .bb file and net-snmp bb file which
>>>>>>> comes
>>>>>>> with the default oe-layersetup installation with the same result.
>>>>>>> Did I not edit a file or miss some other required step?
>>>>>>>
>>>>>>>
>>>>>>>   Wow, the same question on three mailing lists (that I read, there
>>>>>>>
>>>>>> may be more...) and no cross-posting!
>>>>>>
>>>>>> This list is perhaps the most appropriate one for your question.
>>>>>>
>>>>>> More details will help.  Exactly what did you change in the
>>>>>> "XXXX-rootfs-image.bb"
>>>>>> recipe?
>>>>>>
>>>>>> --
>>>>>> ------------------------------******--------------------------**
>>>>>> --**--
>>>>>>
>>>>>>
>>>>>> Gary Thomas                 |  Consulting for the
>>>>>> MLB Associates              |    Embedded world
>>>>>> ------------------------------******--------------------------**
>>>>>> --**--
>>>>>>
>>>>>> ______________________________******_________________
>>>>>> Openembedded-devel mailing list
>>>>>> Openembedded-devel@lists.****ope**nembedded.org <
>>>>>> http://openembedded.org>
>>>>>> <Openembedded-**devel@lists.**openembedded.org<devel@lists.openembedded.org>
>>>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>>>> >
>>>>>>
>>>>>>>
>>>>>>>  http://lists.linuxtogo.org/******cgi-bin/mailman/listinfo/****<http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/****>
>>>>>> openembedded-devel<http://**lists.linuxtogo.org/**cgi-bin/**
>>>>>> mailman/listinfo/****openembedded-devel<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel>
>>>>>> >
>>>>>> <http://**lists.linuxtogo.org/**cgi-bin/**mailman/listinfo/**
>>>>>> openembedded-*<http://lists.linuxtogo.org/cgi-bin/**mailman/listinfo/openembedded-*>
>>>>>> *devel<http://lists.linuxtogo.**org/cgi-bin/mailman/listinfo/**
>>>>>> openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>>>> >
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>  --
>>>> ------------------------------****----------------------------**--
>>>> Gary Thomas                 |  Consulting for the
>>>> MLB Associates              |    Embedded world
>>>> ------------------------------****----------------------------**--
>>>>
>>>> ______________________________****_________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.**ope**nembedded.org <http://openembedded.org>
>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>> >
>>>> http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/**<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**>
>>>> openembedded-devel<http://**lists.linuxtogo.org/cgi-bin/**
>>>> mailman/listinfo/openembedded-**devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>> >
>>>>
>>>>
>>>
>>>
>>> --
>>> David Hirst
>>> hirst689@gmail.com
>>>
>>>
>>>
>>
>>
> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
>
> ______________________________**_________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>



-- 
David Hirst
hirst689@gmail.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 17:53           ` Gary Thomas
  2013-03-22 18:24             ` David Hirst
  2013-03-22 18:40             ` David Hirst
@ 2013-03-22 18:55             ` David Hirst
  2013-03-24  7:16               ` Takeshi Hamasaki
  2 siblings, 1 reply; 12+ messages in thread
From: David Hirst @ 2013-03-22 18:55 UTC (permalink / raw)
  To: openembedded-devel

OK, now I have some progress, what I have done is to drop the task and call
pure-ftpd directly from tisdk-rootfs-image

and I get the following in the image. Somehow this just seems wrong but it
works

hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
tar tvf tisdk-rootfs-image-am335x-evm.tar.gz | grep pure
-rwxr-xr-x root/root      9744 2013-03-22 14:28 ./usr/sbin/pure-mrtginfo
-rwxr-xr-x root/root      5196 2013-03-22 14:28 ./usr/sbin/pure-uploadscript
-rwxr-xr-x root/root      5184 2013-03-22 14:28 ./usr/sbin/pure-authd
-rwxr-xr-x root/root    112184 2013-03-22 14:28 ./usr/sbin/pure-ftpd
-rwxr-xr-x root/root     12360 2013-03-22 14:28 ./usr/sbin/pure-quotacheck
-rwxr-xr-x root/root      5248 2013-03-22 14:28 ./usr/sbin/pure-ftpwho
-rwxr-xr-x root/root         6964 2013-03-22 14:28
./usr/bin/pure-statsdecode
-rwxr-xr-x root/root        28972 2013-03-22 14:28 ./usr/bin/pure-pw
-rwxr-xr-x root/root         6568 2013-03-22 14:28 ./usr/bin/pure-pwconvert
-rw-r--r-- root/root           208 2013-03-22 14:44
./var/lib/opkg/info/pure-ftpd.list
-rw-r--r-- root/root           442 2013-03-22 14:28
./var/lib/opkg/info/pure-ftpd.control
hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$



On Fri, Mar 22, 2013 at 1:53 PM, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2013-03-22 11:31, David Hirst wrote:
>
>> Here are the results, the same as before, in the build directories all
>> seems fine but the final output only has the /usr/share/man/man8/files
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/sbin
>> are the following files:
>>
>> pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
>> pure-uploadscript
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/bin
>> are the following files:
>>
>> pure-pw  pure-pwconvert  pure-statsdecode
>>
>> in
>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**
>> image/usr/share/man/man8
>>
>> pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
>> pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8
>>  pure-uploadscript.8
>>
>
> You still didn't answer the question about the version of bitbake, the OE
> metadata, etc.
> which does make a difference...
>
> Try adding this line in your pure-ftpd recipe:
>   FILES_${PN} += "/usr/sbin"
>
>
>>
>> hirst689@hirst689-HP-Z210-**Workstation:~/oe-layersetup/**
>> build/arago-tmp-external-**arago-toolchain/deploy/images$
>> tar tvf tisdk-rootfs-image-am335x-evm.**tar.gz | grep pure*
>>
>> -rw-r--r-- root/root      4151 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**uploadscript.8
>> -rw-r--r-- root/root      3187 2013-03-22 12:36
>> ./usr/share/man/man8/pure-pw.8
>> -rw-r--r-- root/root      2169 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**quotacheck.8
>> -rw-r--r-- root/root      1123 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**statsdecode.8
>> -rw-r--r-- root/root       764 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**pwconvert.8
>> -rw-r--r-- root/root      4160 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**authd.8
>> -rw-r--r-- root/root      2119 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**mrtginfo.8
>> -rw-r--r-- root/root     28755 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**ftpd.8
>> -rw-r--r-- root/root      2449 2013-03-22 12:36
>> ./usr/share/man/man8/pure-**ftpwho.8
>>
>>
>>
>> On Fri, Mar 22, 2013 at 11:02 AM, David Hirst <hirst689@gmail.com> wrote:
>>
>>  I did a bitbake tisdk-rootfs-image -c clean
>>> I will try the cleanstate
>>> It seems really difficult to get started from an absolutely clean slate,
>>> some where status is held that gets in the way
>>> I will let you know
>>>
>>> Thanks so far
>>>
>>>
>>>
>>>
>>> On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>
>>>  On 2013-03-22 08:42, David Hirst wrote:
>>>>
>>>>  OK,
>>>>>       Sorry for the carpet bombing! I added this to tisdk-rootfs-image
>>>>> "task-arago-xyz \" to look for the new task file
>>>>> I have included the task and pure-ftpd bb files also. I would love to
>>>>> understand why this does not work.
>>>>>
>>>>>
>>>> What steps did you run after making this change?
>>>> What version of bitbake are you using?
>>>>
>>>> Most likely, bitbake did not [fully] realize that you made a change.
>>>> I'd try something like this:
>>>>    % bitbake tisdk-rootfs-image -c cleansstate
>>>>    % bitbake tisdk-rootfs-image
>>>> and see what happens.
>>>>
>>>> BTW, top-posting is evil :-(
>>>>
>>>>
>>>>  ==========================**tisd**k-rootfs-image.bb<http:/**
>>>>> /tisdk-rootfs-image.bb <http://tisdk-rootfs-image.bb>>
>>>>> =============**===============
>>>>>
>>>>> # Arago TI SDK filesystem image
>>>>> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>>>>>
>>>>> require arago-base-tisdk-image.bb
>>>>>
>>>>> IMAGE_INSTALL += "\
>>>>>       task-arago-test \
>>>>>       task-arago-tisdk-graphics \
>>>>>       task-arago-tisdk-qte \
>>>>>       task-arago-tisdk-addons \
>>>>>       task-arago-tisdk-connectivity \
>>>>>       task-arago-tisdk-crypto \
>>>>>       task-arago-tisdk-matrix \
>>>>>       task-arago-tisdk-multimedia \
>>>>>       task-arago-tisdk-amsdk \
>>>>>       task-arago-xyz \
>>>>> "
>>>>>
>>>>> export IMAGE_BASENAME = "tisdk-rootfs-image"
>>>>>
>>>>> =================task-arago.****xyz.bb <http://xyz.bb> <
>>>>> http://task-arago.xyz.bb>
>>>>>
>>>>> ================
>>>>>
>>>>> DESCRIPTION = "Extended task to get extras"
>>>>> LICENSE = "MIT"
>>>>> LIC_FILES_CHKSUM =
>>>>> "file://${COREBASE}/meta/****COPYING.MIT;md5=**
>>>>> 3da9cfbcb788c80a0384361b4de204****20"
>>>>>
>>>>> PR = "r0"
>>>>>
>>>>> inherit task
>>>>>
>>>>> ARAGO_XYZ = " \
>>>>>       pure-ftpd \
>>>>>       "
>>>>>
>>>>> ARAGO_XYZ_INT = "\
>>>>>       ${ARAGO_XYZ} \
>>>>>       "
>>>>> RDEPENDS_${PN} = "\
>>>>>       ${ARAGO_XYZ_INT} \
>>>>>       "
>>>>> ===============pure-ftpd_1.0.****29.bb <http://pure-ftpd_1.0.29.bb>
>>>>>
>>>>> ====================
>>>>>
>>>>> DESCRIPTION = "Sample program"
>>>>> LICENSE = "GPLv2"
>>>>> LIC_FILES_CHKSUM = "file://COPYING;md5=****
>>>>> d7b47170f564f6a314b82b3ea67a40***
>>>>>
>>>>> *bd"
>>>>> PR = "r0"
>>>>> PV = "1.0.29"
>>>>> DEPENDS = ""
>>>>> RPROVIDES = "pure-ftpd"
>>>>> PROVIDES = "pure-ftpd"
>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>
>>>>> PARALLEL_MAKE = ""
>>>>>
>>>>> inherit autotools pkgconfig
>>>>>
>>>>> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-****
>>>>> gnueabi"
>>>>>
>>>>> SRC_URI = "
>>>>> http://iweb.dl.sourceforge.****net/project/pureftpd/Pure-**
>>>>> FTPd/1.0.29/pure-ftpd-${PV}.****tar.gz<http://iweb.dl.**
>>>>> sourceforge.net/project/**pureftpd/Pure-FTPd/1.0.29/**
>>>>> pure-ftpd-$%7BPV%7D.tar.gz<http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz>
>>>>> >
>>>>> "
>>>>> SRC_URI[md5sum] = "****e0132a51357d419f8b66e8997d9dc5****fa"
>>>>> SRC_URI[sha256sum] =
>>>>> "****55bfb84fa63a37e5b56906afb4444f******
>>>>> da7285d0f8b5ed24798f59c978ddea****2749"
>>>>>
>>>>> S = "${WORKDIR}/pure-ftpd-${PV}"
>>>>>
>>>>> EXTRA_OECONF_append_armv6 = " --enable-armv6"
>>>>> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>>>>>
>>>>> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
>>>>> -frename-registers -O4 -ffast-math"
>>>>> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>>>>>
>>>>> do_configure(){
>>>>>     oe_runconf ${EXTRE_OECONF}
>>>>> }
>>>>>
>>>>> do_compile () {
>>>>>     oe_runmake
>>>>> }
>>>>>
>>>>> do_install () {
>>>>>     oe_runmake install DESTDIR=${D}
>>>>> }
>>>>>
>>>>>
>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>
>>>>> BBCLASSEXTEND = "native"
>>>>>
>>>>> ============================ END===========================
>>>>>
>>>>> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com>
>>>>> wrote:
>>>>>
>>>>>   On 2013-03-22 08:24, David Hirst wrote:
>>>>>
>>>>>>
>>>>>>   Hi,
>>>>>>
>>>>>>>        I have been struggling with a oe/bitbake issue. I wanted to
>>>>>>> add
>>>>>>> an
>>>>>>> other .bb to the image file.
>>>>>>> I have tried multiple ways but always end up at the same spot. I have
>>>>>>> created a new task-XXX.bb file which includes my bb
>>>>>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>>>>>> Once built I find that everything built fine and the new recipe was
>>>>>>> built
>>>>>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>>>>>> If I look into the image directory for the bb file I see the compiled
>>>>>>> application in usr/sbin.
>>>>>>> I have tried this with my own .bb file and net-snmp bb file which
>>>>>>> comes
>>>>>>> with the default oe-layersetup installation with the same result.
>>>>>>> Did I not edit a file or miss some other required step?
>>>>>>>
>>>>>>>
>>>>>>>   Wow, the same question on three mailing lists (that I read, there
>>>>>>>
>>>>>> may be more...) and no cross-posting!
>>>>>>
>>>>>> This list is perhaps the most appropriate one for your question.
>>>>>>
>>>>>> More details will help.  Exactly what did you change in the
>>>>>> "XXXX-rootfs-image.bb"
>>>>>> recipe?
>>>>>>
>>>>>> --
>>>>>> ------------------------------******--------------------------**
>>>>>> --**--
>>>>>>
>>>>>>
>>>>>> Gary Thomas                 |  Consulting for the
>>>>>> MLB Associates              |    Embedded world
>>>>>> ------------------------------******--------------------------**
>>>>>> --**--
>>>>>>
>>>>>> ______________________________******_________________
>>>>>> Openembedded-devel mailing list
>>>>>> Openembedded-devel@lists.****ope**nembedded.org <
>>>>>> http://openembedded.org>
>>>>>> <Openembedded-**devel@lists.**openembedded.org<devel@lists.openembedded.org>
>>>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>>>> >
>>>>>>
>>>>>>>
>>>>>>>  http://lists.linuxtogo.org/******cgi-bin/mailman/listinfo/****<http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/****>
>>>>>> openembedded-devel<http://**lists.linuxtogo.org/**cgi-bin/**
>>>>>> mailman/listinfo/****openembedded-devel<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel>
>>>>>> >
>>>>>> <http://**lists.linuxtogo.org/**cgi-bin/**mailman/listinfo/**
>>>>>> openembedded-*<http://lists.linuxtogo.org/cgi-bin/**mailman/listinfo/openembedded-*>
>>>>>> *devel<http://lists.linuxtogo.**org/cgi-bin/mailman/listinfo/**
>>>>>> openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>>>> >
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>  --
>>>> ------------------------------****----------------------------**--
>>>> Gary Thomas                 |  Consulting for the
>>>> MLB Associates              |    Embedded world
>>>> ------------------------------****----------------------------**--
>>>>
>>>> ______________________________****_________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.**ope**nembedded.org <http://openembedded.org>
>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>> >
>>>> http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/**<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**>
>>>> openembedded-devel<http://**lists.linuxtogo.org/cgi-bin/**
>>>> mailman/listinfo/openembedded-**devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>> >
>>>>
>>>>
>>>
>>>
>>> --
>>> David Hirst
>>> hirst689@gmail.com
>>>
>>>
>>>
>>
>>
> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
>
> ______________________________**_________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>



-- 
David Hirst
hirst689@gmail.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Adding a recipe to oe bitbake
  2013-03-22 18:55             ` David Hirst
@ 2013-03-24  7:16               ` Takeshi Hamasaki
  0 siblings, 0 replies; 12+ messages in thread
From: Takeshi Hamasaki @ 2013-03-24  7:16 UTC (permalink / raw)
  To: openembedded-devel

Hi David,

do you use the file name task-arago.xyz.bb
for the task called      task-arago-xyz    ?

They don't match, just curious for me, and it explains your progress:

2013/3/23 David Hirst <hirst689@gmail.com>:
> OK, now I have some progress, what I have done is to drop the task and call
> pure-ftpd directly from tisdk-rootfs-image

Regards,
-- 
Takeshi Hamasaki



2013/3/23 David Hirst <hirst689@gmail.com>:
> OK, now I have some progress, what I have done is to drop the task and call
> pure-ftpd directly from tisdk-rootfs-image
>
> and I get the following in the image. Somehow this just seems wrong but it
> works
>
> hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
> tar tvf tisdk-rootfs-image-am335x-evm.tar.gz | grep pure
> -rwxr-xr-x root/root      9744 2013-03-22 14:28 ./usr/sbin/pure-mrtginfo
> -rwxr-xr-x root/root      5196 2013-03-22 14:28 ./usr/sbin/pure-uploadscript
> -rwxr-xr-x root/root      5184 2013-03-22 14:28 ./usr/sbin/pure-authd
> -rwxr-xr-x root/root    112184 2013-03-22 14:28 ./usr/sbin/pure-ftpd
> -rwxr-xr-x root/root     12360 2013-03-22 14:28 ./usr/sbin/pure-quotacheck
> -rwxr-xr-x root/root      5248 2013-03-22 14:28 ./usr/sbin/pure-ftpwho
> -rwxr-xr-x root/root         6964 2013-03-22 14:28
> ./usr/bin/pure-statsdecode
> -rwxr-xr-x root/root        28972 2013-03-22 14:28 ./usr/bin/pure-pw
> -rwxr-xr-x root/root         6568 2013-03-22 14:28 ./usr/bin/pure-pwconvert
> -rw-r--r-- root/root           208 2013-03-22 14:44
> ./var/lib/opkg/info/pure-ftpd.list
> -rw-r--r-- root/root           442 2013-03-22 14:28
> ./var/lib/opkg/info/pure-ftpd.control
> hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
>
>
>
> On Fri, Mar 22, 2013 at 1:53 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>
>> On 2013-03-22 11:31, David Hirst wrote:
>>
>>> Here are the results, the same as before, in the build directories all
>>> seems fine but the final output only has the /usr/share/man/man8/files
>>>
>>> in
>>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/sbin
>>> are the following files:
>>>
>>> pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
>>> pure-uploadscript
>>>
>>> in
>>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/bin
>>> are the following files:
>>>
>>> pure-pw  pure-pwconvert  pure-statsdecode
>>>
>>> in
>>> oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
>>> armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**
>>> image/usr/share/man/man8
>>>
>>> pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
>>> pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8
>>>  pure-uploadscript.8
>>>
>>
>> You still didn't answer the question about the version of bitbake, the OE
>> metadata, etc.
>> which does make a difference...
>>
>> Try adding this line in your pure-ftpd recipe:
>>   FILES_${PN} += "/usr/sbin"
>>
>>
>>>
>>> hirst689@hirst689-HP-Z210-**Workstation:~/oe-layersetup/**
>>> build/arago-tmp-external-**arago-toolchain/deploy/images$
>>> tar tvf tisdk-rootfs-image-am335x-evm.**tar.gz | grep pure*
>>>
>>> -rw-r--r-- root/root      4151 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**uploadscript.8
>>> -rw-r--r-- root/root      3187 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-pw.8
>>> -rw-r--r-- root/root      2169 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**quotacheck.8
>>> -rw-r--r-- root/root      1123 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**statsdecode.8
>>> -rw-r--r-- root/root       764 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**pwconvert.8
>>> -rw-r--r-- root/root      4160 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**authd.8
>>> -rw-r--r-- root/root      2119 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**mrtginfo.8
>>> -rw-r--r-- root/root     28755 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**ftpd.8
>>> -rw-r--r-- root/root      2449 2013-03-22 12:36
>>> ./usr/share/man/man8/pure-**ftpwho.8
>>>
>>>
>>>
>>> On Fri, Mar 22, 2013 at 11:02 AM, David Hirst <hirst689@gmail.com> wrote:
>>>
>>>  I did a bitbake tisdk-rootfs-image -c clean
>>>> I will try the cleanstate
>>>> It seems really difficult to get started from an absolutely clean slate,
>>>> some where status is held that gets in the way
>>>> I will let you know
>>>>
>>>> Thanks so far
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>>
>>>>  On 2013-03-22 08:42, David Hirst wrote:
>>>>>
>>>>>  OK,
>>>>>>       Sorry for the carpet bombing! I added this to tisdk-rootfs-image
>>>>>> "task-arago-xyz \" to look for the new task file
>>>>>> I have included the task and pure-ftpd bb files also. I would love to
>>>>>> understand why this does not work.
>>>>>>
>>>>>>
>>>>> What steps did you run after making this change?
>>>>> What version of bitbake are you using?
>>>>>
>>>>> Most likely, bitbake did not [fully] realize that you made a change.
>>>>> I'd try something like this:
>>>>>    % bitbake tisdk-rootfs-image -c cleansstate
>>>>>    % bitbake tisdk-rootfs-image
>>>>> and see what happens.
>>>>>
>>>>> BTW, top-posting is evil :-(
>>>>>
>>>>>
>>>>>  ==========================**tisd**k-rootfs-image.bb<http:/**
>>>>>> /tisdk-rootfs-image.bb <http://tisdk-rootfs-image.bb>>
>>>>>> =============**===============
>>>>>>
>>>>>> # Arago TI SDK filesystem image
>>>>>> COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
>>>>>>
>>>>>> require arago-base-tisdk-image.bb
>>>>>>
>>>>>> IMAGE_INSTALL += "\
>>>>>>       task-arago-test \
>>>>>>       task-arago-tisdk-graphics \
>>>>>>       task-arago-tisdk-qte \
>>>>>>       task-arago-tisdk-addons \
>>>>>>       task-arago-tisdk-connectivity \
>>>>>>       task-arago-tisdk-crypto \
>>>>>>       task-arago-tisdk-matrix \
>>>>>>       task-arago-tisdk-multimedia \
>>>>>>       task-arago-tisdk-amsdk \
>>>>>>       task-arago-xyz \
>>>>>> "
>>>>>>
>>>>>> export IMAGE_BASENAME = "tisdk-rootfs-image"
>>>>>>
>>>>>> =================task-arago.****xyz.bb <http://xyz.bb> <
>>>>>> http://task-arago.xyz.bb>
>>>>>>
>>>>>> ================
>>>>>>
>>>>>> DESCRIPTION = "Extended task to get extras"
>>>>>> LICENSE = "MIT"
>>>>>> LIC_FILES_CHKSUM =
>>>>>> "file://${COREBASE}/meta/****COPYING.MIT;md5=**
>>>>>> 3da9cfbcb788c80a0384361b4de204****20"
>>>>>>
>>>>>> PR = "r0"
>>>>>>
>>>>>> inherit task
>>>>>>
>>>>>> ARAGO_XYZ = " \
>>>>>>       pure-ftpd \
>>>>>>       "
>>>>>>
>>>>>> ARAGO_XYZ_INT = "\
>>>>>>       ${ARAGO_XYZ} \
>>>>>>       "
>>>>>> RDEPENDS_${PN} = "\
>>>>>>       ${ARAGO_XYZ_INT} \
>>>>>>       "
>>>>>> ===============pure-ftpd_1.0.****29.bb <http://pure-ftpd_1.0.29.bb>
>>>>>>
>>>>>> ====================
>>>>>>
>>>>>> DESCRIPTION = "Sample program"
>>>>>> LICENSE = "GPLv2"
>>>>>> LIC_FILES_CHKSUM = "file://COPYING;md5=****
>>>>>> d7b47170f564f6a314b82b3ea67a40***
>>>>>>
>>>>>> *bd"
>>>>>> PR = "r0"
>>>>>> PV = "1.0.29"
>>>>>> DEPENDS = ""
>>>>>> RPROVIDES = "pure-ftpd"
>>>>>> PROVIDES = "pure-ftpd"
>>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>>
>>>>>> PARALLEL_MAKE = ""
>>>>>>
>>>>>> inherit autotools pkgconfig
>>>>>>
>>>>>> EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-****
>>>>>> gnueabi"
>>>>>>
>>>>>> SRC_URI = "
>>>>>> http://iweb.dl.sourceforge.****net/project/pureftpd/Pure-**
>>>>>> FTPd/1.0.29/pure-ftpd-${PV}.****tar.gz<http://iweb.dl.**
>>>>>> sourceforge.net/project/**pureftpd/Pure-FTPd/1.0.29/**
>>>>>> pure-ftpd-$%7BPV%7D.tar.gz<http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz>
>>>>>> >
>>>>>> "
>>>>>> SRC_URI[md5sum] = "****e0132a51357d419f8b66e8997d9dc5****fa"
>>>>>> SRC_URI[sha256sum] =
>>>>>> "****55bfb84fa63a37e5b56906afb4444f******
>>>>>> da7285d0f8b5ed24798f59c978ddea****2749"
>>>>>>
>>>>>> S = "${WORKDIR}/pure-ftpd-${PV}"
>>>>>>
>>>>>> EXTRA_OECONF_append_armv6 = " --enable-armv6"
>>>>>> EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
>>>>>>
>>>>>> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer
>>>>>> -frename-registers -O4 -ffast-math"
>>>>>> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
>>>>>>
>>>>>> do_configure(){
>>>>>>     oe_runconf ${EXTRE_OECONF}
>>>>>> }
>>>>>>
>>>>>> do_compile () {
>>>>>>     oe_runmake
>>>>>> }
>>>>>>
>>>>>> do_install () {
>>>>>>     oe_runmake install DESTDIR=${D}
>>>>>> }
>>>>>>
>>>>>>
>>>>>> ARM_INSTRUCTION_SET = "arm"
>>>>>>
>>>>>> BBCLASSEXTEND = "native"
>>>>>>
>>>>>> ============================ END===========================
>>>>>>
>>>>>> On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas <gary@mlbassoc.com>
>>>>>> wrote:
>>>>>>
>>>>>>   On 2013-03-22 08:24, David Hirst wrote:
>>>>>>
>>>>>>>
>>>>>>>   Hi,
>>>>>>>
>>>>>>>>        I have been struggling with a oe/bitbake issue. I wanted to
>>>>>>>> add
>>>>>>>> an
>>>>>>>> other .bb to the image file.
>>>>>>>> I have tried multiple ways but always end up at the same spot. I have
>>>>>>>> created a new task-XXX.bb file which includes my bb
>>>>>>>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
>>>>>>>> Once built I find that everything built fine and the new recipe was
>>>>>>>> built
>>>>>>>> but was not loaded into the XXXX-rootfs-image.tar,gz.
>>>>>>>> If I look into the image directory for the bb file I see the compiled
>>>>>>>> application in usr/sbin.
>>>>>>>> I have tried this with my own .bb file and net-snmp bb file which
>>>>>>>> comes
>>>>>>>> with the default oe-layersetup installation with the same result.
>>>>>>>> Did I not edit a file or miss some other required step?
>>>>>>>>
>>>>>>>>
>>>>>>>>   Wow, the same question on three mailing lists (that I read, there
>>>>>>>>
>>>>>>> may be more...) and no cross-posting!
>>>>>>>
>>>>>>> This list is perhaps the most appropriate one for your question.
>>>>>>>
>>>>>>> More details will help.  Exactly what did you change in the
>>>>>>> "XXXX-rootfs-image.bb"
>>>>>>> recipe?
>>>>>>>
>>>>>>> --
>>>>>>> ------------------------------******--------------------------**
>>>>>>> --**--
>>>>>>>
>>>>>>>
>>>>>>> Gary Thomas                 |  Consulting for the
>>>>>>> MLB Associates              |    Embedded world
>>>>>>> ------------------------------******--------------------------**
>>>>>>> --**--
>>>>>>>
>>>>>>> ______________________________******_________________
>>>>>>> Openembedded-devel mailing list
>>>>>>> Openembedded-devel@lists.****ope**nembedded.org <
>>>>>>> http://openembedded.org>
>>>>>>> <Openembedded-**devel@lists.**openembedded.org<devel@lists.openembedded.org>
>>>>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>>>>> >
>>>>>>>
>>>>>>>>
>>>>>>>>  http://lists.linuxtogo.org/******cgi-bin/mailman/listinfo/****<http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/****>
>>>>>>> openembedded-devel<http://**lists.linuxtogo.org/**cgi-bin/**
>>>>>>> mailman/listinfo/****openembedded-devel<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel>
>>>>>>> >
>>>>>>> <http://**lists.linuxtogo.org/**cgi-bin/**mailman/listinfo/**
>>>>>>> openembedded-*<http://lists.linuxtogo.org/cgi-bin/**mailman/listinfo/openembedded-*>
>>>>>>> *devel<http://lists.linuxtogo.**org/cgi-bin/mailman/listinfo/**
>>>>>>> openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>>>>> >
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>  --
>>>>> ------------------------------****----------------------------**--
>>>>> Gary Thomas                 |  Consulting for the
>>>>> MLB Associates              |    Embedded world
>>>>> ------------------------------****----------------------------**--
>>>>>
>>>>> ______________________________****_________________
>>>>> Openembedded-devel mailing list
>>>>> Openembedded-devel@lists.**ope**nembedded.org <http://openembedded.org>
>>>>> <Openembedded-**devel@lists.openembedded.org<Openembedded-devel@lists.openembedded.org>
>>>>> >
>>>>> http://lists.linuxtogo.org/****cgi-bin/mailman/listinfo/**<http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**>
>>>>> openembedded-devel<http://**lists.linuxtogo.org/cgi-bin/**
>>>>> mailman/listinfo/openembedded-**devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>>>> >
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> David Hirst
>>>> hirst689@gmail.com
>>>>
>>>>
>>>>
>>>
>>>
>> --
>> ------------------------------**------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------**------------------------------
>>
>> ______________________________**_________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.**openembedded.org<Openembedded-devel@lists.openembedded.org>
>> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
>>
>
>
>
> --
> David Hirst
> hirst689@gmail.com
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 12+ messages in thread

* adding a recipe to oe bitbake
@ 2013-03-22 14:23 David Hirst
  0 siblings, 0 replies; 12+ messages in thread
From: David Hirst @ 2013-03-22 14:23 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

Hi,
    I have been struggling with a oe/bitbake issue. I wanted to add an
other .bb to the image file.
I have tried multiple ways but always end up at the same spot. I have
created a new task-XXX.bb file which includes my bb
I edited the XXXX-rootfs-image.bb to include the task-XXX.bb.
Once built I find that everything built fine and the new recipe was built
but was not loaded into the XXXX-rootfs-image.tar,gz.
If I look into the image directory for the bb file I see the compiled
application in usr/sbin.
I have tried this with my own .bb file and net-snmp bb file which comes
with the default oe-layersetup installation with the same result.
Did I not edit a file or miss some other required step?
-- 
David Hirst
hirst689@gmail.com

[-- Attachment #2: Type: text/html, Size: 880 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-03-24  7:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-22 14:24 Adding a recipe to oe bitbake David Hirst
2013-03-22 14:30 ` Gary Thomas
2013-03-22 14:42   ` David Hirst
2013-03-22 14:51     ` Gary Thomas
2013-03-22 15:02       ` David Hirst
2013-03-22 17:31         ` David Hirst
2013-03-22 17:53           ` Gary Thomas
2013-03-22 18:24             ` David Hirst
2013-03-22 18:40             ` David Hirst
2013-03-22 18:55             ` David Hirst
2013-03-24  7:16               ` Takeshi Hamasaki
  -- strict thread matches above, loose matches on Subject: below --
2013-03-22 14:23 adding " David Hirst

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.