mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
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:
commit
ac18bbfda0
@ -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 []
|
||||
|
Loading…
Reference in New Issue
Block a user