From d995d82ed68fa7a677fa6d4dd98a33d216d8b9de Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 23 Nov 2010 16:43:39 +0100 Subject: [PATCH] Break get_isolinux() in more separate methods --- src/pylorax/__init__.py | 2 ++ src/pylorax/outputtree.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 42ad1818..f08486fc 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -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() diff --git a/src/pylorax/outputtree.py b/src/pylorax/outputtree.py index 03bae4f9..a1b5ccb0 100644 --- a/src/pylorax/outputtree.py +++ b/src/pylorax/outputtree.py @@ -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")