[yocto] Create a .bb for my aplication

Raul Rosetto Munoz munoz0raul at gmail.com
Mon Sep 17 06:48:56 PDT 2012


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 at gmail.com>

> On Tue, Sep 4, 2012 at 1:14 PM, Raul Rosetto Munoz <munoz0raul at 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 at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>



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


More information about the yocto mailing list