summaryrefslogtreecommitdiffstats
path: root/classes/sota_sanity.bbclass
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2020-04-25 23:36:46 +0000
committerLaurent Bonnans <laurent.bonnans@here.com>2020-06-02 12:05:40 +0200
commit218ed67356e1a5389392ef75fe0c8764d9228807 (patch)
treef0102bd022f450d88295cf1936592f164570282a /classes/sota_sanity.bbclass
parent142f898125804679baf07e3d19ddebd8cc3250b0 (diff)
downloadmeta-updater-218ed67356e1a5389392ef75fe0c8764d9228807.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 'classes/sota_sanity.bbclass')
0 files changed, 0 insertions, 0 deletions