These were generated using Michael Young's procedure described in http://lists.fedoraproject.org/pipermail/test/2011-April/098540.html . Each one was generated on a machine of the indicated Fedora version/arch using the xz and deltarpm src.rpm files for the same version/arch. These are unstripped executables. To strip them, use the strip command from the binutils package. This reduces their size by more than a factor of 3, though they will still be about 5-6 times bigger than the corresponding (shared, stripped) executables in the deltaiso package. IMPORTANT: The version (f14, f15) does NOT correspond to the Fedora OS you are running, but rather the deltaiso(s) you are working with. If newiso is <= F14, use the f14 version. If newiso is >= F15 (including F15 development), use the f15 version. So for example, if you have a machine running F14 x86_64 and want to run applydeltaiso on a deltaiso for F14->F15, then newiso is F15 and you need applydeltaiso_f15_x86_64_staticliblzma. All of these ought to work on any version of Fedora which is not too ancient. I've tested the f15_x86_64 executables on alt.fedoraproject.org, a RHEL 5.6 x86_64 machine. This OS is based on Fedora Core 6 (!). ------------ running F15 programs on a RHEL 5.6 box M A Young m.a.young at durham.ac.uk Fri Apr 1 22:01:31 UTC 2011 * Previous message: running F15 programs on a RHEL 5.6 box * Next message: f15-updates or f15-updates-testing? * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Fri, 1 Apr 2011, Andre Robatino wrote: > I'm looking into the possibility of generating deltaisos directly on alt.fp.o, > which runs RHEL 5.6, rather than downloading the ISOs, creating the disos, then > uploading them. This would make it possible to post the disos much sooner as my > connection is 3/768 DSL and most of the time involved is in the download/upload. > In addition, alt.fp.o has 8 cores, so it would be possible to use 2 of them > simultaneously. (The programs I need, makedeltaiso and applydeltaiso, are > single-threaded.) > > The possibilities I'm aware of are either creating static executables or using a > chroot environment (the first seems preferable, if possible). Can anyone give > any pointers? Thanks. You only need the liblzma bits to be static. I think the following should work 1. Install the F15 xz-5 source rpm and prepare it for building (rpmbuild -bp) 2. Go into the xz-5 build directory and run make 3. Install the F15 deltarpm source rpm and prepare it for building (rpmbuild -bp) 4. Go into the deltarpm build directory and edit the Makefile to use the lzma headers and archive you just built - with something like the patch below 5. make 6. Test the applydeltaiao and makdeltaiso files to see if they work. Michael Young --- Makefile 2011-01-21 09:45:12.000000000 +0000 +++ Makefile 2011-04-01 22:41:03.000000000 +0100 @@ -5,12 +5,12 @@ rpmdumpheader=$(bindir)/rpmdumpheader zlibdir=zlib-1.2.2.f-rsyncable zlibbundled=$(zlibdir)/libz.a -zlibldflags=$(zlibbundled) -zlibcppflags=-I$(zlibdir) +zlibldflags=$(zlibbundled) ../xz-5.0.1/src/liblzma/.libs/liblzma.a +zlibcppflags=-I$(zlibdir) -I../xz-5.0.1/src/liblzma/api/ pylibprefix=/ CFLAGS = -fPIC -O2 -Wall -g CPPFLAGS = -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"$(rpmdumpheader)\" $(zlibcppflags) -LDLIBS = -lbz2 $(zlibldflags) -llzma +LDLIBS = -lbz2 $(zlibldflags) LDFLAGS = all: makedeltarpm applydeltarpm rpmdumpheader makedeltaiso applydeltaiso combinedeltarpm fragiso