Bug 479716

Summary: --cache does not work
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: livecd-toolsAssignee: Jeremy Katz <katzj>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 10CC: davidz, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-12 20:19:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
+keepcache=1 none

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