lorax: Add debug log of command line options
This commit is contained in:
parent
1f811523b5
commit
2c141950b0
@ -113,6 +113,7 @@ def main():
|
|||||||
parser.error("config file %s doesn't exist." % opts.config)
|
parser.error("config file %s doesn't exist." % opts.config)
|
||||||
|
|
||||||
setup_logging(opts)
|
setup_logging(opts)
|
||||||
|
log.debug(opts)
|
||||||
|
|
||||||
log_selinux_state()
|
log_selinux_state()
|
||||||
|
|
||||||
|
@ -152,6 +152,7 @@ def main():
|
|||||||
print("Warning: --icon is only useful for Apple EFI images")
|
print("Warning: --icon is only useful for Apple EFI images")
|
||||||
if opt.diskname and not opt.imgtype == "apple":
|
if opt.diskname and not opt.imgtype == "apple":
|
||||||
print("Warning: --diskname is only useful for Apple EFI images")
|
print("Warning: --diskname is only useful for Apple EFI images")
|
||||||
|
log.debug(opt)
|
||||||
# do the thing!
|
# do the thing!
|
||||||
if opt.imgtype == "apple":
|
if opt.imgtype == "apple":
|
||||||
mkmacboot(opt.bootdir, opt.outfile, opt.label, opt.icon, opt.product,
|
mkmacboot(opt.bootdir, opt.outfile, opt.label, opt.icon, opt.product,
|
||||||
|
Loading…
Reference in New Issue
Block a user