diff options
author | Colin Walters <walters@verbum.org> | 2012-12-19 17:52:46 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-12-21 13:47:15 -0500 |
commit | 3832544ac40b5bbfcee3621cc5ab096ac64e578d (patch) | |
tree | d951a4240dda9cf8f2ee1df3d515546dc1768096 /src/ostree/ot-admin-builtins.h | |
parent | 16d312e82f08f27bfa4d4f3dd4b0404ceab731de (diff) | |
download | ostree-3832544ac40b5bbfcee3621cc5ab096ac64e578d.tar.gz |
admin: Rework /ostree/deploy to support multiple independent operating systems
The real vision of OSTree is to "multiple versions of multiple
operating systems". Up until now, it's worked to install gnome-ostree
inside a host distribution, but several things don't work quite right
if you try to do completely different systems.
In the new model, there's the concept of an "osname" which encompasses
a few properties:
1) Its own /var
2) A set of trees deployed in /ostree/deploy/OSNAME/
3) Its own "current" and "previous" links.
Now it no longer really makes sense to boot with "ostree=current".
Instead, you specify e.g. "ostree=gnome/current".
This is an incompatible change to the deployment code - you will need
to run init-os gnome and redeploy.
All "ostree admin" subcommands now take an OSNAME argument.
Diffstat (limited to 'src/ostree/ot-admin-builtins.h')
-rw-r--r-- | src/ostree/ot-admin-builtins.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ostree/ot-admin-builtins.h b/src/ostree/ot-admin-builtins.h index 6994c96f..2d535f0f 100644 --- a/src/ostree/ot-admin-builtins.h +++ b/src/ostree/ot-admin-builtins.h @@ -27,13 +27,15 @@ G_BEGIN_DECLS -gboolean ot_admin_builtin_init (int argc, char **argv, GFile *ostree_dir, GError **error); +gboolean ot_admin_builtin_os_init (int argc, char **argv, GFile *ostree_dir, GError **error); +gboolean ot_admin_builtin_install (int argc, char **argv, GFile *ostree_dir, GError **error); gboolean ot_admin_builtin_init_fs (int argc, char **argv, GFile *ostree_dir, GError **error); gboolean ot_admin_builtin_deploy (int argc, char **argv, GFile *ostree_dir, GError **error); gboolean ot_admin_builtin_prune (int argc, char **argv, GFile *ostree_dir, GError **error); gboolean ot_admin_builtin_pull_deploy (int argc, char **argv, GFile *ostree_dir, GError **error); gboolean ot_admin_builtin_diff (int argc, char **argv, GFile *ostree_dir, GError **error); gboolean ot_admin_builtin_update_kernel (int argc, char **argv, GFile *ostree_dir, GError **error); +gboolean ot_admin_builtin_upgrade (int argc, char **argv, GFile *ostree_dir, GError **error); G_END_DECLS |