You are not logged in.

#1 2017-07-12 22:34:41

manasij7479
Member
Registered: 2011-10-20
Posts: 31

How do I set up an ABS based workflow?

I am building the kernel with ABS.
The recommended way to put your own patches seems to be maintaining a patch and patch the new source in prepare().

If I want to incrementally develop on the kernel fetched the first time, is modifying the PKGBUILD enough to reflect that?
(Am I missing some 'magic' in another step that is done automatically?)

If you have a similar workflow, how does it look like?

Offline

#2 2017-07-12 23:35:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: How do I set up an ABS based workflow?

manasij7479 wrote:

If I want to incrementally develop on the kernel fetched the first time, is modifying the PKGBUILD enough to reflect that?

This doesn't make sense.  If you want to fetch new upstream source (a new kernel version) then modifying the PKGBUILD's pkgver would be enough to do that.  If you don't want to fetch new source, then don't modify anything.  Just rerun makepkg on what you already have.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-07-12 23:53:26

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: How do I set up an ABS based workflow?

I haven't built a kernel in a while, but the basic workflow for me is really simple. Acquire sources > patch > configure with one of the included CLI tools > setup compiler flags, anything else that is needed such as modprobed-db, which I highly recommend > compile. The order of tasks may vary. For a very minimal kernel on dual core APU compiling takes about 20 minutes. Compile times will vary greatly depending on your system of course. Hopefully this gives you an idea of how the process works. Also read as much of the wiki documentation as you can. A search for "How do I compile my kernel Arch Linux" should do the trick. smile


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#4 2017-07-14 14:43:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How do I set up an ABS based workflow?

R.I.P. ABS: https://www.archlinux.org/news/deprecation-of-abs/

Last edited by karol (2017-07-14 14:57:17)

Offline

#5 2017-07-14 14:44:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: How do I set up an ABS based workflow?

ABS != abs.  The Arch Build System isn't going anywhere.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2017-07-14 14:57:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How do I set up an ABS based workflow?

Argh, you're right, Trilby. svn and friends are still there.

Offline

#7 2017-07-14 16:13:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: How do I set up an ABS based workflow?

Hello Karol!  Always good to hear from you smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB