X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=install-chboot;h=acb6531f835a1888963070e41ea42215ae0309dc;hp=d066101642454420d7664649dbc1f9fc88d61104;hb=6ca069946c8ff88d79d1ae421e0eda60ae1c514c;hpb=7f77555b3d92709034fe41919358053c650c71e1 diff --git a/install-chboot b/install-chboot index d066101..acb6531 100755 --- a/install-chboot +++ b/install-chboot @@ -17,14 +17,24 @@ [[ $EUID == 0 ]] || exec sudo -E "$BASH_SOURCE" "$@" -set -eE -o pipefail -trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR +x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace" +cd ${x%/*} -# usage install-chboot: isntalls chboot to all /boot subvols, -# in case there is an issue booting and it is needed. -# Run this when chboot changes. +usage() { + cat <