#!/usr/bin/env bash cd "$(dirname "$(realpath -s "$BASH_SOURCE")")" source shell source "env-$1" make-base # Base image apply-stage "$OPUS_HOME/input/stage01" "$OPUS_OUTPUT/base" # Packages (non-graphical) apply-stage "$OPUS_HOME/input/stage50" "$OPUS_OUTPUT/base" # Packages (graphical) apply-stage "$OPUS_HOME/input/stage98" "$OPUS_OUTPUT/base" # Default configs, etc. apply-stage "$OPUS_HOME/input/stage99" "$OPUS_OUTPUT/base" # Disk image preparation make-image "$OPUS_OUTPUT/base" # Disk image