From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1X1udV-0000K0-1y for ptxdist@pengutronix.de; Tue, 01 Jul 2014 11:46:20 +0200 Received: by mail-wg0-f49.google.com with SMTP id y10so9330575wgg.8 for ; Tue, 01 Jul 2014 02:45:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140623151643.GF21175@pengutronix.de> References: <20140623151643.GF21175@pengutronix.de> Date: Tue, 1 Jul 2014 11:45:51 +0200 Message-ID: From: marc doz Subject: Re: [ptxdist] You need $$ for make and quotes (') for the shell: Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0196353918==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0196353918== Content-Type: multipart/alternative; boundary=e89a8f2355812bc01104fd1ea4cf --e89a8f2355812bc01104fd1ea4cf Content-Type: text/plain; charset=UTF-8 2014-06-23 17:16 GMT+02:00 Michael Olbrich : > 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 --e89a8f2355812bc01104fd1ea4cf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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&= #39; ,
> '/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:
> =C2=A0 src=3DBSP/platform-phyFLEX-i.MX6/build-target/foo-0.1/AAA/foo.b= ar
> =C2=A0 dst=3D/AAA/foo.bar
> =C2=A0 owner=3D0
> =C2=A0 group=3D0
> =C2=A0 permissions=3D0755
>
> 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. F= or
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. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
Industrial Linux Solutions =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 |
http://w= ww.pengutronix.de/ =C2=A0|
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 =C2=A0 =C2=A0|<= br> Amtsgericht Hildesheim, HRA 2686 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Fax: = =C2=A0 += 49-5121-206917-5555 |

--
ptxdist mailing list
ptxdist@pengutronix.de


Hello,

I confirm that the f= ollowing line works

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

I have got only one error me= ssage during the file system creation :

Creating root.ext2 from working dir...chmod: cannot access `./AAA/foo.b= ar': No such file or directory
chown: cannot access `./AAA/foo.bar&#= 39;: No such file or directory

It 's not blocking for me

Thank you for your help
kind regards
--e89a8f2355812bc01104fd1ea4cf-- --===============0196353918== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0196353918==--