Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 17th, 2012  |  syntax: None  |  size: 0.60 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. > The latest version of dracut drops some modules that used to be included by
  2. > default. I'll add this to the dracut.conf we write out.
  3.  
  4. /usr/lib/python*/site-packages/imgcreate/live.py:
  5.  
  6.     def __write_dracut_conf(self, path):
  7.  
  8. should also have
  9.  
  10.         f.write('add_dracutmodules+=" dmsquash-live "')
  11.  
  12.  
  13. and if we are at it:
  14.  
  15.     def _mount_instroot(self, base_on = None):
  16.  
  17. - self.__write_dracut_conf(self._instroot + "/etc/dracut.conf")
  18. + self.__write_dracut_conf(self._instroot + "/etc/dracut.conf.d/02livecd.conf")
  19.  
  20. This will prevent /etc/dracut.conf.rpmnew and just leaves it to the user.