Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   PATH in mock disappears (http://www.linux-archive.org/fedora-build-system/616506-path-mock-disappears.html)

Elias Abacioglu 01-03-2012 01:52 PM

PATH in mock disappears
 
Hey,

I have an issue. Trying to build a package in mock, package B. Package B requires a installed package, package A.
Package A installs on a custom PATH and requires the PATH to be set in order for package B to compile.


I tried adding config_opts['environment']['PATH'] = '/bin:/blabla:....' to /etc/mock/site-defaults.cfg.
The path works when i use mock --shell.

But when I do a mock --no-clean package.B.src.rpm, the path is missing, and the build fails.


Is there a way to set the PATH so that it is used during the "--rebuild" process?
I'm running mock 1.1.18.

Thanks,
Elias

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 05:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.