Alpine aarch64 chrootable rootfs
I posted awhile back how easy it is to create an Alpine musl-based chrootable filesystem folder:
http://bkhome.org/news/201704/alpine-x8664-chrootable-rootfs.html
At the time, I created i686, x86_64 and armv7 root-filesystems.
Now that I am embracing aarch64, want a rootfs for compiling static executables. Hence:
http://distro.ibiblio.org/quirky/alpine/aarch64/developer/
After expansion of the tarball, instructions are inside. You will of
course need to be running a aarch64 host OS, in my case on the new
Rock64 board.
I compiled squashfs-tools 4.3, and it needs a patch for musl:
For good measure, I also applied all the patches from Debian. My rootfs does not have zlib-dev, so had to install that:
# apk add zlib-dev
...the rootfs has the Alpine apk package manager in it.
Tags: linux