DevHeads.net

Is possible to use caching for livemedia-creator

Hi,

Is it possible to enable caching for livemedia-creator?
Similar to the --cache option in livecd-creator.

Regards,

Comments

Re: Is possible to use caching for livemedia-creator

By Kevin Kofler at 05/06/2019 - 18:50

Danishka Navin wrote:
Why not just use livecd-creator? It is still maintained by the community
(mainly Neal Gompa, see <a href="https://github.com/livecd-tools/livecd-tools" title="https://github.com/livecd-tools/livecd-tools">https://github.com/livecd-tools/livecd-tools</a> ) and
it supports this IMHO essential feature. And livecd-creator typically
accepts kickstarts written for livemedia-creator with few to no changes,
unlike the other way round.

Kevin Kofler

Re: Is possible to use caching for livemedia-creator

By Brian C. Lane at 05/03/2019 - 18:00

On Fri, May 03, 2019 at 09:57:51PM +0530, Danishka Navin wrote:
Neal is correct, there is no way to share a cache between runs. But you
can use --proxy to use a caching proxy which can speed things up. If you
do that, make sure your kickstarts are using baseurl instead of
mirrors so that the requests are consistent and can be cached.

Re: Is possible to use caching for livemedia-creator

By King InuYasha at 05/03/2019 - 12:40

On Fri, May 3, 2019 at 12:28 PM Danishka Navin < ... at gmail dot com> wrote:
No. Anaconda (the installer engine) does not support caching, so
nothing built on top of it can either.

Re: Is possible to use caching for livemedia-creator

By Martin Kolman at 05/03/2019 - 13:22

On Fri, 2019-05-03 at 12:40 -0400, Neal Gompa wrote:
Caching the RPMs used to create the image
or caching some intermediate states of image creation, so you don't
have to rerun the whole process for different customizations ?

Re: Is possible to use caching for livemedia-creator

By King InuYasha at 05/03/2019 - 15:06

On Fri, May 3, 2019 at 1:23 PM Martin Kolman < ... at redhat dot com> wrote:
At the minimum, caching RPMs used to create the image. LiveCD Creator
and KIWI both support this, since they use DNF directly.