]> git.ipfire.org Git - thirdparty/systemd.git/commit - units/meson.build
nspawn: hook var-lib-machines.mount to machines.target and remote-fs.target
authorFelipe Sateler <fsateler@gmail.com>
Wed, 21 Jun 2017 20:04:38 +0000 (16:04 -0400)
committerFelipe Sateler <fsateler@gmail.com>
Wed, 21 Jun 2017 20:19:20 +0000 (16:19 -0400)
commit78d1039d6b891c41ff68cdaa2bc9e9796e8d14c3
tree5a0ec41bd78832f503a3b42b37dd7d9e34483b37
parentbe5bd2ec62dd7cedd56da82296b9296918806b48
nspawn: hook var-lib-machines.mount to machines.target and remote-fs.target

/var can be on a remote filesystem, thus hooking it to local-fs.target is not correct.

Also, only install the mount unit when machined is enabled, because
machined is the one managing the underlying device, and thus makes no
sense without machined.

Fixes #1175
Makefile.am
units/meson.build