rootfs: Fix comments

Improve a few comments and fix a typo.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2018-04-19 16:19:42 +01:00
parent 019a80f304
commit 48b1ddabed

View File

@ -22,16 +22,17 @@ source "$lib_file"
# Default architecture # Default architecture
ARCH=${ARCH:-"x86_64"} ARCH=${ARCH:-"x86_64"}
#Load default vesions for golang and other componets # Load default versions for golang and other componets
source "${script_dir}/versions.txt" source "${script_dir}/versions.txt"
# config file # distro-specific config file
typeset -r CONFIG_SH="config.sh" typeset -r CONFIG_SH="config.sh"
# Name of the extra file that could implement build_rootfs # Name of an optional distro-specific file which, if it exists, must implement the
# build_rootfs() function.
typeset -r LIB_SH="rootfs_lib.sh" typeset -r LIB_SH="rootfs_lib.sh"
#$1: Error code if want to exit differnt to 0 #$1: Error code if want to exit different to 0
usage(){ usage(){
error="${1:-0}" error="${1:-0}"
cat <<EOT cat <<EOT