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 0c30fd38e32126e6b1624a4acdc4a1efcd88c09c)
 
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 warnings 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.tgz'
/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" <alex.aring@gmail.com>
An: ptxdist@pengutronix.de; "Matthias Klein" <matthias.klein@optimeas.de>
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
 
[1] http://lists.busybox.net/pipermail/busybox/2010-September/073298.html