File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,6 @@ RUN git clone -b ${I915_RELEASE} --single-branch https://github.com/intel-gpu/in
4848 && cp defconfigs/drm .config \
4949 && make olddefconfig && make -j $(nproc) && make modules_install
5050
51- # Create /build/modules directory with all *.ko and *.ko.xz files
52- RUN mkdir -p /build/modules \
53- && find /lib/modules/${KERNEL_FULL_VERSION}/ \
54- -name "*.ko" -o -name "*.ko.xz" -o -name "modules.order" -o -name "modules.builtin" -type f \
55- | xargs -I {} install -D {} /build/modules/
56-
5751# Firmware
5852RUN git clone -b ${FIRMWARE_RELEASE} --single-branch https://github.com/intel-gpu/intel-gpu-firmware.git \
5953 && install -D /build/intel-gpu-firmware/COPYRIGHT /licenses/firmware/COPYRIGHT \
@@ -83,7 +77,7 @@ RUN microdnf update -y && rm -rf /var/cache/yum
8377RUN microdnf -y install kmod findutils && microdnf clean all
8478COPY --from=builder /licenses/ /licenses/
8579COPY --from=builder /etc/driver-toolkit-release.json /etc/
86- COPY --from=builder /build /modules/ /opt/lib/modules/${KERNEL_FULL_VERSION}/
80+ COPY --from=builder /lib /modules/${KERNEL_FULL_VERSION} / /opt/lib/modules/${KERNEL_FULL_VERSION}/
8781COPY --from=builder /build/firmware/ /firmware/i915/
8882
8983RUN depmod -b /opt ${KERNEL_FULL_VERSION}
You can’t perform that action at this time.
0 commit comments