diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2020-04-25 23:36:46 +0000 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2020-04-27 07:42:22 +0000 |
commit | fb058bb8eedd9a3a168fa87534f55d1ea610a90a (patch) | |
tree | 0bad5d771d0d94c8f093e2b3c4b7a7acb45cec9d /lib | |
parent | cd153180c359fefb95d57968b8a4fa0471b588c0 (diff) | |
download | meta-updater-fb058bb8eedd9a3a168fa87534f55d1ea610a90a.tar.gz |
image_types_ostree/ota: move home physically to /var/rootdirs/home
Instead of using the double indirection mode /home -> /var/rootdirs/home
-> /sysroot/home move the home directory physically into /var/rootdirs.
This allows to use the --modern flag when initializing the file system.
The "old" style is still supported, and does make sense in case the home
directories need to be shared between multiple deployments. Since
multiple deployments is not a use case in meta-updater use the /var
approach. See also: https://github.com/ostreedev/ostree/issues/2085.
The modern flag also gets rid of dev, proc, root, run, sys and tmp. All
of them have been empty and unused.
Note: This change cannot be pushed through updates as this is an initial
deployment setting. Only devices provisioned with images built with this
change applied will use the new layout. Updates will continue to work
on both systems as the symlink from the deployment stays the same (first
indirection is still /home -> /var/rootdirs/home).
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions