← Back to team overview

curtin-dev team mailing list archive

[Merge] ~dbungert/curtin:kern-cfg-naming into curtin:master

 

Dan Bungert has proposed merging ~dbungert/curtin:kern-cfg-naming into curtin:master.

Commit message:
curthooks: rename kernel event

initramfs config sounds more specific than what this really does.  Now,
this runs kernel postinstall hooks for Debian-like systems, providing
the updated initrd functionality along with other expected behaviors.



Requested reviews:
  curtin developers (curtin-dev)

For more details, see:
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/483263
-- 
Your team curtin developers is requested to review the proposed merge of ~dbungert/curtin:kern-cfg-naming into curtin:master.
diff --git a/curtin/commands/curthooks.py b/curtin/commands/curthooks.py
index 9086a6a..0c4d7fd 100644
--- a/curtin/commands/curthooks.py
+++ b/curtin/commands/curthooks.py
@@ -2101,9 +2101,9 @@ def builtin_curthooks(cfg, target, state):
         configure_kernel_crash_dumps(cfg, pathlib.Path(target))
 
     with events.ReportEventStack(
-            name=stack_prefix + '/updating-initramfs-configuration',
+            name=stack_prefix + '/final-kernel-configuration',
             reporting_enabled=True, level="INFO",
-            description="updating initramfs configuration"):
+            description="final kernel configuration"):
         if osfamily == DISTROS.debian:
             # re-enable update_initramfs
             enable_update_initramfs(cfg, target, machine)

Follow ups