Apply workaround for https://bugs.debian.org/960271
This change comes from 467d12f5c7
in the upstream kernel, and will hopefully get patched in Debian directly so we can drop this patch from our builds.
This commit is contained in:
parent
9b313157b4
commit
0a7d8e431e
|
@ -60,6 +60,12 @@ RUN set -eux; \
|
|||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
\
|
||||
# patch kernel headers ala https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8
|
||||
# filed in debian at https://bugs.debian.org/960271
|
||||
wget -O bits-per-long.patch 'https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8.patch'; \
|
||||
patch --input="$PWD/bits-per-long.patch" --strip=4 --directory=/usr/include/linux; \
|
||||
rm bits-per-long.patch; \
|
||||
\
|
||||
tarball="$(basename "$QEMU_URL")"; \
|
||||
wget -O "$tarball.sig" "$QEMU_URL.sig"; \
|
||||
wget -O "$tarball" "$QEMU_URL" --progress=dot:giga; \
|
||||
|
|
|
@ -60,6 +60,12 @@ RUN set -eux; \
|
|||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
\
|
||||
# patch kernel headers ala https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8
|
||||
# filed in debian at https://bugs.debian.org/960271
|
||||
wget -O bits-per-long.patch 'https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8.patch'; \
|
||||
patch --input="$PWD/bits-per-long.patch" --strip=4 --directory=/usr/include/linux; \
|
||||
rm bits-per-long.patch; \
|
||||
\
|
||||
tarball="$(basename "$QEMU_URL")"; \
|
||||
wget -O "$tarball.sig" "$QEMU_URL.sig"; \
|
||||
wget -O "$tarball" "$QEMU_URL" --progress=dot:giga; \
|
||||
|
|
|
@ -60,6 +60,12 @@ RUN set -eux; \
|
|||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
\
|
||||
# patch kernel headers ala https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8
|
||||
# filed in debian at https://bugs.debian.org/960271
|
||||
wget -O bits-per-long.patch 'https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8.patch'; \
|
||||
patch --input="$PWD/bits-per-long.patch" --strip=4 --directory=/usr/include/linux; \
|
||||
rm bits-per-long.patch; \
|
||||
\
|
||||
tarball="$(basename "$QEMU_URL")"; \
|
||||
wget -O "$tarball.sig" "$QEMU_URL.sig"; \
|
||||
wget -O "$tarball" "$QEMU_URL" --progress=dot:giga; \
|
||||
|
|
|
@ -60,6 +60,12 @@ RUN set -eux; \
|
|||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
\
|
||||
# patch kernel headers ala https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8
|
||||
# filed in debian at https://bugs.debian.org/960271
|
||||
wget -O bits-per-long.patch 'https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8.patch'; \
|
||||
patch --input="$PWD/bits-per-long.patch" --strip=4 --directory=/usr/include/linux; \
|
||||
rm bits-per-long.patch; \
|
||||
\
|
||||
tarball="$(basename "$QEMU_URL")"; \
|
||||
wget -O "$tarball.sig" "$QEMU_URL.sig"; \
|
||||
wget -O "$tarball" "$QEMU_URL" --progress=dot:giga; \
|
||||
|
|
|
@ -60,6 +60,12 @@ RUN set -eux; \
|
|||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
\
|
||||
# patch kernel headers ala https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8
|
||||
# filed in debian at https://bugs.debian.org/960271
|
||||
wget -O bits-per-long.patch 'https://github.com/torvalds/linux/commit/467d12f5c7842896d2de3ced74e4147ee29e97c8.patch'; \
|
||||
patch --input="$PWD/bits-per-long.patch" --strip=4 --directory=/usr/include/linux; \
|
||||
rm bits-per-long.patch; \
|
||||
\
|
||||
tarball="$(basename "$QEMU_URL")"; \
|
||||
wget -O "$tarball.sig" "$QEMU_URL.sig"; \
|
||||
wget -O "$tarball" "$QEMU_URL" --progress=dot:giga; \
|
||||
|
|
Loading…
Reference in New Issue
Block a user