Lines Matching refs:patch
119 -o, --output=<file.ko> Output file [default: livepatch-<patch-name>.ko]
129 4|kmod Build patch module
299 local patch="$1"
301 grep0 -E '^(--- |\+\+\+ )' "$patch" \
309 local patch="$1"
314 get_patch_files "$patch" | mapfile -t files
323 local patch
325 for patch in "${PATCHES[@]}"; do
328 get_patch_files "$patch" | mapfile -t files
341 local patch="$1"
345 [[ ! -f "$patch" ]] && die "$patch doesn't exist"
352 sed -n '/^-- /q;p' "$patch" |
356 APPLIED_PATCHES+=("$patch")
360 local patch="$1"
368 sed -n '/^-- /q;p' "$patch" |
371 git_refresh "$patch"
374 [[ "$p" == "$patch" ]] && continue
382 local patch
384 for patch in "${PATCHES[@]}"; do
385 apply_patch "$patch"
426 local patch="$1"
435 get_patch_files "$patch" | mapfile -t files
441 apply_patch "$patch" --recount
443 revert_patch "$patch" --recount
446 ( cd "$tmpdir" && git diff --no-index --no-prefix a b > "$patch" ) || true
456 rm -f "$TMP_DIR"/*.patch
462 local patch="${PATCHES[$i]}"
465 new_patch="$TMP_DIR/$idx-fixed-$(basename "$patch")"