diff options
author | Jonathan Dieter <jdieter@gmail.com> | 2007-03-29 11:44:05 +0300 |
---|---|---|
committer | Jonathan Dieter <jdieter@gmail.com> | 2007-03-29 11:44:05 +0300 |
commit | 29e8480de3b168ecfef72d99eb8ada465ba31f6d (patch) | |
tree | b1873a27835d237f648cffffde36d457d81c28f9 /README | |
parent | e2c8c0c5f5ed7e2674380a37d4bd760cdc5e1289 (diff) | |
download | presto-29e8480de3b168ecfef72d99eb8ada465ba31f6d.tar.gz presto-29e8480de3b168ecfef72d99eb8ada465ba31f6d.tar.xz presto-29e8480de3b168ecfef72d99eb8ada465ba31f6d.zip |
Fix autodownload of public gpg keys. Fix README.
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 37 |
1 files changed, 18 insertions, 19 deletions
@@ -1,27 +1,26 @@ Presto: A project to add delta rpm support into yum for Fedora users https://hosted.fedoraproject.org/projects/presto/wiki/WikiStart -Most of the code base has been written by Marcel Hild <mhild@redhat.com> as -up2date/satellite-server delta rpm support. Code adaptation for yum done by -Ahmed Kamal <email.ahmedkamal@googlemail.com>. Support for storing repository -information added by Jonathan Dieter <jdieter@gmail.com> Installation: ============= -1- Make sure deltarpm is installed on your system (yum -y install deltarpm) -2- Place the files in the following locations: - share-presto => /usr/share/presto/* - presto.py => /usr/lib/yum-plugins/presto.py - presto.conf => /etc/yum/pluginconf.d/presto.conf) -3- Use makerepo/createdeltarepo.py to create a Presto repository on top of a - normal yum repository. - NOTE: createdeltarepo.py will NOT change any files created by createrepo -4- In your repository conf file, set deltaurl to point to your Presto - repository (in most cases, it will be the same as baseurl). -5- Now install an old rpm from your repo using rpm, then try updating it using - yum. The plugin should kick in, try to download the drpm, reconstruct the - full rpm, and yum should install that +1- Install yum-presto on your system (yum -y install yum-presto) +2- Now install an old rpm from updates or extras using rpm, then try updating + it using yum. The plugin should kick in, try to download the drpm, + reconstruct the full rpm, and yum should install that. Notes: -===== -- The code is in an early stage. Minimal testing has been done. +====== +Presto will read the deltaurl from two possible locations: +1. The repository's .repo file ("deltaurl = http://repository.com") +2. Appended to /etc/yum/pluginconf.d/presto.conf in the form: + [repository] + deltaurl = http://repository.com +Presto.conf has the following options in [main]: +keepdeltas=1 Always keep deltas in cache no matter what keepcache + is set to. +neverkeepdeltas=1 Always remove deltas after creating full rpms. +exitondownloadfailure=0|1 If there is a problem downloading the deltarpm, exit + rather than trying to download the full rpm. +Note: If you specify neither keepdeltas nor neverkeepdeltas, presto will follow + the keepcache option in yum.conf. |