graysky2/clean-chroot-manager

arm support

moparisthebest opened this issue · 2 comments

I heavily use clean-chroot-manager for maintaining a custom shared amd64 pacman repo. But I'd like to do the same for my raspberry pis, and my pinebook. These are armv7 and aarch64 respectively, and currently ccm complains like this:

[root@pinebook ~]# ccm64 c
==> ERROR: Cannot build 64-bit packages on i686!

Have you considered making these usable on other architectures? I'm thinking it may just involving removing custom architecture detecting code.

I tried porting it out for ARM but found there wasn't a corresponding build option. The next best thing is to maintain a clean chroot on the device manually (ie an armv6 on armv7) and build it via a chroot /opt/armv6 /bin/bash entrance.

@moparisthebest - I came up with a solution I use when building on Arch ARM with a x86_64 distcc volunteer you might like:
https://github.com/graysky2/distccd-arch-arm
https://github.com/graysky2/bin/blob/master/arm-build