Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jakub Bogusz
On Wed, Sep 12, 2012 at 01:51:26PM +0200, baggins wrote:
 commit c73c505644fa30c3e32a596dbc4aea90cfac0bcc
 Author: Jan Rękorajski bagg...@pld-linux.org
 Date:   Wed Sep 12 13:24:58 2012 +0200
 
 - set binary payload to xzdio (same as lzdio, but uses current xz)

  %_source_payload w9.gzdio
 -%_binary_payload w9.lzdio
 +%_binary_payload w9.xzdio

What is the minimal rpm version that supports xzdio (and what was that
supports lzdio)?

If not the same, there must exist some easy upgrade path.


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jeffrey Johnson

On Sep 12, 2012, at 12:20 PM, Jakub Bogusz wrote:

 On Wed, Sep 12, 2012 at 01:51:26PM +0200, baggins wrote:
 commit c73c505644fa30c3e32a596dbc4aea90cfac0bcc
 Author: Jan Rękorajski bagg...@pld-linux.org
 Date:   Wed Sep 12 13:24:58 2012 +0200
 
- set binary payload to xzdio (same as lzdio, but uses current xz)
 
 %_source_payload w9.gzdio
 -%_binary_payloadw9.lzdio
 +%_binary_payloadw9.xzdio
 
 What is the minimal rpm version that supports xzdio (and what was that
 supports lzdio)?
 

Counting Mandriva backports: rpm-4.4.2.3 (though its a bloody mess in MES5)

 If not the same, there must exist some easy upgrade path.
 

rpm2cpio.sh | cpio -dim

Guaranteed to upgrade and not particularly hard.

73 de Jeff

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jan Rękorajski
On Wed, 12 Sep 2012, Jakub Bogusz wrote:

 On Wed, Sep 12, 2012 at 01:51:26PM +0200, baggins wrote:
  commit c73c505644fa30c3e32a596dbc4aea90cfac0bcc
  Author: Jan Rękorajski bagg...@pld-linux.org
  Date:   Wed Sep 12 13:24:58 2012 +0200
  
  - set binary payload to xzdio (same as lzdio, but uses current xz)
 
   %_source_payload   w9.gzdio
  -%_binary_payload   w9.lzdio
  +%_binary_payload   w9.xzdio
 
 What is the minimal rpm version that supports xzdio (and what was that
 supports lzdio)?

None of our rpm4 supports xzdio, but rpm package by itself is build with
gzdio payload.

 If not the same, there must exist some easy upgrade path.

rpm-*.rpm packages are built with gzdio payload so it should
be possible to upgrade without problems using any rpm version.

-- 
Jan Rękorajski | PLD/Linux
SysAdm | http://www.pld-linux.org/
bagginsatmimuw.edu.pl
bagginsatpld-linux.org
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jeffrey Johnson

On Sep 12, 2012, at 12:37 PM, Jan Rękorajski wrote:

 On Wed, 12 Sep 2012, Jakub Bogusz wrote:
 
 On Wed, Sep 12, 2012 at 01:51:26PM +0200, baggins wrote:
 commit c73c505644fa30c3e32a596dbc4aea90cfac0bcc
 Author: Jan Rękorajski bagg...@pld-linux.org
 Date:   Wed Sep 12 13:24:58 2012 +0200
 
- set binary payload to xzdio (same as lzdio, but uses current xz)
 
 %_source_payloadw9.gzdio
 -%_binary_payload   w9.lzdio
 +%_binary_payload   w9.xzdio
 
 What is the minimal rpm version that supports xzdio (and what was that
 supports lzdio)?
 
 None of our rpm4 supports xzdio, but rpm package by itself is build with
 gzdio payload.
 

The back port isn't impossibly hard. but you want to start with ~rpm-5.1.4 iirc.

 If not the same, there must exist some easy upgrade path.
 
 rpm-*.rpm packages are built with gzdio payload so it should
 be possible to upgrade without problems using any rpm version.
 

Shipping *.src.rpm with anything except ZLIB compression is asking for 
incompatibilities.

Using rpm2cpio (or rpm2cpio.sh) to unpack a *.src.rpm and rebuilding
with compression du jour is the proper upgrade path.

Meanwhile LZMA - XZ transition got smeared out for years and isn't an RPM 
issue per se.

73 de Jeff
 -- 
 Jan Rękorajski | PLD/Linux
 SysAdm | http://www.pld-linux.org/
 bagginsatmimuw.edu.pl
 bagginsatpld-linux.org
 ___
 pld-devel-en mailing list
 pld-devel-en@lists.pld-linux.org
 http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jan Rękorajski
On Wed, 12 Sep 2012, Jeffrey Johnson wrote:

 
 On Sep 12, 2012, at 12:37 PM, Jan Rękorajski wrote:
 
  On Wed, 12 Sep 2012, Jakub Bogusz wrote:
  
  On Wed, Sep 12, 2012 at 01:51:26PM +0200, baggins wrote:
  commit c73c505644fa30c3e32a596dbc4aea90cfac0bcc
  Author: Jan Rękorajski bagg...@pld-linux.org
  Date:   Wed Sep 12 13:24:58 2012 +0200
  
 - set binary payload to xzdio (same as lzdio, but uses current xz)
  
  %_source_payload  w9.gzdio
  -%_binary_payload w9.lzdio
  +%_binary_payload w9.xzdio
  
  What is the minimal rpm version that supports xzdio (and what was that
  supports lzdio)?
  
  None of our rpm4 supports xzdio, but rpm package by itself is build with
  gzdio payload.
  
 
 The back port isn't impossibly hard. but you want to start with ~rpm-5.1.4 
 iirc.

