Bug 479716 - --cache does not work
Summary: --cache does not work
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 10
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-12 17:06 UTC by Jan Kratochvil
Modified: 2009-01-12 20:19 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-01-12 20:19:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
+keepcache=1 (440 bytes, patch)
2009-01-12 17:06 UTC, Jan Kratochvil
no flags Details | Diff

Description Jan Kratochvil 2009-01-12 17:06:26 UTC
Created attachment 328764 [details]
+keepcache=1

Description of problem:
Specifying --cache works if the image creation fails.  It gets reused afterwards.  But if we successfully create an image YUM itself deletes all the rpm files and next run of livecd-creator starts to download it all again.

Version-Release number of selected component (if applicable):
livecd-tools-020-1.fc10.x86_64
yum-3.2.20-5.fc10.noarch

How reproducible:
Always.

Steps to Reproduce:
1. livecd-creator -c psi-i686.ks --cache=./cache

Actual results:
Resulting ./cache is about 500MB.

Expected results:
Resulting ./cache about 2GB.

Additional info:
I did not check how this option behaves without --cache specified.  But as the directory gets deleted completely by livecd-creator it should not be a problem.

Comment 1 Jeremy Katz 2009-01-12 20:19:38 UTC
Thanks, applied in git


Note You need to log in before you can comment on or make changes to this bug.