windvn/make-os

10 lines
498 B
Plaintext
Raw Normal View History

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)
apply-stage "$OPUS_HOME/input/stage02" "$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