You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
434 B
18 lines
434 B
#!/bin/bash
|
|
|
|
MIAOU_DIR="$(dirname "$0")/../.."
|
|
readonly MIAOU_DIR
|
|
|
|
function init_strict() {
|
|
set -Eeuo pipefail
|
|
# shellcheck source=/dev/null
|
|
source "$MIAOU_DIR/lib/functions.sh"
|
|
# shellcheck source=/dev/null
|
|
source "/opt/miaou-bash/lib/functions.sh"
|
|
trap 'trap_error $? $LINENO $BASH_LINENO "$BASH_COMMAND" $(printf "::%s" ${FUNCNAME[@]})' ERR
|
|
}
|
|
|
|
## main
|
|
init_strict
|
|
sudo_required
|
|
build_miaou_image "bullseye"
|