You are not logged in.

#1 2007-04-10 18:17:02

BeardedYeti
Member
Registered: 2006-03-26
Posts: 11

does pacman -Syu replace packages customized with ABS?

I used abs to add keyboard DVD navigation to mplayer the other day. (it involved enabling a compiler flag in the PKGBUILD) I assume that if I upgrade my system using pacman my customized version will be replaced. I guess what I'm trying to say is: is there some method to automatically build and install packages with a customized PKGBUILD on every upgrade so that I don't have to do it manually?

On the one hand it sounds plausible because that must be how all these source-based distros must work. On the other hand, I imagine that compiler flags must change occasionally between releases...

TIA

Offline

#2 2007-04-10 18:40:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: does pacman -Syu replace packages customized with ABS?

The method is to write a script - functionality of that sort is not available by default.

There are two ways to stop pacman overwriting your customised package - Add it to an IgnorePkg line in pacman.conf, or give your version a different name.

Offline

#3 2007-04-10 18:47:54

BeardedYeti
Member
Registered: 2006-03-26
Posts: 11

Re: does pacman -Syu replace packages customized with ABS?

wow, thanks for the fast reply!

This wasn't really the answer I was hoping for, but I guess there isn't really a pressing need for that kind of functionality.

I just get really excited about always having the latest versions of all the software, and I know I'll get lazy and forget to upgrade my customized packages. tongue

Offline

#4 2007-04-10 18:49:58

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: does pacman -Syu replace packages customized with ABS?

Have a peek at srcpac.

Offline

#5 2007-04-10 19:26:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: does pacman -Syu replace packages customized with ABS?

lucke - very good point, and one I'm always forgetting about. Thanks. smile

Offline

#6 2007-04-10 19:36:22

BeardedYeti
Member
Registered: 2006-03-26
Posts: 11

Re: does pacman -Syu replace packages customized with ABS?

lucke wrote:

Have a peek at srcpac.

Ooh, I'll have to play with this when I get home!

Looks good. thank you cool

Offline

Board footer

Powered by FluxBB