From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from optimeas.de ([78.46.18.2]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WJMW7-00010M-7l for ptxdist@pengutronix.de; Fri, 28 Feb 2014 13:26:16 +0100 Received: from [127.0.0.1] (ip-178-202-77-12.unitymediagroup.de [178.202.77.12]) by optimeas.de (Postfix) with ESMTPSA id B63524207A6B for ; Fri, 28 Feb 2014 13:26:09 +0100 (CET) From: "Matthias Klein" Date: Fri, 28 Feb 2014 12:26:10 +0000 Message-Id: Mime-Version: 1.0 Subject: Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz Reply-To: ptxdist@pengutronix.de, Matthias Klein List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2022020562==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============2022020562== Content-Type: multipart/alternative; boundary="------=_MB669F867E-211B-4C36-89CC-72D81FF1FB74" --------=_MB669F867E-211B-4C36-89CC-72D81FF1FB74 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; format=flowed; charset=utf-8 Hello Alex, thank you for the quick response! But my problem is, that I have ptxdist 2014.01.0 based targets in the=20 field which I want to remote update with ther existing busybox tar and=20 the root.tgz file. In the meantime I have found the problem: it is the --label option. (Jon= =20 Ringle: image: Create root.tgz with label=20 0c30fd38e32126e6b1624a4acdc4a1efcd88c09c) I tried to copy the old rules/post/image_tgz.make file into my local=20 rules directory to override the new one, but then I get the following=20 warnings and the new rule inside ptxdist is still used: /usr/local/lib/ptxdist-2014.02.0/rules/post/image_tgz.make:15: warning:=20 overriding commands for target=20 `/home/user/bsp/platform-bsp/images/root.tgz' /home/user/bsp/rules/image_tgz.make:15: warning: ignoring old commands=20 for target `/home/user/bsp/platform-bsp/images/root.tgz' Is there a way to override that rule locally in my bsp? Best regards, Matthias ------ Originalnachricht ------ Von: "Alexander Aring" An: ptxdist@pengutronix.de; "Matthias Klein"=20 Gesendet: 27.02.2014 23:40:17 Betreff: Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz >Hi Matthias, > >On Thu, Feb 27, 2014 at 10:08:24PM +0000, Matthias Klein wrote: >> Hello, >> >> we are using the root.tgz file for our software updates. >> But I can't decompress the root.tgz with the tar (busybox) from=20 >>PTXdist >> 2014.02 on an PTXdist 2014.01.0 target ... >> >> I always get: >> >> tar -xvzf root.tgz -C dest/ >> invalid tar magic >> Does anyone have an idea ? >> (I can decompress the archive on the host, but not on the target) >> >> > >First, I would check the checksum if tgz is the same like on your host >system. > >Second, I googled a little bit... so it seems there are some options to >have backwards compability (depends on your host tar version if you=20 >need >them or not) check out [1]. > >Maybe BUSYBOX_FEATURE_TAR_OLDGNU_COMPATIBILITY is something which you=20 >need. > >- Alex > >[1]=20 >http://lists.busybox.net/pipermail/busybox/2010-September/073298.html > --------=_MB669F867E-211B-4C36-89CC-72D81FF1FB74 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hello Alex,
 
thank you for the quick response!
 
 
But my problem is, that I have ptxdist 2014.01.0 based targets in the= field which I want to remote update with ther existing busybox tar and = the root.tgz file.
 
In the meantime I have found the problem: it is the --label option.= (Jon Ringle: image: Create root.tgz with label 0c30fd38e32126e6b1624a4acdc= 4a1efcd88c09c)
 
I tried to copy the old rules/post/image_tgz.make file into my local= rules directory to override the new one, but then I get the following warn= ings and the new rule inside ptxdist is still used:
 
/usr/local/lib/ptxdist-2014.02.0/rules/post/image_tgz.make:15: warning= : overriding commands for target `/home/user/bsp/platform-bsp/images/root.t= gz'
/home/user/bsp/rules/image_tgz.make:15: warning: ignoring old commands= for target `/home/user/bsp/platform-bsp/images/root.tgz'
 
Is there a way to override that rule locally in my bsp?
 
 
Best regards,
 
Matthias
 
------ Originalnachricht ------
Von: "Alexander Aring" <ale= x.aring@gmail.com>
Gesendet: 27.02.2014 23:40:17
Betreff: Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz
Hi Matthias,
 
On Thu, Feb 27, 2014 at 10:08:24PM +0000, Matthias Klein wrote:
 Hello,
 
 we are using the root.tgz file for our software updates.
 But I can't decompress the root.tgz with the tar (busybox) from= PTXdist
 2014.02 on an PTXdist 2014.01.0 target ...
 
 I always get:
 
 tar -xvzf root.tgz -C dest/
 invalid tar magic
 Does anyone have an idea ?
 (I can decompress the archive on the host, but not on the target= )
 
 
 
First, I would check the checksum if tgz is the same like on your host=
system.
 
Second, I googled a little bit... so it seems there are some options= to
have backwards compability (depends on your host tar version if you= need
them or not) check out [1].
 
Maybe BUSYBOX_FEATURE_TAR_OLDGNU_COMPATIBILITY is something which you= need.
 
- Alex
 
 
--------=_MB669F867E-211B-4C36-89CC-72D81FF1FB74-- --===============2022020562== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============2022020562==--