Skip to content

Commit 2365707

Browse files
committed
provide linux/module.h in debian sparc64 build
1 parent 1abcbda commit 2365707

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/docker/sparc64-unknown-linux-gnu/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
55
gcc libc6-dev \
66
gcc-sparc64-linux-gnu libc6-dev-sparc64-cross \
77
qemu-system-sparc64 openbios-sparc seabios ipxe-qemu \
8-
p7zip-full cpio
8+
p7zip-full cpio linux-libc-dev-sparc64-cross linux-headers-4.9.0-3-common
9+
10+
# Put linux/module.h into the right spot as it is not shipped by debian
11+
RUN cp /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/module.h /usr/sparc64-linux-gnu/include/linux/
912

1013
COPY linux-sparc64.sh /
1114
RUN bash /linux-sparc64.sh

0 commit comments

Comments
 (0)