Re: [PATCH] Don't rebuild the initramfs with dracut

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, August 18 2009, Chris Lumens said:
> > diff --git a/livecd.py b/livecd.py
> > index 7efcd90..bfbe2ba 100644
> > --- a/livecd.py
> > +++ b/livecd.py
> > @@ -374,7 +374,9 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
> >          # rebuild the initrd(s)
> >          vers = self.kernelVersionList(anaconda.rootPath)
> >          for (n, arch, tag) in vers:
> > -            packages.recreateInitrd(n, anaconda.rootPath)
> > +            # with dracut, we don't really need to recreate the initrds
> > +            if not os.path.exists("%s/boot/initrd-generic-%s.img" %(anaconda.rootPath, n)):
> > +                packages.recreateInitrd(n, anaconda.rootPath)
> >  
> >      def writeConfiguration(self):
> >          pass
> 
> Do we also need to do this in backend.doPostInstall?

We only do it then if you have a driver disk -- in which case I think we
still want it.

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux