generate_module_data needs to happen before cleanup
This commit is contained in:
parent
d636b82783
commit
59b33150aa
|
@ -211,12 +211,12 @@ class Lorax(BaseLoraxClass):
|
||||||
installroot = joinpaths(self.workdir, "installroot")
|
installroot = joinpaths(self.workdir, "installroot")
|
||||||
linktree(self.inroot, installroot)
|
linktree(self.inroot, installroot)
|
||||||
|
|
||||||
logger.info("cleaning unneeded files")
|
|
||||||
rb.cleanup()
|
|
||||||
|
|
||||||
logger.info("generating kernel module metadata")
|
logger.info("generating kernel module metadata")
|
||||||
rb.generate_module_data()
|
rb.generate_module_data()
|
||||||
|
|
||||||
|
logger.info("cleaning unneeded files")
|
||||||
|
rb.cleanup()
|
||||||
|
|
||||||
logger.info("creating the runtime image")
|
logger.info("creating the runtime image")
|
||||||
runtime = "images/install.img"
|
runtime = "images/install.img"
|
||||||
# FIXME: compression options (type, speed, etc.)
|
# FIXME: compression options (type, speed, etc.)
|
||||||
|
|
Loading…
Reference in New Issue