use reqs not regs for files to backup (dgilmore)
This commit is contained in:
parent
b054345a2a
commit
12db6da29a
@ -698,7 +698,7 @@ class SPARC(object):
|
|||||||
for fname in glob.glob(joinpaths(self.installtree.root, "boot/*.b")):
|
for fname in glob.glob(joinpaths(self.installtree.root, "boot/*.b")):
|
||||||
cpfile(fname, joinpaths(workdir, "bfiles"))
|
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):
|
def create_initrd(self, libdir):
|
||||||
# create directories
|
# create directories
|
||||||
@ -719,7 +719,7 @@ class SPARC(object):
|
|||||||
replace(bootmsg, r"%VERSION%", self.version)
|
replace(bootmsg, r"%VERSION%", self.version)
|
||||||
|
|
||||||
# copy *.b to sparc dir
|
# copy *.b to sparc dir
|
||||||
for fname in self.regs["bfiles"]:
|
for fname in self.reqs["bfiles"]:
|
||||||
cpfile(fname, joinpaths(self.outputroot, SPARCDIR))
|
cpfile(fname, joinpaths(self.outputroot, SPARCDIR))
|
||||||
|
|
||||||
# create images
|
# create images
|
||||||
|
Loading…
Reference in New Issue
Block a user