mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Extract a list of all packages
@ 2014-01-30 11:24 Bernhard Bender
  2014-01-30 11:40 ` Juergen Beisert
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Bender @ 2014-01-30 11:24 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1277 bytes --]

Hello all,

I would like to extract a list of all packages configured for my project from ptxdist. How cam I do this?
The list should include the package name, version and URL, if possible.

Thanks for any hinst.

Bernhard Bender
Entwicklung

Bytec Medizintechnik GmbH
Hermann-Hollerith-Str. 11
52249 Eschweiler, Germany
Tel. +49 (2403) 7829-943
www.bytecmed.com<http://www.bytecmed.com>

Handelsregister Aachen: HRB 11222
Ust-ID: DE 121732719
Geschäftsführer: Dipl.-Ing. Paul Willi Coenen



________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender unter info@bytecmed.com und löschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution of reproduction of this message is prohibited. If you have received this message in error please notify info@bytecmed.com immediately.

[-- Attachment #1.2: Type: text/html, Size: 4672 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Extract a list of all packages
  2014-01-30 11:24 [ptxdist] Extract a list of all packages Bernhard Bender
@ 2014-01-30 11:40 ` Juergen Beisert
  2014-01-30 13:58   ` Bernhard Bender
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Beisert @ 2014-01-30 11:40 UTC (permalink / raw)
  To: ptxdist

Hi Bernhard,

On Thursday 30 January 2014 12:24:09 Bernhard Bender wrote:
> I would like to extract a list of all packages configured for my project
> from ptxdist. How cam I do this? The list should include the package name,
> version and URL, if possible.

The list of all enabled packages:

$ ptxdist print PACKAGES-y

The required archives can be extracted:

$ ptxdist export_src <dir>

For the corresponding URL I think you will need a script which queries each 
package's URL one by one.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Extract a list of all packages
  2014-01-30 11:40 ` Juergen Beisert
@ 2014-01-30 13:58   ` Bernhard Bender
  2014-01-30 19:31     ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Bender @ 2014-01-30 13:58 UTC (permalink / raw)
  To: ptxdist

Hi Juergen,


Von: Juergen Beisert [mailto:jbe@pengutronix.de]
Gesendet: Donnerstag, 30. Januar 2014 12:41

> $ ptxdist print PACKAGES-y
> For the corresponding URL I think you will need a script which queries each package's URL one by one.

That’s fine, thank you.

Is it possible to run a script with all the make variable visible in the environment? Running ptxdist print again for each var ist extremely slow..


Thx
Bernhard


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender unter info@bytecmed.com und löschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution of reproduction of this message is prohibited. If you have received this message in error please notify info@bytecmed.com  immediately.
-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Extract a list of all packages
  2014-01-30 13:58   ` Bernhard Bender
@ 2014-01-30 19:31     ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2014-01-30 19:31 UTC (permalink / raw)
  To: ptxdist

Hi,

On Thu, Jan 30, 2014 at 02:58:11PM +0100, Bernhard Bender wrote:
> Von: Juergen Beisert [mailto:jbe@pengutronix.de]
> Gesendet: Donnerstag, 30. Januar 2014 12:41
> 
> > $ ptxdist print PACKAGES-y
> > For the corresponding URL I think you will need a script which queries each package's URL one by one.
> 
> That’s fine, thank you.

Actually, correct is:
$ ptxdist print PACKAGES

There are also HOST_PACKAGES, CROSS_PACKAGES and LAZY_PACKAGES

> Is it possible to run a script with all the make variable visible in the
> environment? Running ptxdist print again for each var ist extremely slow..

If its just a few, then you can print them all at once:

$ ptxdist print-PACKAGES print-HOST_PACKAGES print-CROSS_PACKAGES print-LAZY_PACKAGES

It's not nice, because you need to count the lines.

If you're working in a specific BSP, you can also define a custom make
target in BSP/rules/post/<something>.make, do your stuff there and call it
with "ptxdist make <whatever>"

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-01-30 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-30 11:24 [ptxdist] Extract a list of all packages Bernhard Bender
2014-01-30 11:40 ` Juergen Beisert
2014-01-30 13:58   ` Bernhard Bender
2014-01-30 19:31     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox