Skip to content
andrewharle edited this page Oct 31, 2022 · 4 revisions

This is the wiki for documenting the build of a debian package for mongodb on armhf architecture.

In the master branch the 'dirty' (patched) source is stored. This is useful because it shows the source as it will be built from the src+debian quilt patches (dpkg-source --commit). It can be cleaned using dh clean.

Overview

These instructions are for building mongodb 4.0.X for 32-bit arm architecture (armhf in debian).

It is recommended to cross-compile for speed and to avoid various memory related issues on single board computers. The unit tests are cross-compiled, transferred and ran on the target machine to verify the build.

Build environment

https://packages.debian.org/bullseye/sbuild-debian-developer-setup

https://wiki.debian.org/sbuild

Clone this wiki locally