linux-automation / meta-lxatac

Build your own LXA TAC images and bundles
MIT License
5 stars 15 forks source link

meta-lxatac-software: atftpd: fix /srv not being mounted due to atftpd #21

Closed hnez closed 1 year ago

hnez commented 1 year ago

This fixes an issue introduced by #17, where /srv (which on the TAC is a separate partition) was not mounted on boot. This was caused by /srv/tftp existing in the image and thus /srv not being empty.

Make sure /srv is empty and /srv/tftp is created on boot.

jluebbe commented 1 year ago

We need to extend the service to get the correct ordering with tmpfilesd and the mounting of /srv.

hnez commented 1 year ago

In that case we will have to update labgrid-exporter.service as well, as that's what I've based this PR on.

jluebbe commented 1 year ago

It may be that /srv is already pulled in by local-fs.target, making that dependency unnecessary.