Build 12.2. armv7 packages (obsolete)

Poudriere requires QEMU to cross-building ports for arm on amd64. Install the package manually or use Ansible role vbotka.freebsd_postinstall

shell> cat host_vars/build.example.com/fp-qemu.yml
---
fp_qemu: true
fp_qemu_enabled: true
# mutually exclusive
fp_qemu_install: false
fp_qemu_user_static_install: true
# set to the name of the installed package
fp_qemu_rcvar: qemu_user_static

shell> ansible-playbook freebsd-postinstall.yml -t fp_packages
shell> ansible-playbook freebsd-postinstall.yml -t fp_qemu

Make sure QEMU is running

shell> /usr/local/etc/rc.d/qemu_user_static list

Simplify the creation of the arm jail and avoid building the base system. Instead, download and mount an image into the directory /usr/local/poudriere/jails/. Create the memory disk (vnode) and mount it manually or use Ansible role vbotka.freebsd_postinstall

shell> cat host_vars/build.example.com/fp-mount-img.yml
---
fp_mount_img: true
fp_mount_img_entries:
  - img: /export/img/FreeBSD-12.2-RELEASE-arm-armv7-CUBOX-HUMMINGBOARD.img
    mount: /usr/local/poudriere/jails/12arm7
    fstype: ufs
    partition: s2a

shell> ansible-playbook freebsd-postinstall.yml -t fp_mount_img

Make sure the image is mounted

shell> df | grep 12arm7

http://build.example.com/logs/bulk/12arm7-local-devel/latest/build.html

alternate text

Note

Meanwhile, the failed port security/libgcrypt was fixed