mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz
@ 2014-02-28 12:26 Matthias Klein
  2014-02-28 13:21 ` Jon Ringle
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Klein @ 2014-02-28 12:26 UTC (permalink / raw)
  To: ptxdist


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

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
>

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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz
  2014-02-28 12:26 [ptxdist] PTXdist 2014.02.0: problem with root.tgz Matthias Klein
@ 2014-02-28 13:21 ` Jon Ringle
  2014-02-28 13:33   ` Matthias Klein
  0 siblings, 1 reply; 5+ messages in thread
From: Jon Ringle @ 2014-02-28 13:21 UTC (permalink / raw)
  To: ptxdist, Matthias Klein

On Fri, Feb 28, 2014 at 7:26 AM, Matthias Klein
<matthias.klein@optimeas.de> 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

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

* Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz
  2014-02-28 13:21 ` Jon Ringle
@ 2014-02-28 13:33   ` Matthias Klein
  0 siblings, 0 replies; 5+ messages in thread
From: Matthias Klein @ 2014-02-28 13:33 UTC (permalink / raw)
  To: Jon Ringle, ptxdist

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" <jon@ringle.org>
An: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>; "Matthias Klein" 
<matthias.klein@optimeas.de>
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
><matthias.klein@optimeas.de> 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

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

* Re: [ptxdist] PTXdist 2014.02.0: problem with root.tgz
  2014-02-27 22:08 ` [ptxdist] PTXdist 2014.02.0: problem with root.tgz Matthias Klein
@ 2014-02-27 22:40   ` Alexander Aring
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Aring @ 2014-02-27 22:40 UTC (permalink / raw)
  To: ptxdist, 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

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

* [ptxdist] PTXdist 2014.02.0: problem with root.tgz
  2014-02-25 12:04 [ptxdist] [ANNOUNCE] PTXdist 2014.02.0 released Michael Olbrich
@ 2014-02-27 22:08 ` Matthias Klein
  2014-02-27 22:40   ` Alexander Aring
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Klein @ 2014-02-27 22:08 UTC (permalink / raw)
  To: ptxdist


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

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)


Best regards,
Matthias

------ Originalnachricht ------
Von: "Michael Olbrich" <m.olbrich@pengutronix.de>
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 
>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 
>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 
>${PTXCONF_PROJECT_DEVMIRROR}
>       git: use git remote rm for backward compatibility
>       ptxd_make_get.sh: handle ssh://*.git
>       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 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 
>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 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 
>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 
>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 |

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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-02-28 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-28 12:26 [ptxdist] PTXdist 2014.02.0: problem with root.tgz Matthias Klein
2014-02-28 13:21 ` Jon Ringle
2014-02-28 13:33   ` Matthias Klein
  -- strict thread matches above, loose matches on Subject: below --
2014-02-25 12:04 [ptxdist] [ANNOUNCE] PTXdist 2014.02.0 released Michael Olbrich
2014-02-27 22:08 ` [ptxdist] PTXdist 2014.02.0: problem with root.tgz Matthias Klein
2014-02-27 22:40   ` Alexander Aring

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