diff options
author | Ming Liu <ming.liu@toradex.com> | 2020-07-10 16:31:30 +0200 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2020-07-10 16:36:32 +0200 |
commit | 92fbc4533b692e2c4b88a9df73b3398bececd158 (patch) | |
tree | fefe021c52084594b1985275243b227925c7f422 /recipes-test/demo-network-config | |
parent | 254c1f3d2f0482864b3402b25788819cb6bb3858 (diff) | |
download | meta-updater-92fbc4533b692e2c4b88a9df73b3398bececd158.tar.gz |
nfs-utils: fix nfs systemd daemons runtime issues
nfs-mountd.service and nfs-statd.service rely on /var/lib/nfs to be
present in rootfs, or else they would run into problems for some files
missing in it.
But a ostree/ota rootfs does not have that directory (removed during
do_image), to fix that, we now copy them to /var/local/lib/nfs and
mount it to /var/lib/nfs at runtime, which is done in
nfs-home-mount.service.
nfs-mountd.service and nfs-statd.service need run after
nfs-home-mount.service.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-test/demo-network-config')
0 files changed, 0 insertions, 0 deletions