mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
kernel: Add the firmware to the result tarball
'make firmware_install' adds the firmware blobs creating during the build to '/lib/firmware' in the result tarball. This should be installed along with the kernel modules. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
6f81297da6
commit
b294171311
@ -112,6 +112,7 @@ RUN curl -sSL -o /wireguard.tar.xz "${WIREGUARD_URL}" && \
|
|||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
RUN make INSTALL_MOD_PATH=/tmp/kernel-modules modules_install && \
|
RUN make INSTALL_MOD_PATH=/tmp/kernel-modules modules_install && \
|
||||||
|
make INSTALL_MOD_PATH=/tmp/kernel-modules firmware_install && \
|
||||||
make INSTALL_MOD_PATH=/tmp/kernel-modules M="/wireguard" modules_install && \
|
make INSTALL_MOD_PATH=/tmp/kernel-modules M="/wireguard" modules_install && \
|
||||||
( DVER=$(basename $(find /tmp/kernel-modules/lib/modules/ -mindepth 1 -maxdepth 1)) && \
|
( DVER=$(basename $(find /tmp/kernel-modules/lib/modules/ -mindepth 1 -maxdepth 1)) && \
|
||||||
cd /tmp/kernel-modules/lib/modules/$DVER && \
|
cd /tmp/kernel-modules/lib/modules/$DVER && \
|
||||||
|
Loading…
Reference in New Issue
Block a user