Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
Re: [opensuse-buildservice] Issues installing init scripts
  • From: Andrew Wafaa <andrew@xxxxxxxxxx>
  • Date: Thu, 15 Feb 2007 11:05:41 +0000
  • Message-id: <45D43E85.600@xxxxxxxxxx>
Nadia Derbey wrote:
>
> I think this is the thing u did wrong: the BuildRoot is the location
> where everything is installed before the package is actually built. so
> IMHO you shouldn't go there before your install.
> 1) the sources are uncomprssed into the BUILD/<your-package>
> 2) %build is done there
> 3) %install is done there too, with target directory = $RPM_BUILD_ROOT
> (which is /var/tmp/your-package>
> 4) %files is done relatively to $RPM_BUILD_ROOT with target drectory =
> RPM/<your-platform>
>
> Regards,
> Nadia
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
>

Thanks for the tip Nadia,

Most appreciated, I'll try it without going into the BuildRoot.

Regards,

Andy

--
Andrew Wafaa
Business Tel: +44 (0)7919 522451
Personal Tel: +44 (0)7974 074546
e-Mail: andrew@xxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >