Make /etc a writable mount
First, move deployments to /ostree/deploy. Having them in the toplevel clutters the filesystem layout too much. When we deploy a tree like /ostree/deploy/NAME, there is now also a writable directory /ostree/deploy/NAME-etc. This is mounted as read-write inside the system. On an initial install, that directory is copied from /ostree/deploy/NAME/etc. On subsequent deployments, we find any changes made in the current deployment's /etc, and apply that set of changes to the new deployment's /etc. See https://live.gnome.org/OSTree/EverythingInEtcIsABug
This commit is contained in:
1 parent
9ba968a5f4
commit
2ddbeb1f71
13 files changed
+799
-255
No files matched your search
@@ -97,14 +97,14 @@ diff_item_new (GFile *a,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
diff_files (GFile *a,
|
||||
GFileInfo *a_info,
|
||||
GFile *b,
|
||||
GFileInfo *b_info,
|
||||
OstreeDiffItem **out_item,
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
static gboolean
|
||||
diff_files (GFile *a,
|
||||
GFileInfo *a_info,
|
||||
GFile *b,
|
||||
GFileInfo *b_info,
|
||||
OstreeDiffItem **out_item,
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
ot_lfree char *checksum_a = NULL;
|
||||
|
||||
Reference in new issue
Block a user