X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=install-chboot;h=acb6531f835a1888963070e41ea42215ae0309dc;hb=ee37d990c89bb3bab1b54e3b3fb43e9f79ed039b;hp=d066101642454420d7664649dbc1f9fc88d61104;hpb=7f77555b3d92709034fe41919358053c650c71e1;p=automated-distro-installer 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 <