* 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* Re: using deb as source while building image. 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 0 siblings, 1 reply; 6+ messages in thread From: Lukas Bulwahn @ 2013-09-16 11:49 UTC (permalink / raw) To: openembedded-devel Hello Anup, if you are trying to compile the Point Cloud Library for the ZYNQ board, you do not require the VTK library (as long as you do not need the visualization part). You can find a preliminary recipe for the Point Cloud Library at https://github.com/bulwahn/meta-ros/commit/2c1fb8dbc46f8bc3f3fe58fbdfb7b2c8f 244431a Hope this helps. Lukas > -----Ursprüngliche Nachricht----- > Von: openembedded-devel-bounces@lists.openembedded.org > [mailto:openembedded-devel-bounces@lists.openembedded.org] Im > Auftrag von Anup Kini > Gesendet: Montag, 16. September 2013 12:58 > An: openembedded-devel@lists.openembedded.org > Betreff: [oe] using deb as source while building image. > > 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. > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: using deb as source while building image. 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 0 siblings, 2 replies; 6+ messages in thread From: Anup Kini @ 2013-09-16 12:32 UTC (permalink / raw) To: openembedded-devel Hi Lukas, I have included meta-ros and was able to successfully build it. Thank You for the meta-ros layer. I am trying to understand how deb packages can be used to build the image. Since, i need to install a few pre-built application. let me know if you have any pointers on how to proceed with this. On 16 September 2013 13:49, Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>wrote: > Hello Anup, > > if you are trying to compile the Point Cloud Library for the ZYNQ board, > you > do not require the VTK library (as long as you do not need the > visualization > part). > You can find a preliminary recipe for the Point Cloud Library at > > > https://github.com/bulwahn/meta-ros/commit/2c1fb8dbc46f8bc3f3fe58fbdfb7b2c8f > 244431a > > Hope this helps. > > Lukas > > > -----Ursprüngliche Nachricht----- > > Von: openembedded-devel-bounces@lists.openembedded.org > > [mailto:openembedded-devel-bounces@lists.openembedded.org] Im > > Auftrag von Anup Kini > > Gesendet: Montag, 16. September 2013 12:58 > > An: openembedded-devel@lists.openembedded.org > > Betreff: [oe] using deb as source while building image. > > > > 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. > > _______________________________________________ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- *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
* Re: using deb as source while building image. 2013-09-16 12:32 ` Anup Kini @ 2013-09-16 19:12 ` Paul Barker 2013-09-17 5:00 ` Lukas Bulwahn 1 sibling, 0 replies; 6+ messages in thread From: Paul Barker @ 2013-09-16 19:12 UTC (permalink / raw) To: Openembedded Discussion On 16 September 2013 13:32, Anup Kini <akini@synapticon.com> wrote: > I am trying to understand how deb packages can be used to build the image. > Since, i need to install a few pre-built application. > let me know if you have any pointers on how to proceed with this. > Packages pre-built for another distribution generally won't work as intended within an OpenEmbedded/Yocto system. Just as you wouldn't install a Ubuntu package on a RHEL system, you shouldn't install a Ubuntu package on an OpenEmbedded based system. What's the exact software you need? You could use the recipe search on layers.openembedded.org to see if a recipe already exists for the software you need, if it doesn't then it's usually not too difficult to write your own recipe. -- Paul Barker Email: paul@paulbarker.me.uk http://www.paulbarker.me.uk ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: using deb as source while building image. 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 1 sibling, 1 reply; 6+ messages in thread From: Lukas Bulwahn @ 2013-09-17 5:00 UTC (permalink / raw) To: openembedded-devel On 09/16/2013 02:32 PM, Anup Kini wrote: > I am trying to understand how deb packages can be used to build the image. > Since, i need to install a few pre-built application. > let me know if you have any pointers on how to proceed with this. > > If you have the source code available, I believe it is much easier to write a proper recipe than to use a prebuilt binary, which you do not know the exact compiler flags, which libraries you need to dynamically link to, etc. However, maybe someone on the mailing list has already some experience trying to integrate prebuilt binaries into the images. Lukas ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: using deb as source while building image. 2013-09-17 5:00 ` Lukas Bulwahn @ 2013-09-17 5:40 ` Mike Looijmans 0 siblings, 0 replies; 6+ messages in thread From: Mike Looijmans @ 2013-09-17 5:40 UTC (permalink / raw) To: openembedded-devel On 09/17/2013 07:00 AM, Lukas Bulwahn wrote: > On 09/16/2013 02:32 PM, Anup Kini wrote: >> I am trying to understand how deb packages can be used to build the >> image. >> Since, i need to install a few pre-built application. >> let me know if you have any pointers on how to proceed with this. >> > If you have the source code available, I believe it is much easier to > write a proper recipe than to use a prebuilt binary, which you do not > know the exact compiler flags, which libraries you need to dynamically > link to, etc. > > However, maybe someone on the mailing list has already some experience > trying to integrate prebuilt binaries into the images. Yes, in some occasions going as far as writing a recipe for unpacking it and then re-pack it into an ipk (or whatever OE was set to do). It's a recipe for disaster. Don't do it. Get source code, and if that isn't possible, find or write an alternative. Mike. Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) – (0)499 - 33.69.79 Telefax: (+31) - (0)499 - 33.69.70 E-mail: mike.looijmans@topic.nl Website: www.topic.nl Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot een derde instaan. Indien u als niet-geadresseerde dit bericht en de bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit bericht namens de geadresseerde te ontvangen, wordt u verzocht de afzender hierover direct te informeren en het e-mail bericht met de bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail bericht, waaronder de daarbij behorende bijlagen, door een ander dan de geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het e-mail bericht of de bijlagen voorkomende andere personen. TOPIC Embedded Systems is niet aansprakelijk voor enigerlei schade voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of de daarbij behorende bijlagen. The contents of this message, as well as any enclosures, are addressed personally to, and thus solely intended for the addressee. They may contain information regarding a third party. A recipient who is neither the addressee, nor empowered to receive this message on behalf of the addressee, is kindly requested to immediately inform the sender of receipt, and to destroy the message and the enclosures. Any use of the contents of this message and/or the enclosures by any other person than the addressee or person who is empowered to receive this message, is illegal towards the sender and/or the aforementioned third party. TOPIC Embedded Systems is not liable for any damage as a result of the use and/or acceptance of this message and as well as any enclosures. ^ 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.