mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +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
|
||||
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 && \
|
||||
( DVER=$(basename $(find /tmp/kernel-modules/lib/modules/ -mindepth 1 -maxdepth 1)) && \
|
||||
cd /tmp/kernel-modules/lib/modules/$DVER && \
|
||||
|
Loading…
Reference in New Issue
Block a user