.. _ug_build_12arm7:
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
.. seealso::
* `Building Packages Through Emulation `_
* `Building ARM Packages with Poudriere `_
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
.. seealso::
* `Where is the arm/armv6 source? `_
.. toctree::
:caption: Examples
:name: _ug_build_12rm7_toc
example-poudriere-jail-create-12arm7
example-poudriere-ports-create
example-poudriere-options-12arm7
example-poudriere-bulk-minimal-12arm7
http://build.example.com/logs/bulk/12arm7-local-devel/latest/build.html
.. image:: poudriere-log-bulk-minimal-12-arm7.png
:width: 100%
:align: center
:alt: alternate text
.. note::
Meanwhile, the failed port `security/libgcrypt was fixed `_