Udevadm control --reload-rules

Good morning:

I am working with Docker and during a make install process, I need to execute the command “udevadm control --reload-rules”. I read some solutions like sharing volumes during execution time, but I need to execute the command during compilation time. Could anyone help me with it?

Thanks a lot.

Ignacio.

Okey. For anyone with the same problem. The following code seems to trick the Docker build process.

USER root
RUN /lib/systemd/systemd-udevd --daemon && udevadm control --reload-rules

Thanks a lot anyway.

Ignacio