Fedora Linux Support Community & Resources Center
  #1  
Old 24th March 2009, 07:33 PM
metaylor Offline
Registered User
 
Join Date: Dec 2007
Posts: 208
Question Preserving packages downloaded durin liveCD creation

I use the following command to create liveCD

livecd-creator --config=/usr/share/livecd-tools/livecd-fedora-9-desktop-ipdt-test-build.ks --fslabel=F9-desktop-ipdt-test-R04-liveCD

As it turns out, I have to do regular updates to customization which I added that require re-running. This is time consuming because I have download the packages each time.

Is there a way to preserve the packages so I don't have to dowload each time I re-run?
Reply With Quote
  #2  
Old 25th March 2009, 12:02 AM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
yes, create a cache directory and use it like this

Code:
mkdir livecdcache
livecd-creator -c livecd-test.ks   --cache=livecdcache/
Reply With Quote
  #3  
Old 25th March 2009, 12:24 AM
metaylor Offline
Registered User
 
Join Date: Dec 2007
Posts: 208
So it looks like I append the --cache to the end of the command I am using? is that correct?
Reply With Quote
  #4  
Old 25th March 2009, 12:26 AM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
yes, that's right.
Reply With Quote
  #5  
Old 25th March 2009, 12:34 AM
metaylor Offline
Registered User
 
Join Date: Dec 2007
Posts: 208
great! one last question (I think). I have creaded the livecdcache directory and I am re-running the utility now. For future reference, what is the option I need to include in the command to point to the livecdcache directory?
Reply With Quote
  #6  
Old 25th March 2009, 12:41 AM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
eh? Didn't I just answer that?

On the first run the livecdcache directory will get populated with the rpm packages, then on subsequent runs the packages will be loaded from this (permanent) cache instead of being downloaded.

You just specify '--cache=livecdcache/' each time you run livecd-creator.
Reply With Quote
  #7  
Old 25th March 2009, 12:48 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
I guess he means is it smart enough to figure out that the cache is stale and some of the rpms on the repos are newer so then it would then get those updated ones and put them in the cache. Probably not?
Reply With Quote
  #8  
Old 25th March 2009, 12:56 AM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
I think it just takes the package from cache if it's there, otherwise goes to the repo specified in the kickstart file, but I haven't built a cd for a while so it may have changed.

Perhaps if you specify an updates repo it will check the version in cache against the metadata.
Reply With Quote
  #9  
Old 25th March 2009, 02:15 AM
metaylor Offline
Registered User
 
Join Date: Dec 2007
Posts: 208
Red face

Pardon my "slowness". It was not obvious to me that subsequent runs the packages will be loaded from cache.
Reply With Quote
Reply

Tags
creation, downloaded, durin, livecd, packages, preserving

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
saving rpm packages downloaded by yum shreedhan Using Fedora 6 25th November 2008 08:50 PM
Packages downloaded to desktop captgadget Using Fedora 6 2nd July 2007 12:58 AM
save downloaded packages deanlinkous Using Fedora 66 21st May 2007 05:28 PM


Current GMT-time: 04:00 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat