On 05/11/2016 12:38 AM, André Silva wrote: > On 05/11/2016 12:30 AM, André Silva wrote: >> Maybe '-s' should be before than '/usr/bin/qemu-arm-static' to make >> effect and solve the issue, eg. arch_nspawn_flags+=(-f -s >> /usr/bin/qemu-arm-static) > > I think '-s' should be before than '-f' since it copies the > qemu-arm-static file from the host to the chroot. eg. > arch_nspawn_flags+=(-s -f /usr/bin/qemu-arm-static). >
I tried do it, but the issue persists: ==> Starting to build the package... | + getopts hC:M:c:f:s arg | + local CARCH | + [[ -f /mnt/libretools/chroot-armv7h/emulatorman/etc/makepkg.conf ]] | ++ grep '^CARCH=' /mnt/libretools/chroot-armv7h/emulatorman/etc/makepkg.conf | + eval 'CARCH="armv7h"' | ++ CARCH=armv7h | + [[ armv7h == armv7h ]] | + setarch armv7l | + grep -xF enabled /proc/sys/fs/binfmt_misc/arm | + grep -xF 'interpreter /usr/bin/qemu-arm-static' /proc/sys/fs/binfmt_misc/arm | + arch_nspawn_flags+=(-s -f /usr/bin/qemu-arm-static) | + /usr/lib/libretools/chroot/arch-nspawn -s -f /usr/bin/qemu-arm-static /mnt/libretools/chroot-armv7h/emulatorman --bind-ro=/home/emulatorman/parabola-projects/packages/abslibre/libre/pacman:/startdir_host --bind-ro=/home/emulatorman/parabola-projects/packages/abslibre/libre/pacman:/srcdest_host -- true | setarch: armv7h: Unrecognized architecture Seems '-s' flag doesn't makes effect, maybe it's bug.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
