__init__: fix pkglists with --force
This commit is contained in:
parent
954af31c76
commit
f13a5153e0
@ -195,8 +195,8 @@ class Lorax(BaseLoraxClass):
|
||||
|
||||
buildstamp.write(joinpaths(self.inroot, ".buildstamp"))
|
||||
|
||||
logger.debug("saving pkglists to %s", self.workdir)
|
||||
dname = joinpaths(self.workdir, "pkglists")
|
||||
if not os.path.isdir(dname):
|
||||
os.makedirs(dname)
|
||||
for pkgobj in ybo.doPackageLists(pkgnarrow='installed').installed:
|
||||
with open(joinpaths(dname, pkgobj.name), "w") as fobj:
|
||||
|
Loading…
Reference in New Issue
Block a user