+usage() {
+
+ cat <<EOF
+mk-basefile, create minimal base files for a Linux distritubtion
+
+ Copyright (C) 2011-2018 by Thomas Lange
+
+Usage: mk-basefile [OPTION] ... DISTRIBUTION
+
+ -s Show list of supported linux distributions
+ -f ARCH Build for foreign architecture ARCH.
+ -d DIR Use DIR for creating the temporary subtree structure.
+ -z Use gzip for compressing the tar file.
+ -J Use xz for compressing the tar file.
+ -k Keep the temporary subtree structure, do not remove it.
+ -x CMD Run CMD in chroot. If CMD exists as a file, copy it and run it.
+ Debian based only
+ -h Print help.
+
+ Usage example: mk-basefile -J STRETCH64
+ This will create a STRETCH64.tar.xz basefile.
+
+EOF
+ exit 0
+}