Lines Matching refs:die

82 die() {
93 [[ ! -e "$file" ]] && die "no file to stash: $file"
120 die "line ${BASH_LINENO[0]}: '$BASH_COMMAND'"
185 [[ "$2" != *.ko ]] && die "output filename should end with .ko"
206 [[ ! -d "$TMP_DIR" ]] && die "--short-circuit requires preserved klp-tmp dir"
214 *) die "invalid short-circuit step '$2'" ;;
242 [[ -f "$patch" ]] || die "$patch doesn't exist"
259 source "$CONFIG" || die "no .config file in $(dirname "$CONFIG")"
263 die "CONFIG_LIVEPATCH not enabled"
266 die "CONFIG_KLP_BUILD not enabled"
269 die "kernel option 'CONFIG_GCC_PLUGIN_LATENT_ENTROPY' not supported"
272 die "kernel option 'CONFIG_GCC_PLUGIN_RANDSTRUCT' not supported"
275 die "kernel option 'CONFIG_LD_DEAD_CODE_DATA_ELIMINATION' not supported"
279 die "Clang assembler version < 20 not supported"
282 die "objtool not built with KLP support; install xxhash-devel/libxxhash-dev (version >= 0.8) and recompile"
321 die ".config mismatch, check your .config or run 'make olddefconfig'"
323 make syncconfig &>/dev/null || die "make syncconfig failed"
326 [[ -z "$kernelrelease" ]] && die "failed to get kernel version"
369 die "${patch}: unsupported patch to $file"
384 [[ ! -f "$patch" ]] && die "$patch doesn't exist"
389 die "$patch did not apply"
441 [[ ! "$PWD" -ef "$SCRIPT_DIR/../.." ]] && die "please run from the kernel root directory"
444 [[ -f "$ORIG_DIR/.complete" ]] || die "-S $SHORT_CIRCUIT requires completed $ORIG_DIR"
447 [[ -f "$PATCHED_DIR/.complete" ]] || die "-S $SHORT_CIRCUIT requires completed $PATCHED_DIR"
450 [[ -f "$ORIG_CSUM_DIR/.complete" ]] || die "-S $SHORT_CIRCUIT requires completed $ORIG_CSUM_DIR"
451 [[ -f "$PATCHED_CSUM_DIR/.complete" ]] || die "-S $SHORT_CIRCUIT requires completed $PATCHED_CSUM_DIR"
454 [[ -f "$DIFF_DIR/.complete" ]] || die "-S $SHORT_CIRCUIT requires completed $DIFF_DIR"
462 [[ -x "$FIX_PATCH_LINES" ]] || die "can't find fix-patch-lines"
463 command -v recountdiff &>/dev/null || die "recountdiff not found (install patchutils)"
576 || die "$build kernel build failed"
607 [[ ! -f "$file" ]] && die "missing $(basename "$file") for $_file"
614 cp -f "$PWD/vmlinux" "$ORIG_DIR" || die "missing vmlinux"
644 [[ ! -f "$file" ]] && die "missing $(basename "$file") for $_file"
654 (( found == 0 )) && die "no changes detected"
701 [[ ${#files[@]} -eq 0 ]] && die "no changes detected"
738 die "objtool klp diff failed"
781 ( cat "$orig_log" >&2; die "objtool klp checksum failed" )
785 ( cat "$patched_log" >&2; die "objtool klp checksum failed" )
834 [[ ${#files[@]} -eq 0 ]] && die "no changes detected"
887 "$OBJTOOL" klp post-link "$kmod_file" || die "objtool klp post-link failed"