All of lore.kernel.org
 help / color / mirror / Atom feed
* using deb as source while building image.
@ 2013-09-16 10:58 Anup Kini
  2013-09-16 11:49 ` Lukas Bulwahn
  0 siblings, 1 reply; 6+ messages in thread
From: Anup Kini @ 2013-09-16 10:58 UTC (permalink / raw)
  To: openembedded-devel

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.


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

end of thread, other threads:[~2013-09-17  5:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-16 10:58 using deb as source while building image Anup Kini
2013-09-16 11:49 ` Lukas Bulwahn
2013-09-16 12:32   ` Anup Kini
2013-09-16 19:12     ` Paul Barker
2013-09-17  5:00     ` Lukas Bulwahn
2013-09-17  5:40       ` Mike Looijmans

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.