lorax: Add debug log of command line options

This commit is contained in:
Pat Riehecky 2019-07-08 09:13:29 -05:00 committed by Brian C. Lane
parent 1f811523b5
commit 2c141950b0
2 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,7 @@ def main():
parser.error("config file %s doesn't exist." % opts.config)
setup_logging(opts)
log.debug(opts)
log_selinux_state()

View File

@ -152,6 +152,7 @@ def main():
print("Warning: --icon is only useful for Apple EFI images")
if opt.diskname and not opt.imgtype == "apple":
print("Warning: --diskname is only useful for Apple EFI images")
log.debug(opt)
# do the thing!
if opt.imgtype == "apple":
mkmacboot(opt.bootdir, opt.outfile, opt.label, opt.icon, opt.product,