]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Bump tooling not available messages to warnings
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 5 Feb 2024 08:48:42 +0000 (09:48 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 5 Feb 2024 08:48:42 +0000 (09:48 +0100)
mkosi/__init__.py

index 8069d6f4dcde0d6e2ced279cf52090ccfaa3bec2..094b1082d7d89874370b247c0bb083b345291c53 100644 (file)
@@ -2385,7 +2385,7 @@ def run_depmod(context: Context, *, force: bool = False) -> None:
 
 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"):
@@ -2395,7 +2395,7 @@ def run_sysusers(context: Context) -> None:
 
 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"):
@@ -2431,7 +2431,7 @@ def run_tmpfiles(context: Context) -> None:
 
 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…"):
@@ -2446,7 +2446,7 @@ def run_hwdb(context: Context) -> None:
         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"):
@@ -2462,7 +2462,7 @@ def run_firstboot(context: Context) -> None:
         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)