You are not logged in.

#1 2003-07-23 13:32:14

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 552

how to relocate the abs-tree

Hi,

I reinstalled my laptop, I wanted to save the abstree and I found a line in
/etc/makepkg.conf:

# the top-level directory of all your PKGBUILDs
export ABSROOT="/usr/abs/"

Cewl, this make it easier for me to keep my own costumized abs-repository
at a seperate partition,(well, i could mount this partition to /usr/abs, but I
wanted to try it with "ABSROOT")

Well I tried to relocate my abs-tree there - but it failed. Running "abs" as root
downloaded all the files to /usr/abs.
Now, before I try to crash my system, if I put the quoted line to /etc/profile
would it work? If ABSROOT is important for "makepkg" so it should be
important for "abs", too, and so makepkg.conf should be parsed everytime
"abs" is running, or am I wrong here?

bye neri

Offline

#2 2003-07-24 00:10:56

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: how to relocate the abs-tree

No, you make a good point.  the 'abs' script doesn't pay any attention to makepkg.conf, it is hard-coded to use /usr/abs instead (though I'll change this in the future).

For now, you'll have to edit /usr/bin/abs and change the top line, ABS_ROOT, to point to your new abs location.

Offline

#3 2003-07-24 15:13:14

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 552

Re: how to relocate the abs-tree

Hi,

apeiro wrote:

For now, you'll have to edit /usr/bin/abs and change the top line, ABS_ROOT, to point to your new abs location.

Thanks, this does it for now.

bye neri

Offline

Board footer

Powered by FluxBB