another pkglists fixup
This commit is contained in:
parent
33107bdab1
commit
9f47eae26b
@ -198,10 +198,10 @@ class Lorax(BaseLoraxClass):
|
|||||||
dname = joinpaths(self.workdir, "pkglists")
|
dname = joinpaths(self.workdir, "pkglists")
|
||||||
if not os.path.isdir(dname):
|
if not os.path.isdir(dname):
|
||||||
os.makedirs(dname)
|
os.makedirs(dname)
|
||||||
for pkgobj in ybo.doPackageLists(pkgnarrow='installed').installed:
|
for pkgobj in ybo.doPackageLists(pkgnarrow='installed').installed:
|
||||||
with open(joinpaths(dname, pkgobj.name), "w") as fobj:
|
with open(joinpaths(dname, pkgobj.name), "w") as fobj:
|
||||||
for fname in pkgobj.filelist:
|
for fname in pkgobj.filelist:
|
||||||
fobj.write("{0}\n".format(fname))
|
fobj.write("{0}\n".format(fname))
|
||||||
|
|
||||||
logger.info("doing post-install configuration")
|
logger.info("doing post-install configuration")
|
||||||
rb.postinstall() # FIXME: configdir=
|
rb.postinstall() # FIXME: configdir=
|
||||||
|
Loading…
Reference in New Issue
Block a user