mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Enable modprobe zfs
by running depmod on the new kernel build.
Depmod in the zfs makefiles will never run as `/boot/` and relevant map files dont exist in our build environments. Included style suggestions by @rn Signed-off-by: Matt Johnson <matjohn2@cisco.com>
This commit is contained in:
parent
0968be802f
commit
fdc1c0edc8
@ -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