From 12db6da29aa89d1305d43569e56db991bf983e03 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Fri, 15 Apr 2011 15:44:38 +0200 Subject: [PATCH] use reqs not regs for files to backup (dgilmore) --- src/pylorax/images.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/images.py b/src/pylorax/images.py index 78de51e3..6e92833c 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -698,7 +698,7 @@ class SPARC(object): for fname in glob.glob(joinpaths(self.installtree.root, "boot/*.b")): cpfile(fname, joinpaths(workdir, "bfiles")) - self.regs["bfiles"] = glob.glob(joinpaths(workdir, "bfiles/*.b")) + self.reqs["bfiles"] = glob.glob(joinpaths(workdir, "bfiles/*.b")) def create_initrd(self, libdir): # create directories @@ -719,7 +719,7 @@ class SPARC(object): replace(bootmsg, r"%VERSION%", self.version) # copy *.b to sparc dir - for fname in self.regs["bfiles"]: + for fname in self.reqs["bfiles"]: cpfile(fname, joinpaths(self.outputroot, SPARCDIR)) # create images