def run_sysusers(context: Context) -> None:
if not find_binary("systemd-sysusers", root=context.config.tools()):
- logging.info("systemd-sysusers is not installed, not generating system users")
+ logging.warning("systemd-sysusers is not installed, not generating system users")
return
with complete_step("Generating system users"):
def run_tmpfiles(context: Context) -> None:
if not find_binary("systemd-tmpfiles", root=context.config.tools()):
- logging.info("systemd-tmpfiles is not installed, not generating volatile files")
+ logging.warning("systemd-tmpfiles is not installed, not generating volatile files")
return
with complete_step("Generating volatile files"):
def run_preset(context: Context) -> None:
if not find_binary("systemctl", root=context.config.tools()):
- logging.info("systemctl is not installed, not applying presets")
+ logging.warning("systemctl is not installed, not applying presets")
return
with complete_step("Applying presets…"):
return
if not find_binary("systemd-hwdb", root=context.config.tools()):
- logging.info("systemd-hwdb is not installed, not generating hwdb")
+ logging.warning("systemd-hwdb is not installed, not generating hwdb")
return
with complete_step("Generating hardware database"):
return
if not find_binary("systemd-firstboot", root=context.config.tools()):
- logging.info("systemd-firstboot is not installed, not applying first boot settings")
+ logging.warning("systemd-firstboot is not installed, not applying first boot settings")
return
password, hashed = context.config.root_password or (None, False)