Bug 222652 - mock insists on downloading all RPMs each time!
Summary: mock insists on downloading all RPMs each time!
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora Hosted Projects
Classification: Retired
Component: mock
Version: unspecified
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Clark Williams
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-15 15:06 UTC by Horst H. von Brand
Modified: 2013-01-10 04:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-15 18:24:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Horst H. von Brand 2007-01-15 15:06:26 UTC
Description of problem:
Just ran "mock init", in the understanding that it would set up some sort of
default (minimal?) environment, and then went "mock rebuild nmh-1.2-1.src.rpm".
This deleted everything and started from scratch! At least it could keep the
contents of /var/cache/yum (updating that as needed).

Version-Release number of selected component (if applicable):
mock-0.6.10-1.fc7

How reproducible:
Always (I presume, haven't got the bandwidth...)

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Clark Williams 2007-01-15 18:24:06 UTC
Creating a fresh chroot every time is the default behavior for mock. 

If you want to use an existing chroot, use the --no-clean option. e.g.:

$ mock -r fedora-6-i386-core init
$ mock -r fedora-6-i386-core --no-clean <some-SRPM>
$ mock -r fedora-6-i386-core --no-clean <some-other-SRPM>

Clark



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