Hi -
Is yum-presto known to work on arm? Today I changed our repo to use
deltarpms and tested it out. I noticed...
1) On a package where I know the bulk of the unpacked data is some fonts
inside an ELF executable that didn't change, the compression result
was... not good
Old RPM: 25424385 txtr-reader-0.1-417.fc11.armv5tel.rpm
New RPM: 25465487 txtr-reader-0.1-420.fc11.armv5tel.rpm
Delta RPM: 25465402 txtr-reader-0.1-417.fc11_0.1-420.fc11.armv5tel.drpm
So it saved me 85 bytes from 25MByte :-)
The actual procedure here is the createrepo is run on an x86_64 box over
these arm packages and then rsync'd on a server.
2) Using deltarpms fails
Loaded plugins: presto
Setting up Update Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running
yum-complete-transaction first to finish them.
--> Running transaction check
---> Package txtr-reader.armv5tel 0:0.1-420.fc11 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Updating:
txtr-reader armv5tel 0.1-420.fc11 txtradevel
24 M
Transaction Summary
================================================================================
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 24 M
Downloading Packages:
Setting up and reading Presto delta metadata
Downloading DeltaRPMs:
Rebuilding rpms from deltarpms
/var/cache/yum/txtradevel/deltas/txtr-reader-0.1-417.fc11_0.1-420.fc11.armv5tel.drpm:
md5 mismatch of result
Error rebuilding rpm from
txtr-reader-0.1-417.fc11_0.1-420.fc11.armv5tel.drpm! Will download full
package.
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : txtr-reader
1/2
Cleanup : txtr-reader
2/2
Updated:
txtr-reader.armv5tel 0:0.1-420.fc11
Complete!
Any advice welcomed, it would be great to reduce this 25MByte package
down since the vast bulk of it is exactly the same each time :-)
-Andy
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list