[opensuse-buildservice] overriding project conf
Hi, I've run into a couple of issues for which I can find no resolution, looking for some help. I'm running a private OBS to do Meego builds for arm, and in two case I seem to have gotten stuck due to the same problem, that my project inherits the prjconf from the repository. Here are the 2 cases: 1 - in one project (call it project A), I'm trying to rebuild a subset of packages from another project (call it project B), except that I'm replacing a few (bash, coreutils, etc) with busybox. The problem here is that projectA then has busybox but when anything gets rebuild in project A it loads bash and coreutils still because project B (which is the repository) has these rpms in its prjconf file (Preinstall). 2 - I'm trying to create 1 rpm which is just an aggregation of various rpms. So I have 1 project which creates this rpm, and then I with to use that rpm in the prjconf of projects that use this project as repository, but it still pulls in this project's repository's prjconf, which then pulls in all the original rpms which causes conflicts. I would really want to have an option to say "don't inherit the project conf" but there doesn't seem to be such an option. Any suggestions? thanks, Christian. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, Dec 03, 2010 at 11:51:06AM -0800, Christian Daudt wrote:
Hi, I've run into a couple of issues for which I can find no resolution, looking for some help. I'm running a private OBS to do Meego builds for arm, and in two case I seem to have gotten stuck due to the same problem, that my project inherits the prjconf from the repository. Here are the 2 cases: 1 - in one project (call it project A), I'm trying to rebuild a subset of packages from another project (call it project B), except that I'm replacing a few (bash, coreutils, etc) with busybox. The problem here is that projectA then has busybox but when anything gets rebuild in project A it loads bash and coreutils still because project B (which is the repository) has these rpms in its prjconf file (Preinstall). 2 - I'm trying to create 1 rpm which is just an aggregation of various rpms. So I have 1 project which creates this rpm, and then I with to use that rpm in the prjconf of projects that use this project as repository, but it still pulls in this project's repository's prjconf, which then pulls in all the original rpms which causes conflicts.
I would really want to have an option to say "don't inherit the project conf" but there doesn't seem to be such an option. Any suggestions?
There's no "don't inherit" option, but there's a way to remove the things you don't like: Required: !coreutils will remove "coreutils" from the required list, Required: !* will wipe the list. You probably need to modify the "Preinstall", "Required" and "Support" lists. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Christian Daudt
-
Michael Schroeder