X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=install-chboot;h=acb6531f835a1888963070e41ea42215ae0309dc;hb=174c1cfe0febff17f3bd75dc7d3c6ce2731e9bd2;hp=d066101642454420d7664649dbc1f9fc88d61104;hpb=83828fe2683227f4d8ecb2343eff28439741b490;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 <