All Questions
15 questions
0
votes
1
answer
22
views
How do I change the Subject/Title of patchwork patch?
I have created a patch for the Linux kernel. It can be found at the following website: https://patchwork.kernel.org/project/bluetooth/patch/[email protected]/
Unfortunately, I ...
1
vote
1
answer
336
views
removing last patching kernel
I build openwrt firmware and I just used a pr (patch kernel update) with patch -p1 < filename.patch and I want to remove to reapply a new one, what would be the best?
thank you
0
votes
1
answer
300
views
How can I get a set of patch files that can be applied to increase a Linux version?
I need a method to get a set of patches, that when applied in succession, can take Linux 5.x to Linux 5.y.
Here's what I've tried (I would greatly appreciate feedback on why this doesn't work):
(...
0
votes
1
answer
4k
views
To what files does ` patch -p1` apply the patch in this example?
For revert the changes to a file in a commit, from https://stackoverflow.com/a/2620822/156458
#!/bin/bash
function output_help {
echo "usage: git-revert-single-file <sha1> <file>"
}
...
1
vote
1
answer
804
views
Why is `-p1` to `patch` here?
For revert the changes to a file in a commit, from https://stackoverflow.com/a/2620822/156458
#!/bin/bash
function output_help {
echo "usage: git-revert-single-file <sha1> <file>"
}
...
1
vote
1
answer
970
views
fatal: Not a git repository?
In order to build and install Yocto for SMA-IMX6, I created a folder and then ran sudo apt-get install git.
I could not download the source code directly, so I first downloaded the kernel linux-...
0
votes
2
answers
894
views
Patching diff-files
I've downloaded a tarballed version of 0.85 "MTR" -> http://www.bitwizard.nl/mtr/
and installed it.
I later saw that a 0.86 diff file exists. I downloaded this in order to patch it, but am confused ...
1
vote
0
answers
274
views
How to make patch not so strict?
To give you the background, I'm trying to "port" "commit only parts of hunks" workflow from git to svn.
In git there is interactive staging, and you can even edit hunks to be committed (chose which ...
45
votes
6
answers
79k
views
How to fix "Hunk #1 FAILED at 1 (different line endings)" message?
I am trying to create a patch with the command
git diff sourcefile >/var/lib/laymab/overlay/category/ebuild/files/thepatch.patch
when I apply the patch, it gives me
$ patch -v
GNU patch 2.7.5
$ ...
8
votes
4
answers
6k
views
How download complete patch series from patchwork?
I want to download the patch series RFC PATCH 00/26 i.MX5/6 IPUv3 CSI/IC
In patchwork I can get access to individual patches https://patchwork.linuxtv.org/patch/24331/. But downloading 26 patches and ...
26
votes
3
answers
6k
views
Display only relevant hunks of a diff/patch based on a regexp
git log -G<regex> -p is a wonderful tool to search a codebase's history for changes that match the specified pattern. However, it can be overwhelming to locate the relevant hunk in the diff/...
3
votes
1
answer
2k
views
Fetch patches from mailing list with mutt and vim
How can I fetch patches from a subscribed development mailinglist with mutt and vim so that they can be applied with "git am" or "git apply" command easily?
Is it either possible to save it ...
1
vote
0
answers
71
views
Patching the kernel source through git
I'm trying to understand how the patching of the kernel source works.
I found the patch that I would like to try an apply on the following page. I found no .patch files that I can use to apply the ...
2
votes
1
answer
1k
views
How do I apply this revert commit patch from git?
I have found a patch applicable to my system to fix a problem but I have no idea how to get this patch and then apply it. Can anybody help me please?
Patch: https://git.kernel.org/cgit/linux/kernel/...
29
votes
5
answers
24k
views
How do I get a linux kernel patch set from the mailing list?
I don't subscribe to the linux-kernel mailing list, but I want to get a set of patches that were posted a few weeks ago and apply them to my kernel for testing. I'm very familiar with patching, ...