debugging: write out dirnames as well as filenames in pkglist/
This commit is contained in:
parent
9dde406193
commit
497f63a041
@ -193,7 +193,7 @@ class Lorax(BaseLoraxClass):
|
|||||||
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 + pkgobj.dirlist:
|
||||||
fobj.write("{0}\n".format(fname))
|
fobj.write("{0}\n".format(fname))
|
||||||
|
|
||||||
logger.info("doing post-install configuration")
|
logger.info("doing post-install configuration")
|
||||||
|
Loading…
Reference in New Issue
Block a user