[oe] using deb as source while building image.

Anup Kini akini at synapticon.com
Mon Sep 16 10:58:12 UTC 2013


Hi All,

I am trying to build a core image minimal for the ZYNQ board.

I am trying to include VTK library available as deb in the following
location
http://ports.ubuntu.com/pool/universe/v/vtk/libvtk5.8_5.8.0-5_armhf.deb,
since its already compiled for ARM platform.

When i try to use the recipe mentioned below, nothing gets installed.
Let me know if it is possible to use the deb as a source to install
My recipe looks like below:
-----------------------------------------------------------------------------------------------------------------------------------
DESCRIPTION = "The Visualisation Toolkit"
HOMEPAGE = "http://www.vtk.org"

LICENSE = "BSD"

SRC_URI = "
http://ports.ubuntu.com/pool/universe/v/vtk/libvtk5.8_5.8.0-5_armhf.deb"

SRC_URI[md5sum] = "14945458a1e80d2990a4005c5163e01c"

# Skip the unwanted steps
do_compile[noexec] = "1"

# Install the files to ${D}
bin_package_do_install () {
    # Do it carefully
    [ -d "${S}" ] || exit 1
    cd ${S} || exit 1
    tar --no-same-owner --exclude='./patches' --exclude='./.pc'
--exclude='./control.tar.gz' -cpf - . \
        | tar --no-same-owner -xpf - -C ${D}
}

FILES_${PN} = "/"

EXPORT_FUNCTIONS do_install
------------------------------------------------------------------------------------------------------------------------------------------

Let me know if there is already a reference recipe that uses such a deb
source.



-- 

*Anup Kini
*Systems Engineer****
*
------------------------------
*

*Synapticon** * |  Cyber-Physical System Solutions ****

Mobile:

Direct:

+49 151 / 638 646 73

+49 7335 / 186 999 21

Fax:****
+49 7335 / 186 999 1


 **

 ****

synapticon.com <http://www.synapticon.com/>  |
@synapticon_co<https://twitter.com/#!/synapticon_co>
****

Synapticon GmbH  |  Hohlbachweg 2  |  73344 Gruibingen, DE
Secretary +49 7335 / 186 999 0  |  General Manager: Nikolai Ensslen
Registry Court Ulm HRB 725114  |  USt-ID DE271647127****

This message and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are addressed.
Please notify the sender immediately if you have received this e-mail by
mistake and delete it from your system.



More information about the Openembedded-devel mailing list