You are not logged in.

#1 2024-03-19 09:29:36

torvic9
Member
Registered: 2022-08-26
Posts: 8

Where is the source of the kernel patch file?

Hi,

maybe I'm just blind, but where can I find the actual source (git tree?) of Arch's kernel patch file?

The compressed patch file at e.g. https://github.com/archlinux/linux/rele … .8.1-arch1 is just a concatenated diff, and it's really hard to tell what each diff does.

IMO, it would be great if that file was not just a plain diff, but a real patch file with proper information of author, subject, date, message body and any additional tags.

Thanks!

Offline

#2 2024-03-19 11:43:28

tekstryder
Member
Registered: 2013-02-14
Posts: 518

Re: Where is the source of the kernel patch file?

You can find them individually in the commit log:
https://github.com/archlinux/linux/commits/v6.8.1-arch1

Offline

#3 2024-03-19 11:44:10

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,640
Website

Re: Where is the source of the kernel patch file?

Well, a patch file is usually created by using (gitdiff.
The respective git indices are also part of that patch file, so you can browse the kernel's git source to compare the changes against the original easily.
Also the current patch file is not very large, so I for my part would say, that it's pretty obvious what those few changes do.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#4 2024-03-19 11:49:22

loqs
Member
Registered: 2014-03-06
Posts: 18,872

Re: Where is the source of the kernel patch file?

Did you try the upstream URL? -> https://github.com/archlinux/linux/rele … .8.1-arch1 -> https://github.com/archlinux/linux/comm … 8.1-arch1/ as a comparison https://github.com/archlinux/linux/comp … .8.1-arch1.  You can open an issue on Arch's gitlab instance asking for the patch to be generated by git format-patch which would include the comments e.t.c..

Last edited by loqs (2024-03-19 11:49:57)

Offline

#5 2024-03-19 14:07:03

torvic9
Member
Registered: 2022-08-26
Posts: 8

Re: Where is the source of the kernel patch file?

tekstryder wrote:

You can find them individually in the commit log:
https://github.com/archlinux/linux/commits/v6.8.1-arch1

Thanks, that's what I was looking for.
I was blind indeed, sorry for the noise ;-)

schard wrote:

Well, a patch file is usually created by using (git)  diff.

'git format-patch'.

Offline

#6 2024-03-19 14:40:51

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,640
Website

Re: Where is the source of the kernel patch file?

Yes, I agree that using git format-patch and thus having separate patchfiles might make it easier to reason about the changes made.
I don't know why the packagers chose to not pursue this course of action, you'd have to ask them.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#7 2024-03-19 15:29:48

torvic9
Member
Registered: 2022-08-26
Posts: 8

Re: Where is the source of the kernel patch file?

Yes, as loqs wrote above, I might open an issue for that.
It would be just a minor change and shouldn't cause any trouble.

Thanks to all for your help!

Offline

#8 2024-04-05 12:19:52

tekstryder
Member
Registered: 2013-02-14
Posts: 518

Re: Where is the source of the kernel patch file?

Arch patches are now listed on each tag's entry on the release page.
https://github.com/archlinux/linux/releases

This is really nice.

Offline

Board footer

Powered by FluxBB