mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 04:28:20 +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 \
|
build-base \
|
||||||
file \
|
file \
|
||||||
git \
|
git \
|
||||||
libtirpc-dev \
|
libtirpc-dev \
|
||||||
libtool \
|
libtool \
|
||||||
util-linux-dev \
|
util-linux-dev \
|
||||||
zlib-dev
|
zlib-dev
|
||||||
@ -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 []
|
||||||
|
Loading…
Reference in New Issue
Block a user