generate_module_data needs to happen before cleanup

This commit is contained in:
Will Woods 2011-07-01 16:30:07 -04:00
parent d636b82783
commit 59b33150aa
1 changed files with 3 additions and 3 deletions

View File

@ -211,12 +211,12 @@ class Lorax(BaseLoraxClass):
installroot = joinpaths(self.workdir, "installroot")
linktree(self.inroot, installroot)
logger.info("cleaning unneeded files")
rb.cleanup()
logger.info("generating kernel module metadata")
rb.generate_module_data()
logger.info("cleaning unneeded files")
rb.cleanup()
logger.info("creating the runtime image")
runtime = "images/install.img"
# FIXME: compression options (type, speed, etc.)