ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Re: Changing ltib base dir


From: Stuart Hughes
Subject: Re: [Ltib] Re: Changing ltib base dir
Date: Mon, 04 Dec 2006 15:53:24 +0000

On Mon, 2006-12-04 at 09:16 -0600, Kumar Gala wrote:
> On Dec 2, 2006, at 6:48 AM, Stuart Hughes wrote:
> 
> > On Fri, 2006-12-01 at 12:22 -0600, Kumar Gala wrote:
> >>>>> I could live with that.  I'd just have to re-train myself when I
> >>>>> do my
> >>>>> 'rm -rf' to get rid of the install not to include pkgs.
> >>>>
> >>>> I'll look into the changes for this and see if I can get them work
> >>>> out.
> >>>>
> >>> Okay, thanks
> >>>
> >>> Regards, Stuart
> >>
> >> Looks good.  Made the following two changes and everything seems ok.
> >>
> >> ltib:
> >> $bdir = /opt
> >> $lpp => "$bdir/ltib/pkgs"
> >>
> >> dist/lfs-5.1/rpm/rpm-fs.spec;
> >> mkdir -p $RPM_BUILD_ROOT/%{base}/ltib/pkgs
> >> chmod 777 $RPM_BUILD_ROOT/%{base}/ltib/pkgs
> >>
> >> - k
> >>
> > Hi Kumar,
> >
> > That's good.  Looks as if dist/lfs-5.1/rpm/rpm-fs.spec was already  
> > like
> > that (e.g. no change was needed)?
> 
> Not exactly, here's the diff to rpm-fs.spec:
> 
> +++ dist/lfs-5.1/rpm/rpm-fs.spec        4 Dec 2006 15:15:26 -0000
> @@ -81,8 +81,8 @@
> # make any user able to build rpms here
> var="`echo %{_prefix} | sed -e s,/usr$,,`/var"
> etc="`echo %{_prefix} | sed -e s,/usr$,,`/etc"
> -mkdir -p $RPM_BUILD_ROOT/%{base}/pkgs
> -chmod 777 $RPM_BUILD_ROOT/%{base}/pkgs
> +mkdir -p $RPM_BUILD_ROOT/%{base}/ltib/pkgs
> +chmod 777 $RPM_BUILD_ROOT/%{base}/ltib/pkgs
> mkdir -p $RPM_BUILD_ROOT/$var/tmp
> chmod 777 $RPM_BUILD_ROOT/$var/tmp
> chmod 777 $RPM_BUILD_ROOT/%{_prefix}/src/rpm/*
> 
> - k
> 
> 
Hi Kumar,

Okay I see now.  Also I will probably check in a change to .ltibrc to
have:

# The Local Package Pool, the global storage area for downloads.
# This directory must exist and you must have write permission.
# In general, leave this as it is.
#%lpp 
#/opt/ltib/pkgs

Regards, Stuart









reply via email to

[Prev in Thread] Current Thread [Next in Thread]