mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* Re: [ptxdist] You need $$ for make and quotes (') for the shell:
       [not found] <CAP+MAyxrbaGnfgwHRmoyNzQFn8HPxctj-5weOEOzDBTfQPViqw@mail.gmail.com>
@ 2014-06-23 15:16 ` Michael Olbrich
  2014-07-01  9:45   ` marc doz
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Olbrich @ 2014-06-23 15:16 UTC (permalink / raw)
  To: ptxdist

Hi,

always reply to the list please.

On Mon, Jun 23, 2014 at 04:22:48PM +0200, marc doz wrote:
> Thank you for you help
> 
> I aleady try this solution :
> @$(call install_copy, foo, 0, 0, 0755, '$(FOO_DIR)/AAA/foo$$1.bar' ,
> '/AAA/foo$$1.bar')

> 
> 
> No suitable file '/AAA/foo.bar' could be found in any of these locations:
> /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar.phyFLEX-i.MX6
> /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar
> 
> install file:
>   src=BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar
>   dst=/AAA/foo.bar
>   owner=0
>   group=0
>   permissions=0755
> 
> I will see this week if i can avoid this limitation of update install_copy

Sorry, I only tested install_alternative, and it works there. For
install_copy this should should do:

@$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo\$$1.bar, /foo\$$1.bar)

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

* Re: [ptxdist] You need $$ for make and quotes (') for the shell:
  2014-06-23 15:16 ` [ptxdist] You need $$ for make and quotes (') for the shell: Michael Olbrich
@ 2014-07-01  9:45   ` marc doz
  0 siblings, 0 replies; 2+ messages in thread
From: marc doz @ 2014-07-01  9:45 UTC (permalink / raw)
  To: ptxdist


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

2014-06-23 17:16 GMT+02:00 Michael Olbrich <m.olbrich@pengutronix.de>:

> Hi,
>
> always reply to the list please.
>
> On Mon, Jun 23, 2014 at 04:22:48PM +0200, marc doz wrote:
> > Thank you for you help
> >
> > I aleady try this solution :
> > @$(call install_copy, foo, 0, 0, 0755, '$(FOO_DIR)/AAA/foo$$1.bar' ,
> > '/AAA/foo$$1.bar')
>
> >
> >
> > No suitable file '/AAA/foo.bar' could be found in any of these locations:
> >
> /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar.phyFLEX-i.MX6
> > /home/mdoz/BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar
> >
> > install file:
> >   src=BSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.bar
> >   dst=/AAA/foo.bar
> >   owner=0
> >   group=0
> >   permissions=0755
> >
> > I will see this week if i can avoid this limitation of update
> install_copy
>
> Sorry, I only tested install_alternative, and it works there. For
> install_copy this should should do:
>
> @$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo\$$1.bar,
> /foo\$$1.bar)
>
> 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
>


Hello,

I confirm that the following line works

@$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo\$$1.bar,
/foo\$$1.bar)

I have got only one error message during the file system creation :

Creating root.ext2 from working dir...chmod: cannot access `./AAA/foo.bar':
No such file or directory
chown: cannot access `./AAA/foo.bar': No such file or directory

It 's not blocking for me

Thank you for your help
kind regards

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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-07-01  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAP+MAyxrbaGnfgwHRmoyNzQFn8HPxctj-5weOEOzDBTfQPViqw@mail.gmail.com>
2014-06-23 15:16 ` [ptxdist] You need $$ for make and quotes (') for the shell: Michael Olbrich
2014-07-01  9:45   ` marc doz

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