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

View File

@@ -8,7 +8,7 @@ RUN apk add \
build-base \
file \
git \
libtirpc-dev \
libtirpc-dev \
libtool \
util-linux-dev \
zlib-dev
@@ -52,6 +52,10 @@ RUN ./autogen.sh && \
make -j "$(getconf _NPROCESSORS_ONLN)" && \
make install
# Run depmod against the new module directory.
RUN cd /lib/modules && \
depmod -ae *
FROM scratch
ENTRYPOINT []
CMD []