[Top][All Lists]

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

Re: [Ltib] Re: Changing ltib base dir

From: Kumar Gala
Subject: Re: [Ltib] Re: Changing ltib base dir
Date: Mon, 4 Dec 2006 09:16:16 -0600

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

Okay, thanks

Regards, Stuart

Looks good.  Made the following two changes and everything seems ok.

$bdir = /opt
$lpp => "$bdir/ltib/pkgs"

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

reply via email to

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