Skip to content

Add qemu-user-static-repack all architectures

Administrator requested to merge feature/qemu-user-static-repack-all-arch into master

This is the temporary update to the qemu-user-static-repack package mentioned in #933 (closed). It simply download the debian package for all the architectures and while building it, during the unpack function it extracts only the .deb of the architecture which is going to build (thanks to $CARCH)

$CARCH variable explained here: https://github.com/alpinelinux/abuild/blob/master/abuild.in#L2404 script used to verify it

for arch in x86 x86_64 armhf aarch64; do
  pmbootstrap build_init -b $arch
  pmbootstrap chroot -b $arch -- abuild -A
done

This is a necessary step to make pmbootstrap be able to cross-compile from architectures other than x86_64

I've tested it on x86 architecture and works fine, the x86_64 shouldn't have changed but if someone can test that it still work would be great. I didn't managed yet to test it on armhf or aarch64.

Merge request reports

Loading