mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] how to install everything into the ipk?
@ 2014-06-23 17:23 Richard Cochran
  2014-06-24  7:50 ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Cochran @ 2014-06-23 17:23 UTC (permalink / raw)
  To: ptxdist

Dear list,

I have a new and complex application package, and I don't know exactly
what is needed at run time. I know about the 'install_lib|tree|etc'
macros to cherry pick the essential bits, but how can I just include
everything from packages/foo-x.y in order to test the application?

Thanks,
Richard

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] how to install everything into the ipk?
  2014-06-23 17:23 [ptxdist] how to install everything into the ipk? Richard Cochran
@ 2014-06-24  7:50 ` Michael Olbrich
  2014-06-24 10:37   ` Richard Cochran
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2014-06-24  7:50 UTC (permalink / raw)
  To: ptxdist

Hi,

On Mon, Jun 23, 2014 at 07:23:05PM +0200, Richard Cochran wrote:
> I have a new and complex application package, and I don't know exactly
> what is needed at run time. I know about the 'install_lib|tree|etc'
> macros to cherry pick the essential bits, but how can I just include
> everything from packages/foo-x.y in order to test the application?

	@$(call install_tree, mypackage, 0, 0, -, /)

should work.

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] 5+ messages in thread

* Re: [ptxdist] how to install everything into the ipk?
  2014-06-24  7:50 ` Michael Olbrich
@ 2014-06-24 10:37   ` Richard Cochran
  2014-06-24 16:01     ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Cochran @ 2014-06-24 10:37 UTC (permalink / raw)
  To: ptxdist

On Tue, Jun 24, 2014 at 09:50:02AM +0200, Michael Olbrich wrote:
> 
> 	@$(call install_tree, mypackage, 0, 0, -, /)
> 
> should work.

No, it doesn't. (That is why I asked the question in the first place.)
I get the following.

    install_fixup:  @DESCRIPTION@ -> missing ... done.
    xpkg_finish:    collecting license (unknown) ... done.
    xpkg_finish:    creating opkg package ... 
    
    No suitable file '' could be found in any of these locations:
    -.pengutronix-beagleboneti
    -
    
    Error: install_tree failed!
    failed

I guess this is a bug?

Thanks,
Richard

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] how to install everything into the ipk?
  2014-06-24 10:37   ` Richard Cochran
@ 2014-06-24 16:01     ` Michael Olbrich
  2014-06-24 16:53       ` Richard Cochran
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2014-06-24 16:01 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Jun 24, 2014 at 12:37:20PM +0200, Richard Cochran wrote:
> On Tue, Jun 24, 2014 at 09:50:02AM +0200, Michael Olbrich wrote:
> > 
> > 	@$(call install_tree, mypackage, 0, 0, -, /)
> > 
> > should work.
> 
> No, it doesn't. (That is why I asked the question in the first place.)
> I get the following.
> 
>     install_fixup:  @DESCRIPTION@ -> missing ... done.
>     xpkg_finish:    collecting license (unknown) ... done.
>     xpkg_finish:    creating opkg package ... 
>     
>     No suitable file '' could be found in any of these locations:
>     -.pengutronix-beagleboneti
>     -
>     
>     Error: install_tree failed!
>     failed
> 
> I guess this is a bug?

It is, and it's not so easy to fix. This should work as a workaround:

	@$(call install_tree, mypackage, 0, 0, -, /.)

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] 5+ messages in thread

* Re: [ptxdist] how to install everything into the ipk?
  2014-06-24 16:01     ` Michael Olbrich
@ 2014-06-24 16:53       ` Richard Cochran
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Cochran @ 2014-06-24 16:53 UTC (permalink / raw)
  To: ptxdist

On Tue, Jun 24, 2014 at 06:01:42PM +0200, Michael Olbrich wrote:
> It is, and it's not so easy to fix. This should work as a workaround:
> 
> 	@$(call install_tree, mypackage, 0, 0, -, /.)

Fine, if that works, then it is good enough for me.

Thanks,
Richard

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-06-24 16:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-23 17:23 [ptxdist] how to install everything into the ipk? Richard Cochran
2014-06-24  7:50 ` Michael Olbrich
2014-06-24 10:37   ` Richard Cochran
2014-06-24 16:01     ` Michael Olbrich
2014-06-24 16:53       ` Richard Cochran

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