Break get_isolinux() in more separate methods
This commit is contained in:
parent
330217e721
commit
d995d82ed6
@ -313,6 +313,8 @@ class Lorax(BaseLoraxClass):
|
|||||||
|
|
||||||
self.outputtree.prepare()
|
self.outputtree.prepare()
|
||||||
self.outputtree.get_isolinux()
|
self.outputtree.get_isolinux()
|
||||||
|
self.outputtree.get_memtest()
|
||||||
|
self.outputtree.get_splash()
|
||||||
self.outputtree.get_msg_files()
|
self.outputtree.get_msg_files()
|
||||||
self.outputtree.get_grub_conf()
|
self.outputtree.get_grub_conf()
|
||||||
|
|
||||||
|
@ -113,6 +113,7 @@ class LoraxOutputTree(BaseLoraxClass):
|
|||||||
replace(isolinuxcfg, r"@PRODUCT@", self.product)
|
replace(isolinuxcfg, r"@PRODUCT@", self.product)
|
||||||
replace(isolinuxcfg, r"@VERSION@", self.version)
|
replace(isolinuxcfg, r"@VERSION@", self.version)
|
||||||
|
|
||||||
|
def get_memtest(self):
|
||||||
# copy memtest
|
# copy memtest
|
||||||
memtest = joinpaths(self.installtree.root,
|
memtest = joinpaths(self.installtree.root,
|
||||||
"boot/memtest*")
|
"boot/memtest*")
|
||||||
@ -132,7 +133,7 @@ class LoraxOutputTree(BaseLoraxClass):
|
|||||||
|
|
||||||
break
|
break
|
||||||
|
|
||||||
# get splash
|
def get_splash(self):
|
||||||
vesasplash = joinpaths(self.installtree.root, "usr/share/anaconda",
|
vesasplash = joinpaths(self.installtree.root, "usr/share/anaconda",
|
||||||
"boot/syslinux-vesa-splash.jpg")
|
"boot/syslinux-vesa-splash.jpg")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user