Hello alpine devs,
I want to build an aarch64 rootfs, and now I have compile apk-tools and abuild on CentOS 7 aarch64 machine. But I finally found out abuild alpine-aport will damage the orginal system. How can I compile or cross compile an aarch64 alpine rootfs?
Hi,
On Mon, 20 Jun 2016 20:10:29 +0800 (CST)
王进 <vanloswang@126.com> wrote:
> Hello alpine devs,> I want to build an aarch64 rootfs, and now I have compile> apk-tools and abuild on CentOS 7 aarch64 machine. But I finally found> out abuild alpine-aport will damage the orginal system. How can I> compile or cross compile an aarch64 alpine rootfs?
The minimal documentation on cross-compile, and links to the scripts I
used to bootstrap arm from x86_64 are at:
https://wiki.alpinelinux.org/wiki/User:Fabled
However, this is some years ago, and the scripts as such probably do
not work. I was earlier trying to do bootstrap of arm7 (armv7+ w/
thumb2) build, and already fixed few things. However, I have not yet
completed this work, so there's probably little more to fix.
The scripts should give a rough idea on how it's done.
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
Hi,
On Mon, 20 Jun 2016 20:10:29 +0800 (CST)
王进 <vanloswang@126.com> wrote:
> Hello alpine devs,> I want to build an aarch64 rootfs, and now I have compile> apk-tools and abuild on CentOS 7 aarch64 machine. But I finally found> out abuild alpine-aport will damage the orginal system. How can I> compile or cross compile an aarch64 alpine rootfs?
I was just able to update the cross build scripts. I have now aarch64
userland built for alpine. I still need to look at building kernel, and
bootstrapping the rest of package.
I pushed all changes to the aports already out to alpine edge. You will
also need abuild from git as few cross build fixes were added.
The scripts used are at:
http://dev.alpinelinux.org/~tteras/bootstrap/
And the minimal set of aarch64 packages are at:
http://dev.alpinelinux.org/~tteras/bootstrap/packages/main/aarch64/
That should be enough to start a builder.
Some packages need changes to be able to build for aarch64, but most
will probably work as-is.
Thanks,
Timo
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---