Skip to content

Commit b9b923b

Browse files
committed
Set arm64 pagesize to 64k explicitly
1 parent 45653b6 commit b9b923b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

Dockerfile-builder.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ RUN set -eux; \
9999
setConfs="$setConfs \
100100
BR2_aarch64=y \
101101
"; \
102+
# https://github.com/docker-library/busybox/issues/149
103+
setConfs="$setConfs BR2_ARM64_PAGE_SIZE_64K=y"; \
104+
unsetConfs="$unsetConfs BR2_ARM64_PAGE_SIZE_4K"; \
105+
# (it's reasonable to use a larger page size than the host, but not the reverse, and some distros default to 64k instead of 4k)
102106
;; \
103107
\
104108
# https://wiki.debian.org/ArmEabiPort#Choice_of_minimum_CPU

stable/uclibc/Dockerfile.builder

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unstable/uclibc/Dockerfile.builder

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)