Merge pull request #2514 from matjohn2/zfs-depmod-fix

Ensure depmod is run on ZFS module builds (fixes ZFS modprobe)
This commit is contained in:
Rolf Neugebauer 2017-09-18 11:31:15 +01:00 committed by GitHub
commit ac18bbfda0

View File

@ -52,6 +52,10 @@ RUN ./autogen.sh && \
make -j "$(getconf _NPROCESSORS_ONLN)" && \ make -j "$(getconf _NPROCESSORS_ONLN)" && \
make install make install
# Run depmod against the new module directory.
RUN cd /lib/modules && \
depmod -ae *
FROM scratch FROM scratch
ENTRYPOINT [] ENTRYPOINT []
CMD [] CMD []