[oe] psplash customization

Alessandro Sappia a.sappia at gmail.com
Mon Nov 29 01:51:18 UTC 2010


hi all,
I'm fighting against psplash image customization. docs confuses me, as
I don't want to change anything in the original oe repository.
I configured enviroment to have a local overlay where I put my own
psplash-winecooler_svn.bb and created with
make-image-header.sh (both HAND and BAR) the .h needed in files/foo
subdirectory of the same recipe. the image recipe I use is:
winecooler-image.bb
------------------
IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"

DEPENDS =  "task-base-extended \
            psplash-winecooler \
        esekeyd u-boot-utils tslib \
        i2c-tools i2c screen rsync nfs-utils \
        directfb gdbserver directfb mtd-utils \
       "
PREFERRED_PROVIDER_virtual/psplash = "psplash-winecooler"

IMAGE_INSTALL = "task-base-extended \
        psplash-winecooler \
        qt4-embedded qwinecooler qt4-embedded-plugin-gfxdriver-gfxtransformed \
        qt4-embedded-plugin-sqldriver-sqlite \
        qt4-embedded-plugin-imageformat-jpeg \
        qt4-embedded-plugin-imageformat-gif \
        qt4-embedded-plugin-imageformat-mng \
        qt4-embedded-fonts-ttf-vera \
        qt4-embedded-fonts \
        qt4-embedded-plugin-mousedriver-tslib \
        qt4-embedded-fonts-ttf-dejavu \
        esekeyd u-boot-utils tslib-calibrate tslib-tests \
        i2c-tools i2c screen \
        directfb mtd-utils \
       "

export IMAGE_BASENAME = "winecooler-image"
IMAGE_LINGUAS = ""

inherit image
------------------

psplash-vinecooler.bb
------------------
require psplash.inc
require psplash-ua.inc

ALTERNATIVE_PRIORITY = "20"

# You can create your own pslash-poky-img.h by doing
# ./make-image-header.sh <file>.png POKY
# and rename the resulting .h to pslash-poky-img.h (for the logo)
# respectively psplash-bar-img.h (BAR) for the bar.
# You might also want to patch the colors (see patch)

SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \
          file://psplash-18bpp.patch \
          file://logo-math.patch \
          file://psplash-poky-img.h \
          file://psplash-bar-img.h \
          file://psplash-default \
          file://splashfuncs \
          file://psplash-init"
S = "${WORKDIR}/psplash"
------------------
bitbake winecooler-image builds psplash-angstrom and I obtain the base
angstrom boot image. :(
the psplash-winecooler.bb compiles fine.

another issue is that bitbake winecooler-image complain me about
psplash-angstrom and psplash-winecooler providing both virtual/psplash

I'm quite new to OE, I know I'm doing it wrong, but may someone show
me the way ?

Regards,

Alessandro

--
Alessandro Sappia
a.sappia at gmail.com




More information about the Openembedded-devel mailing list