diff --git a/manual-build/init.sh b/manual-build/init.sh new file mode 100644 index 0000000..935016c --- /dev/null +++ b/manual-build/init.sh @@ -0,0 +1,54 @@ +#!/bin/bash + +# shellcheck disable=SC2059 # $1 and $2 can contain the printf modifiers +out() { printf "$1 $2\n" "${@:3}"; } +error() { out "==> ERROR:" "$@"; } >&2 +warning() { out "==> WARNING:" "$@"; } >&2 +msg() { out "==>" "$@"; } +die() { error "$@"; exit 1; } + +DEVICE="/dev/vda" + +mkdir repart || die 'Fehler beim erstellen des Directory' +cd repart || die 'Fehler beim Directorywechsel' + +cat >10-esp.conf <20-root.conf <