Lines Matching refs:fail

46 # If any of these steps fail, Install will give you an error message and,
98 trap 'fail "User Interrupt" "You can resume by typing \"$INSTALL -R\""' 1 2 3 15
173 test -s $INSTALL_STATE || fail "Can't find $INSTALL_STATE"
181 function fail {
229 [ -d $1 ] || mkdir -p $1 || fail
345 [ -d "$ctop" ] || fail "Can't create tree for crypto modules."
352 [ -d "$root" ] || fail "Can't unpack crypto tarball."
385 fail "can't create $target"
393 ln -s $3 $target || fail "can't create $target"
401 ln $INSTALL_FILES/$3/$4 $target || fail "can't create $target"
411 fail "unrecognized modlist entry: $*"
437 ' $1 || fail "Errors in kernel module list"
449 *) fail "${KARCH}: invalid kernel architecture";;
459 test -d $KARCH || fail "${KARCH}: invalid kernel architecture"
460 test -d $ISA || fail "${ISA}: invalid instruction set architecture"
526 # if fail() is called, then it will deadlock in fail()'s wait call
567 mkdir -p $destdir || fail "failed to create $destdir"
572 cp $src $destdir || fail "failed to copy $src to $destdir"
586 [[ $# -lt 2 ]] && fail "invalid mach kmod dir $dir"
610 [[ $# -lt 3 ]] && fail "invalid karch kmod dir $dir"
739 test -d $INSTALL_FILES || fail "Can't find $INSTALL_FILES"
749 tar cf $TARFILE -I files || fail "Couldn't create tarfile $TARFILE"
758 fail "" "$1" "" \
771 test -s $TARFILE || fail "$TARFILE missing or empty"
773 test -d $INSTALL_DIR || fail "Can't find $INSTALL_DIR"
921 test -s $TARFILE || fail "Can't find tarfile $TARFILE"
961 test -n "$KARCH" || fail "no karch specified (e.g. -k sun4u)"
973 test -z "$UTS" && fail 'Cannot find kernel sources -- $SRC not set'
974 test -d "$UTS" || fail "${UTS}: no such directory"