> Argh. Is it possible to fix this more comprehensively somehow, like by having
> curthooks just not call handle_apt if apt in the curtin config is None, or
> something like that?
I would like to, yes. We already have the following check in place, but that
doesn't seem to be good enough for some reason. I will investigate further.
if apt_cfg is not None:
LOG.info("curthooks handling apt to target %s with config %s",
target, apt_cfg)
apt_config.handle_apt(apt_cfg, target)
else:
LOG.info("No apt config provided, skipping")
--
https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/420651
Your team curtin developers is requested to review the proposed merge of
~ogayot/curtin:LP1970409 into curtin:master.
--
Mailing list: https://launchpad.net/~curtin-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~curtin-dev
More help : https://help.launchpad.net/ListHelp