fundamentals about OE

Javi Roman javiroman at kernel-labs.org
Tue Mar 11 15:09:52 UTC 2008


Hi all,

I don't manage to understand the philosophy behind OE.
I'm trying to create a custom distribution over OE, by means of a local overlay.

This is my knowledge:

1. I have created customs distro and machine files:

OE/
|-- build
|   `-- conf
|         |-- local.conf
|         `-- site.conf ===> (bitbake collection pointing out to my
local overlay)
|-- openembedded
`-- overlay
     |--- distro
     |   `--  mydistro.conf =====> (based on generic.conf distro)
     `-- machine
          `-- mymachine.conf ===>  (based on epia.conf machine)

2. Also I have created a rootfs image file:

|-- openembedded
`-- overlay
    |       |
    |       `-- packages
    |           |-- images
    |           |   `-- my-image.bb
    |           |-- java-sun
    |           |   `-- j2re_1.4.2-15.bb


3. To add a new package I add it to my-image.bb:

---- my-image.bb ------
require packages/images/bootstrap-image.bb

export IMAGE_INSTALL += "j2re \
                grub \
                "
inherit image

export IMAGE_BASENAME = "my-image"
----------------------------

My questions are the following:

1. The above image file, my-image.bb, is it the correct way to add new packages?
2. If I'm using my custom machine and distro files, do I need define a
task-base.bb file?
3. Can anybody explain me the relation between the files: distro,
machine, image and task-base?

Thank for all.

      - Javi Roman.




More information about the Openembedded-users mailing list