You are not logged in.

#26 2021-09-22 05:37:36

highfrequencyhertz
Member
Registered: 2021-05-30
Posts: 37

Re: [SOLVED] Error when automatically applying patch with makepkg.

How do I apply it automatically as shown here? Do I have to make a separate PKGBUILD? I know I can edit manually but I would like to learn how I would make a script build.

Last edited by highfrequencyhertz (2021-09-22 05:42:14)

Offline

#27 2021-09-22 05:52:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Error when automatically applying patch with makepkg.

For just a one-line change, it seems pointless to script it, but if you had to, then a shell script with sed would make more sense than a PKGBUILD.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#28 2021-09-22 06:01:32

highfrequencyhertz
Member
Registered: 2021-05-30
Posts: 37

Re: [SOLVED] Error when automatically applying patch with makepkg.

I could imagine PKGBUILDS are for large patches to the actual kernel itself, not the PKGBUILD itself! I feel like an idiot, if you are providing a custom PKGBUILD then why not just edit it yourself? Why make ANOTHER pkgbuild just to modify the first! (If at all possible due to conflicts in file names) Thanks though, I suppose I need a long nights sleep after this (significant) mental blunder, and hopefully it should be compiled on my potato by morning. Thanks again!

Offline

#29 2021-09-22 06:06:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Error when automatically applying patch with makepkg.

You can script a kernel build if you want. See https://hg.sr.ht/~jasonwryan/shiv/brows … el?rev=tip


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#30 2021-09-22 06:11:45

highfrequencyhertz
Member
Registered: 2021-05-30
Posts: 37

Re: [SOLVED] Error when automatically applying patch with makepkg.

So this automatically builds you a Kernel? How is it different from this?

Offline

#31 2021-09-22 06:15:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Error when automatically applying patch with makepkg.

It just automates a traditional kernel build. All the files are here: https://hg.sr.ht/~jasonwryan/shiv/brows … es?rev=tip


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#32 2021-09-22 06:22:02

highfrequencyhertz
Member
Registered: 2021-05-30
Posts: 37

Re: [SOLVED] Error when automatically applying patch with makepkg.

Seems useful, i'll consider checking it out. A few customization options that seem interesting.

Offline

Board footer

Powered by FluxBB