IMO it's a waste of time to backport something to a software that will
be obsolete real soon now (rpm4 in this case).

  If not the same, there must exist some easy upgrade path.
  
  rpm-*.rpm packages are built with gzdio payload so it should
  be possible to upgrade without problems using any rpm version.
  
 
 Shipping *.src.rpm with anything except ZLIB compression is asking for 
 incompatibilities.

We are shipping binary (*.ARCH.rpm) rpm packages with rpm using ZLIB, so
it should be always possible to install new rpm.

-- 
Jan Rękorajski | PLD/Linux
SysAdm | http://www.pld-linux.org/
bagginsatmimuw.edu.pl
bagginsatpld-linux.org
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jeffrey Johnson

On Sep 12, 2012, at 1:02 PM, Jan Rękorajski wrote:

 
 Shipping *.src.rpm with anything except ZLIB compression is asking for 
 incompatibilities.
 
 We are shipping binary (*.ARCH.rpm) rpm packages with rpm using ZLIB, so
 it should be always possible to install new rpm.
 

Good: zlib (as used @rpm5.org) is --rsyncable (and afaik LZMA/XZ is not).

If both the remote/local packages are --rsyncable, then you SHOULD see larger
bandwidth reductions than available with XZ compression and no --rsyncable 
afaik.

The savings is a difficult measurement however, harder than just comparing file 
sizes.

73 de Jeff

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jakub Bogusz
On Wed, Sep 12, 2012 at 06:37:59PM +0200, Jan Rękorajski wrote:
 On Wed, 12 Sep 2012, Jakub Bogusz wrote:
 
  On Wed, Sep 12, 2012 at 01:51:26PM +0200, baggins wrote:
   commit c73c505644fa30c3e32a596dbc4aea90cfac0bcc
   Author: Jan Rękorajski bagg...@pld-linux.org
   Date:   Wed Sep 12 13:24:58 2012 +0200
   
   - set binary payload to xzdio (same as lzdio, but uses current xz)
  
%_source_payload w9.gzdio
   -%_binary_payload w9.lzdio
   +%_binary_payload w9.xzdio
  
  What is the minimal rpm version that supports xzdio (and what was that
  supports lzdio)?
 
 None of our rpm4 supports xzdio, but rpm package by itself is build with
 gzdio payload.
 
  If not the same, there must exist some easy upgrade path.
 
 rpm-*.rpm packages are built with gzdio payload so it should
 be possible to upgrade without problems using any rpm version.

But rpm.rpm requires also some library rpms, e.g.:
- db5.3 is something new in Th
- xz 5.1.x (5.0.x dated few months ago won't satisfy)


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Elan Ruusamäe

On 09/12/2012 07:49 PM, Jeffrey Johnson wrote:



%_source_payloadw9.gzdio
-%_binary_payload   w9.lzdio
+%_binary_payload   w9.xzdio

...

Shipping *.src.rpm with anything except ZLIB compression is asking for 
incompatibilities.

src.rpm is not touched, it's still w9.gzdio

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm] - set binary payload to xzdio (same as lzdio, but uses current xz) - add settings provided by patche

2012-09-12 Thread Jan Rękorajski
On Wed, 12 Sep 2012, Jakub Bogusz wrote:

 On Wed, Sep 12, 2012 at 06:37:59PM +0200, Jan Rękorajski wrote:
  On Wed, 12 Sep 2012, Jakub Bogusz wrote:
  
   On Wed, Sep 12, 2012 at 01:51:26PM +0200, baggins wrote:
commit c73c505644fa30c3e32a596dbc4aea90cfac0bcc
Author: Jan Rękorajski bagg...@pld-linux.org
Date:   Wed Sep 12 13:24:58 2012 +0200

- set binary payload to xzdio (same as lzdio, but uses current xz)
   
 %_source_payload   w9.gzdio
-%_binary_payload   w9.lzdio
+%_binary_payload   w9.xzdio
   
   What is the minimal rpm version that supports xzdio (and what was that
   supports lzdio)?
  
  None of our rpm4 supports xzdio, but rpm package by itself is build with
  gzdio payload.
  
   If not the same, there must exist some easy upgrade path.
  
  rpm-*.rpm packages are built with gzdio payload so it should
  be possible to upgrade without problems using any rpm version.
 
 But rpm.rpm requires also some library rpms, e.g.:
 - db5.3 is something new in Th
 - xz 5.1.x (5.0.x dated few months ago won't satisfy)

Good point, I'll revert that change then.
As there is no real difference between lzdio and xzdio that I can find,
we can postpone the switch for later.

-- 
Jan Rękorajski | PLD/Linux
SysAdm | http://www.pld-linux.org/
bagginsatmimuw.edu.pl
bagginsatpld-linux.org
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en