diff options
author | Colin Walters <walters@verbum.org> | 2013-06-29 11:45:53 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-07-07 11:31:26 -0400 |
commit | bb6eedfb258d3001f61c42c7e920c03dae2bdc1a (patch) | |
tree | bfce00f47de8191e5ef7709f3112f1757f9d8306 /src/ostree/ot-admin-builtins.h | |
parent | ecb3f0de035c09d8b280ac116eeede483638fd5d (diff) | |
download | ostree-bb6eedfb258d3001f61c42c7e920c03dae2bdc1a.tar.gz |
[INCOMPATIBLE CHANGE] Implement new deployment model
See https://wiki.gnome.org/OSTree/DeploymentModel2
This is a major rework of the on-disk filesystem layout, and the boot
process. OSTree now explicitly supports upgrading kernels, and these
upgrades are also atomic.
The core concept of the new model is the "deployment list", which is
an ordered list of bootable operating system trees. The deployment
list is reflected in the bootloader configuration; which has a kernel
argument that tells the initramfs (dracut) which operating system root
to use.
Invidiual notable changes that come along with this:
1) Operating systems should now come with their etc in usr/etc; OSTree
will perform a 3-way merge at deployment time, and place etc in
the actual root. This avoids the need for a bind mount, and is
just a lot cleaner.
2) OSTree no longer bind mounts /root, /home, and /tmp. It is expected
that the the OS/ has these as symbolic links into /var.
At the moment, OSTree only supports managing syslinux; other
bootloader backends will follow.
Diffstat (limited to 'src/ostree/ot-admin-builtins.h')
-rw-r--r-- | src/ostree/ot-admin-builtins.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ostree/ot-admin-builtins.h b/src/ostree/ot-admin-builtins.h index 5fbdacd6..99240867 100644 --- a/src/ostree/ot-admin-builtins.h +++ b/src/ostree/ot-admin-builtins.h @@ -28,8 +28,7 @@ G_BEGIN_DECLS typedef struct { - GFile *ostree_dir; - GFile *boot_dir; + GFile *sysroot; } OtAdminBuiltinOpts; gboolean ot_admin_builtin_os_init (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); @@ -37,10 +36,9 @@ gboolean ot_admin_builtin_install (int argc, char **argv, OtAdminBuiltinOpts *ad gboolean ot_admin_builtin_init_fs (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); gboolean ot_admin_builtin_deploy (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); gboolean ot_admin_builtin_prune (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); -gboolean ot_admin_builtin_pull_deploy (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); +gboolean ot_admin_builtin_status (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); gboolean ot_admin_builtin_diff (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); gboolean ot_admin_builtin_run_triggers (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); -gboolean ot_admin_builtin_update_kernel (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); gboolean ot_admin_builtin_upgrade (int argc, char **argv, OtAdminBuiltinOpts *admin_opts, GError **error); G_END_DECLS |