Lines Matching refs:patch
119 -o, --output=<file.ko> Output file [default: livepatch-<patch-name>.ko]
129 4|kmod Build patch module
300 local patch="$1"
302 grep0 -E '^(--- |\+\+\+ )' "$patch" \
310 local patch="$1"
315 get_patch_files "$patch" | mapfile -t files
324 local patch
326 for patch in "${PATCHES[@]}"; do
329 get_patch_files "$patch" | mapfile -t files
342 local patch="$1"
346 [[ ! -f "$patch" ]] && die "$patch doesn't exist"
353 sed -n '/^-- /q;p' "$patch" |
357 APPLIED_PATCHES+=("$patch")
361 local patch="$1"
369 sed -n '/^-- /q;p' "$patch" |
372 git_refresh "$patch"
375 [[ "$p" == "$patch" ]] && continue
383 local patch
385 for patch in "${PATCHES[@]}"; do
386 apply_patch "$patch"
427 local patch="$1"
436 get_patch_files "$patch" | mapfile -t files
442 apply_patch "$patch" --recount
444 revert_patch "$patch" --recount
447 ( cd "$tmpdir" && git diff --no-index --no-prefix a b > "$patch" ) || true
457 rm -f "$TMP_DIR"/*.patch
463 local patch="${PATCHES[$i]}"
466 new_patch="$TMP_DIR/$idx-fixed-$(basename "$patch")"