2022-05-10 10:50:10 +00:00
|
|
|
#!/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)
|
2022-05-10 11:19:48 +00:00
|
|
|
apply-stage "$OPUS_HOME/input/stage50" "$OPUS_OUTPUT/base" # Packages (graphical)
|
2022-05-10 10:50:10 +00:00
|
|
|
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
|