Skip to content

Commit

Permalink
Set arm64 pagesize to 64k explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Oct 24, 2022
1 parent 45653b6 commit b9b923b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile-builder.template
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ RUN set -eux; \
setConfs="$setConfs \
BR2_aarch64=y \
"; \
# https://github.com/docker-library/busybox/issues/149
setConfs="$setConfs BR2_ARM64_PAGE_SIZE_64K=y"; \
unsetConfs="$unsetConfs BR2_ARM64_PAGE_SIZE_4K"; \
# (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)
;; \
\
# https://wiki.debian.org/ArmEabiPort#Choice_of_minimum_CPU
Expand Down
4 changes: 4 additions & 0 deletions stable/uclibc/Dockerfile.builder

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions unstable/uclibc/Dockerfile.builder

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b9b923b

Please sign in to comment.