-Ramon
On 23/09/2021 21:27, Marco Rebhan wrote:
On Thursday, 23 September 2021 20:23:57 CEST Alan Mackenzie wrote:Where would I find a suitable kernel git repository to clone? An "official" repository, whatever that means? Ideally, I want one with just the various kernel releases, not one containing gigabytes of intermediate versions. Where would I even start searching to find this out?Hey Alan, The official repository I think is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/. What I would do is apply your patch on top of that, and then to update it, rebase the patch onto the new upstream commit you want to update to. This leads to your patches always being at the tip of the commit history and not somewhere buried between commits from upstream. However, this rewrites git history so you'd have to force push the branch to whatever remote you're tracking it in, so keep that in mind. You could do this though and additionally have another branch where you track the patch files themselves that are rebased onto a certain kernel commit (you can export them with "git format-patch upstream/master" if upstream/master is whatever branch the patch is currently rebased on). That of course you don't have to then force push. I hope this helps :P -Marco
-- GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF
OpenPGP_signature
Description: OpenPGP digital signature

