Changes

Jump to navigation Jump to search
139 bytes added ,  11:54, 28 December 2014
no edit summary
Line 1: Line 1:  
{{Level|Developer}}
 
{{Level|Developer}}
 +
iso_prepare the mock plugin needed for building an offical Iso see http://bugs.contribs.org/attachment.cgi?id=4059 and [[bugzilla:7675]]
 
  # vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
 
  # vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
 
   
 
   
Line 31: Line 32:  
         for l in glob.glob("/dev/loop*"):
 
         for l in glob.glob("/dev/loop*"):
 
             rootObj.mounts.add(BindMountPoint(srcpath=l, bindpath=rootObj.makeChrootPath(l)))
 
             rootObj.mounts.add(BindMountPoint(srcpath=l, bindpath=rootObj.makeChrootPath(l)))
 
+
 
     decorate(traceLog())
 
     decorate(traceLog())
 
     def _isoPreparePostInitHook(self):
 
     def _isoPreparePostInitHook(self):
Line 40: Line 41:  
                     fullPath = os.path.join(dirpath, filename)
 
                     fullPath = os.path.join(dirpath, filename)
 
                     os.unlink(fullPath)
 
                     os.unlink(fullPath)
 
+
 
         # update sudoers file
 
         # update sudoers file
 
         sudoers_out = self.rootObj.makeChrootPath('/etc/sudoers')
 
         sudoers_out = self.rootObj.makeChrootPath('/etc/sudoers')

Navigation menu