ostadmin: add update-kernel command to regenerate initramfs and boot config

This command regenerates kernel-dependent files. It is meant to
be run after kernel upgrades in the host distribution, to keep
the ostree installation running, and attempts to figure out the
right version automatically (and without changing the ostree checkout)
This commit is contained in:
Giovanni Campagna committed 2012-08-20 23:01:57 +02:00
1 parent 1057f8289c
commit affa5755a6
5 files changed
+360 -260

No files matched your search

+1
View File
@@ -32,6 +32,7 @@
static OtAdminBuiltin builtins[] = {
{ "deploy", ot_admin_builtin_deploy, 0 },
{ "init", ot_admin_builtin_init, 0 },
{ "update-kernel", ot_admin_builtin_update_kernel, 0 },
{ NULL }
};