#!/bin/sh # vim: set sw=4 ts=4 sts=4 et : set -e . "${CONFIGDIR:=${PWD}}"/config podman run \ --tmpfs /var/tmp \ --tmpfs /usr/${target}/tmp \ -v portage:/var/db/repos/gentoo \ -v packages:/var/cache/binpkgs \ -v distfiles:/var/cache/distfiles \ -v packages:/usr/${target}/var/cache/binpkgs \ -v /mnt/gentoo \ -v ${PWD}:/tmp/src:rw,z \ -w /tmp/src \ -d \ -e FEATURES='-ipc-sandbox -network-sandbox -pid-sandbox' \ aimee-os.org/build/build-${target} \ python -c 'from signal import *;signal(SIGTERM, lambda x, y: None);pause()'