Break get_isolinux() in more separate methods

This commit is contained in:
Martin Gracik 2010-11-23 16:43:39 +01:00
parent 330217e721
commit d995d82ed6
2 changed files with 4 additions and 1 deletions

View File

@ -313,6 +313,8 @@ class Lorax(BaseLoraxClass):
self.outputtree.prepare()
self.outputtree.get_isolinux()
self.outputtree.get_memtest()
self.outputtree.get_splash()
self.outputtree.get_msg_files()
self.outputtree.get_grub_conf()

View File

@ -113,6 +113,7 @@ class LoraxOutputTree(BaseLoraxClass):
replace(isolinuxcfg, r"@PRODUCT@", self.product)
replace(isolinuxcfg, r"@VERSION@", self.version)
def get_memtest(self):
# copy memtest
memtest = joinpaths(self.installtree.root,
"boot/memtest*")
@ -132,7 +133,7 @@ class LoraxOutputTree(BaseLoraxClass):
break
# get splash
def get_splash(self):
vesasplash = joinpaths(self.installtree.root, "usr/share/anaconda",
"boot/syslinux-vesa-splash.jpg")