Lines Matching defs: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."
423 fail "can't create $target"
431 ln -s $3 $target || fail "can't create $target"
439 ln $INSTALL_FILES/$3/$4 $target || fail "can't create $target"
449 fail "unrecognized modlist entry: $*"
475 ' $1 || fail "Errors in kernel module list"
487 *) fail "${KARCH}: invalid kernel architecture";;
497 test -d $KARCH || fail "${KARCH}: invalid kernel architecture"
498 test -d $ISA || fail "${ISA}: invalid instruction set architecture"
552 [ -f "$cryptotar" ] || fail "crypto ($cryptotar) doesn't exist"
554 [ -n "$cryptotree" ] || fail "can't create tree for crypto"
582 # if fail() is called, then it will deadlock in fail()'s wait call
623 mkdir -p $destdir || fail "failed to create $destdir"
628 cp $src $destdir || fail "failed to copy $src to $destdir"
642 [[ $# -lt 2 ]] && fail "invalid mach kmod dir $dir"
666 [[ $# -lt 3 ]] && fail "invalid karch kmod dir $dir"
803 test -d $INSTALL_FILES || fail "Can't find $INSTALL_FILES"
813 tar cf $TARFILE -I files || fail "Couldn't create tarfile $TARFILE"
822 fail "" "$1" "" \
835 test -s $TARFILE || fail "$TARFILE missing or empty"
837 test -d $INSTALL_DIR || fail "Can't find $INSTALL_DIR"
985 test -s $TARFILE || fail "Can't find tarfile $TARFILE"
1025 test -n "$KARCH" || fail "no karch specified (e.g. -k sun4u)"
1037 test -z "$UTS" && fail 'Cannot find kernel sources -- $SRC not set'
1038 test -d "$UTS" || fail "${UTS}: no such directory"