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==-- 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 1WJ982-0007u3-22 for ptxdist@pengutronix.de; Thu, 27 Feb 2014 23:08:36 +0100 Received: from [127.0.0.1] (p508A6EE4.dip0.t-ipconnect.de [80.138.110.228]) by optimeas.de (Postfix) with ESMTPSA id 3EB7B4207A5C for ; Thu, 27 Feb 2014 23:08:24 +0100 (CET) From: "Matthias Klein" Date: Thu, 27 Feb 2014 22:08:24 +0000 In-Reply-To: <20140225120441.GA17120@pengutronix.de> Message-Id: Mime-Version: 1.0 Subject: [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="===============1020141815==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1020141815== Content-Type: multipart/alternative; boundary="------=_MBF8087FBA-F2C9-4B34-8AD1-8BEBBE71C64D" --------=_MBF8087FBA-F2C9-4B34-8AD1-8BEBBE71C64D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; format=flowed; charset=utf-8 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=20 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) Best regards, Matthias ------ Originalnachricht ------ Von: "Michael Olbrich" An: ptxdist@pengutronix.de Gesendet: 25.02.2014 13:04:41 Betreff: [ptxdist] [ANNOUNCE] PTXdist 2014.02.0 released >Hi, > >I'm happy to announce that I've just released ptxdist-2014.02.0. >Lots of changes this this time. Several new packages and a lot of=20 >version >updates. And some work on prebuild packages. > >Thanks to all contributors and - as always - the shortlog below. > >Enjoy, >Michael Olbrich > >Alexander Aring (10): > inetutils: add missing depends on !BUSYBOX_TFTPD > gnutls: add support for openssl compatibility > wireshark: fix juergen beiserts mail address > libbsd: add new package > libpcap: version bump to 1.4.0 > wireshark: rework and update to wireshark 1.8.7 > iputils: add new package iputils > netcat: remove current version > netcat: add new package > iputils: add missing dependencies for busybox on menuentries > >Alexander Dahl (6): > host-perl: add modules JSON and Locale::PO > dropbear: upgrade to 2013.60 > monit: add new package > libmodbus3: upgrade to v3.0.5 and adapt download URL > logrotate: upgrade to 3.8.7 > lighttpd: upgrade to 1.4.34 > >Bernhard Sessler (8): > cxxtools: Add new package > tntnet: Add new package > cppunit: version bump 1.12.1 -> 1.13.2 > cxxtools: Add host package > tntnet: Add host package > cxxtools: Add missing libs to install target > tntnet: Add component lib and config to install target > tntnet: Fix installation of tntnet component lib > >Bruno Thomsen (3): > lighttpd: version bump 1.4.32 -> 1.4.33 > php: version bump 5.3.10 -> 5.4.24 > lighttpd: zlib and bz2lib support options was not shown when=20 >selecting mod_compress > >Jean-Claude Monnin (1): > boost: version bump 1.51.0 -> 1.55.0 > >Jon Ringle (6): > image: Create root.tgz with label > pv: version bump 1.1.4 -> 1.4.12 > ptxdist getdev: Download dev packages from=20 >${PTXCONF_PROJECT_DEVMIRROR} > git: use git remote rm for backward compatibility > ptxd_make_get.sh: handle ssh://*.git > ptxd_lib_dgen: don't dereference _DEVPKG twice > >Juergen Beisert (17): > udev: standalone variant fails to build with newer toolchains > Kernel: never provide a development prebuild package > QT4/pre-build: installing the examples needs the source tree > Mono/pre-build: targetinstall needs access to the source tree > bluez/pre-build: installing the test scripts needs the source=20 >tree > PTXdist: be more helpful using the pre-build archive feature > opkg: clean up rule file > opkg: do not grab files from the build directory > Barebox: we have the year 2014, reflect this in the default value > Toolchain/gdb: we have the year 2014, reflect this in the default= =20 >values > TCL: version bump 8.5.7 -> 8.5.15 > PTXdist: fix a typo in the macro documentation > libdbus-cxx: Remove outdated package > TCL: do not use host paths for header files and libraries > mysql: move to staging > PPP: fix config variable to do the right thing > PPP: another package which needs the Linux kernel version > >Lucas Stach (1): > libdrm: version bump 2.4.46 -> 2.4.52 > >Marc Kleine-Budde (3): > berlios-can-utils: version bump to 2014.01.0 > iproute2: don't pass standard configure options > rt-set-bandwidth: fix restoration of original value during stop > >Markus Pargmann (1): > rules/dtc: Add include of KERNEL_DIR/include > >Michael Olbrich (76): > fontconfig: version bump 2.6.0 -> 2.11.0 > freetype: version bump 2.3.11 -> 2.5.2 > dnsmasq: add systemd unit > rc-once: finish before system-update.target > xorg-lib-xft: fix building with freetype 2.5.2 > splashutils: move to staging > python-imaging: fix building with FreeType 2.5.1 > glib: version bump 2.36.4 -> 2.38.2 > openssl: version bump 1.0.0k -> 1.0.1f > busybox: version bump 1.21.0 -> 1.22.0 > coreutils: version bump 8.19 -> 8.22 > dbus: version bump 1.6.10 -> 1.6.18 > util-linux-ng: version bump 2.23.1 -> 2.24 > openssh: version bump 5.8p2 -> 6.4p1 > kconfig: update to v3.13 > binutils: add upstream patch to fix installing libiberty > util-linux-ng: don't forget the patches > ptxd_make_world_clean: ignore missing directories > ptxd_lib_dgen.awk: cleanup alignment > libdrm: kmstest and modetest are only available if libkms is=20 >enabled > template: barebox: add wrapper blacklist > template: kernel: add wrapper blacklist > mesalib: version bump 9.2.0 -> 10.0.2 > ptxd_make_get: cleanup > ptxd_make_world_get: setup variables are alwasys set > setup: always define mirrors > setup: allow whitelisting URLs when 'only use PTXdist Mirror' is= =20 >enabled > ptxd_make_get: make it more generic > barebox: use images/barebox-*.img as images > sqlite: version bump 3.8.1.0 -> 3.8.2.0 > trace-cmd: version bump 1.0.5 -> 2.3.1 > poco: version bump 1.4.4 -> 1.4.6p2 > sqlite: switch pack to autoconf sources > poco: don't forget the patches > boost: remove old obsolete patches > libpcap: version bump 1.4.0 -> 1.5.3 > wireshark: version bump 1.8.7 -> 1.10.5 > ifplugd: move comment to fix menu > mesalib: readd autogen.sh > host-mesalib: cleanup > host-glib: remove obsolete configure option > host-python: update configure options > host-dbus-glib: remove obsolete configure option > trace-cmd: fix md5sum > host-python3: update configure options > host-xorg-lib-x11: cleanup configure options > wireshark: cleanup configure options > host-util-linux-ng :cleanup configure options > libpcap: no rpath for '${SYSROOT}/usr/lib' > tcpdump: version bump 4.1.1 -> 4.5.1 > openssl: always build shared libraries > rt-tests: add patch for missing dependencies > opkg-utils: make package readable by dpkg again > myodbc: move to staging > php5: depend on staging for mysql support > myodbc: fix typo > python: add patch to make sure fakeroot works correctly > python3: add patch to make sure fakeroot works correctly > rtmpdump: add missing dependencies > libsoup: add missing dependency > shiboken: add missing dependency > Kconfig: fix 'module' handling > freeglut: add missing dependency > xorg-server: enable the Xorg server by default > iputils: only build the selected tools > dtc: abort when trying to generate a dtb without dts > dtc: move temporary device tree to statedir > libbsd: fix building with a 'md5.h' in sysroot-target/usr/include > tslib: version bump 1.0 -> 1.1 > gstreamer1: version bump 1.2.1 -> 1.2.3 > gst-plugins-base1: version bump 1.2.1 -> 1.2.3 > gst-plugins-good1: version bump 1.2.1 -> 1.2.3 > gst-plugins-bad1: version bump 1.2.1 -> 1.2.3 > gst-plugins-ugly1: version bump 1.2.1 -> 1.2.3 > ptxd_make_image_genimage: actually use loop variable > dtc: fix dtb dependency handling > >Robert Schwebel (10): > libkmod: version bump 13 -> 16 > e2fsprogs: version bump 1.42.7 -> 1.42.9 > attr: version bump 2.4.46 -> 2.4.47 > bzip2: version bump 1.0.5 -> 1.0.6 > opkg: version bump 0.1.8 -> 0.2.0 > host-opkg-utils: version bump > chrony: version bump 1.24-pre2 -> 1.29 > chrony: remove duplicate targetinstall for chrony_command > inetutils: version bump 1.6 -> 1.9.2 > attr: re-add patches after version bump to 2.4.47 > >Thomas Wismer (1): > networking: fixed nfsroot handling in init script > >-- >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=20| --------=_MBF8087FBA-F2C9-4B34-8AD1-8BEBBE71C64D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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 PTXdis= t 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)
 
 
Best regards,
Matthias
 
------ Originalnachricht ------
Von: "Michael Olbrich" <m.olbrich@pengutronix.de>
Gesendet: 25.02.2014 13:04:41
Betreff: [ptxdist] [ANNOUNCE] PTXdist 2014.02.0 released
Hi,
 
I'm happy to announce that I've just released ptxdist-2014.02.0.
Lots of changes this this time. Several new packages and a lot of vers= ion
updates. And some work on prebuild packages.
 
Thanks to all contributors and - as always - the shortlog below.
 
Enjoy,
Michael Olbrich
 
Alexander Aring (10):
      inetutils: add missing depends = on !BUSYBOX_TFTPD
      gnutls: add support for openssl= compatibility
      wireshark: fix juergen beiserts= mail address
      libbsd: add new package
      libpcap: version bump to 1.4.0 =
      wireshark: rework and update to= wireshark 1.8.7
      iputils: add new package iputils=
      netcat: remove current version =
      netcat: add new package
      iputils: add missing dependencies= for busybox on menuentries
 
Alexander Dahl (6):
      host-perl: add modules JSON and= Locale::PO
      dropbear: upgrade to 2013.60
      monit: add new package
      libmodbus3: upgrade to v3.0.5 and= adapt download URL
      logrotate: upgrade to 3.8.7
      lighttpd: upgrade to 1.4.34
 
Bernhard Sessler (8):
      cxxtools: Add new package
      tntnet: Add new package
      cppunit: version bump 1.12.1 ->= 1.13.2
      cxxtools: Add host package
      tntnet: Add host package
      cxxtools: Add missing libs to inst= all target
      tntnet: Add component lib and conf= ig to install target
      tntnet: Fix installation of tntnet= component lib
 
Bruno Thomsen (3):
      lighttpd: version bump 1.4.32 ->= ; 1.4.33
      php: version bump 5.3.10 -> = 5.4.24
      lighttpd: zlib and bz2lib support= options was not shown when selecting mod_compress
 
Jean-Claude Monnin (1):
      boost: version bump 1.51.0 ->= 1.55.0
 
Jon Ringle (6):
      image: Create root.tgz with label=
      pv: version bump 1.1.4 -> 1.4.1= 2
      ptxdist getdev: Download dev packa= ges from ${PTXCONF_PROJECT_DEVMIRROR}
      git: use git remote rm for backwar= d compatibility
      ptxd_make_get.sh: handle ssh://*.g= it
      ptxd_lib_dgen: don't dereference= <PKG>_DEVPKG twice
 
Juergen Beisert (17):
      udev: standalone variant fails = to build with newer toolchains
      Kernel: never provide a developmen= t prebuild package
      QT4/pre-build: installing the exam= ples needs the source tree
      Mono/pre-build: targetinstall need= s access to the source tree
      bluez/pre-build: installing the= test scripts needs the source tree
      PTXdist: be more helpful using = the pre-build archive feature
      opkg: clean up rule file
      opkg: do not grab files from the= build directory
      Barebox: we have the year 2014,= reflect this in the default value
      Toolchain/gdb: we have the year= 2014, reflect this in the default values
      TCL: version bump 8.5.7 -> 8.5.= 15
      PTXdist: fix a typo in the macro= documentation
      libdbus-cxx: Remove outdated packa= ge
      TCL: do not use host paths for = header files and libraries
      mysql: move to staging
      PPP: fix config variable to do = the right thing
      PPP: another package which needs= the Linux kernel version
 
Lucas Stach (1):
      libdrm: version bump 2.4.46 ->= 2.4.52
 
Marc Kleine-Budde (3):
      berlios-can-utils: version bump= to 2014.01.0
      iproute2: don't pass standard conf= igure options
      rt-set-bandwidth: fix restoration= of original value during stop
 
Markus Pargmann (1):
      rules/dtc: Add include of KERNEL_D= IR/include
 
Michael Olbrich (76):
      fontconfig: version bump 2.6.0 = -> 2.11.0
      freetype: version bump 2.3.11 ->= ; 2.5.2
      dnsmasq: add systemd unit
      rc-once: finish before system-upda= te.target
      xorg-lib-xft: fix building with= freetype 2.5.2
      splashutils: move to staging
      python-imaging: fix building with= FreeType 2.5.1
      glib: version bump 2.36.4 ->= 2.38.2
      openssl: version bump 1.0.0k ->= 1.0.1f
      busybox: version bump 1.21.0 ->= 1.22.0
      coreutils: version bump 8.19 ->= 8.22
      dbus: version bump 1.6.10 ->= 1.6.18
      util-linux-ng: version bump 2.23.1= -> 2.24
      openssh: version bump 5.8p2 ->= 6.4p1
      kconfig: update to v3.13
      binutils: add upstream patch to= fix installing libiberty
      util-linux-ng: don't forget the= patches
      ptxd_make_world_clean: ignore miss= ing directories
      ptxd_lib_dgen.awk: cleanup alignme= nt
      libdrm: kmstest and modetest are= only available if libkms is enabled
      template: barebox: add wrapper = blacklist
      template: kernel: add wrapper blac= klist
      mesalib: version bump 9.2.0 ->= 10.0.2
      ptxd_make_get: cleanup
      ptxd_make_world_get: setup variabl= es are alwasys set
      setup: always define mirrors
      setup: allow whitelisting URLs = when 'only use PTXdist Mirror' is enabled
      ptxd_make_get: make it more generi= c
      barebox: use images/barebox-*.img= as images
      sqlite: version bump 3.8.1.0 ->= 3.8.2.0
      trace-cmd: version bump 1.0.5 ->= ; 2.3.1
      poco: version bump 1.4.4 -> = 1.4.6p2
      sqlite: switch pack to autoconf= sources
      poco: don't forget the patches =
      boost: remove old obsolete patches=
      libpcap: version bump 1.4.0 ->= 1.5.3
      wireshark: version bump 1.8.7 ->= ; 1.10.5
      ifplugd: move comment to fix menu=
      mesalib: readd autogen.sh
      host-mesalib: cleanup
      host-glib: remove obsolete configu= re option
      host-python: update configure opti= ons
      host-dbus-glib: remove obsolete= configure option
      trace-cmd: fix md5sum
      host-python3: update configure = options
      host-xorg-lib-x11: cleanup configu= re options
      wireshark: cleanup configure optio= ns
      host-util-linux-ng :cleanup config= ure options
      libpcap: no rpath for '${SYSROOT}/= usr/lib'
      tcpdump: version bump 4.1.1 ->= 4.5.1
      openssl: always build shared libra= ries
      rt-tests: add patch for missing= dependencies
      opkg-utils: make package readable= by dpkg again
      myodbc: move to staging
      php5: depend on staging for mysql= support
      myodbc: fix typo
      python: add patch to make sure = fakeroot works correctly
      python3: add patch to make sure= fakeroot works correctly
      rtmpdump: add missing dependencies=
      libsoup: add missing dependency=
      shiboken: add missing dependency=
      Kconfig: fix 'module' handling =
      freeglut: add missing dependency=
      xorg-server: enable the Xorg serve= r by default
      iputils: only build the selected= tools
      dtc: abort when trying to generate= a dtb without dts
      dtc: move temporary device tree= to statedir
      libbsd: fix building with a 'md5.h= ' in sysroot-target/usr/include
      tslib: version bump 1.0 -> 1.1=
      gstreamer1: version bump 1.2.1 = -> 1.2.3
      gst-plugins-base1: version bump= 1.2.1 -> 1.2.3
      gst-plugins-good1: version bump= 1.2.1 -> 1.2.3
      gst-plugins-bad1: version bump = 1.2.1 -> 1.2.3
      gst-plugins-ugly1: version bump= 1.2.1 -> 1.2.3
      ptxd_make_image_genimage: actually= use loop variable
      dtc: fix dtb dependency handling=
 
Robert Schwebel (10):
      libkmod: version bump 13 -> = 16
      e2fsprogs: version bump 1.42.7 = -> 1.42.9
      attr: version bump 2.4.46 ->= 2.4.47
      bzip2: version bump 1.0.5 ->= 1.0.6
      opkg: version bump 0.1.8 -> = 0.2.0
--------=_MBF8087FBA-F2C9-4B34-8AD1-8BEBBE71C64D-- --===============1020141815== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1020141815==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WJ9RL-0000rA-Dc for ptxdist@pengutronix.de; Thu, 27 Feb 2014 23:28:27 +0100 Received: by mail-ea0-f175.google.com with SMTP id z10so2199938ead.34 for ; Thu, 27 Feb 2014 14:28:21 -0800 (PST) Date: Thu, 27 Feb 2014 23:40:17 +0100 From: Alexander Aring Message-ID: <20140227224016.GA7991@x61s.Speedport_W_921V_1_24_000> References: <20140225120441.GA17120@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de, Matthias Klein 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 -- ptxdist mailing list ptxdist@pengutronix.de From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WJNNv-0004DK-7T for ptxdist@pengutronix.de; Fri, 28 Feb 2014 14:21:51 +0100 Received: by mail-la0-f44.google.com with SMTP id hr13so2711494lab.3 for ; Fri, 28 Feb 2014 05:21:45 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 28 Feb 2014 08:21:45 -0500 Message-ID: From: Jon Ringle Subject: Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" , Matthias Klein On Fri, Feb 28, 2014 at 7:26 AM, Matthias Klein wrote: > 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? I think if you create the rule in '/home/user/bsp/rules/post/image_tgz.make' you will override it in the correct order. -- ptxdist mailing list ptxdist@pengutronix.de 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 1WJNZ3-00051X-08 for ptxdist@pengutronix.de; Fri, 28 Feb 2014 14:33:22 +0100 From: "Matthias Klein" Date: Fri, 28 Feb 2014 13:33:16 +0000 In-Reply-To: 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Jon Ringle , "ptxdist@pengutronix.de" Hello Jon, yes, that works. But I still get these warnings: /home/user/bsp/rules/post/image_tgz.make:15: warning: overriding commands for target `/home/user/bsp/platform-bsp/images/root.tgz' /usr/local/lib/ptxdist-2014.02.0/rules/post/image_tgz.make:15: warning: ignoring old commands for target `/home/user/bsp/platform-bsp/images/root.tgz' Best regards, Matthias ------ Originalnachricht ------ Von: "Jon Ringle" An: "ptxdist@pengutronix.de" ; "Matthias Klein" Gesendet: 28.02.2014 14:21:45 Betreff: Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz >On Fri, Feb 28, 2014 at 7:26 AM, Matthias Klein > wrote: >> 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? > >I think if you create the rule in >'/home/user/bsp/rules/post/image_tgz.make' you will override it in the >correct order. > -- ptxdist mailing list ptxdist@pengutronix.de