Commit Graph

3 Commits (11ffd8311f9b6bf6a6cd5bd40c103f8857b58b42)

Author SHA1 Message Date
Dustin c3418b96e7 portage: Set USE=-nls globally
A recent update to the Gentoo repo as introduced a circular dependency
between _m4_ and _gettext_.  We can avoid it by setting `USE=-nls`.
This is OK because we don't need i18n in the build environment.
2024-12-14 17:37:40 -06:00
Dustin aaed7211b2 build: Install QEMU
Aimee OS/container-images/pipeline/head There was a failure building this commit Details
Although most software can be cross-compiled, there are quite a few edge
cases where executables built for the target system need to be run on
the build host.  Notably, `ldconfig` only considers libraries for the
same machine type as the tool itself, so it's impossible to run it in a
cross-compiled root.  In order to get passed these situations, we can
use QEMU in user mode to emulate the target architecture, allowing ARM
executables to run on AMD64 machines.
2024-12-12 18:02:16 -06:00
Dustin 65988b0c32 Rework images into three layers
* Base
* Crossdev
* Build

The *Base* layer is bootstrapped from a regular Gentoo stage 3
environment.  The *Build* layer is the primary artifact, and is
"squashed" into a single layer when built.
2024-12-08 10:59:28 -06:00