[hook] name = "mkinitramfs-all-kernels" [when] phase = "post" operation = ["install", "update", "remove"] paths = [ "usr/lib/modules/*", "lib/modules/*", "boot/*", ] [exec] command = "/usr/share/depot.d/scripts/update-all-initramfs" needs_paths = false