Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nfs-utils: fix nfs systemd daemons runtime issues | Ming Liu | 2020-07-10 | 2 | -0/+38 |
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> |