[zypp-devel] Patterns and arch dependent packages
Hi, Trying to have common patterns used by the different architectures, we are running into issues with packages which is available in one arch but not the other... Is there a way to specify that a certain package should only be installed for a specific architecture? Anas-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 03/14/2011 03:15 PM, Anas Nashif wrote:
Hi, Trying to have common patterns used by the different architectures, we are running into issues with packages which is available in one arch but not the other... Is there a way to specify that a certain package should only be installed for a specific architecture?
Not in repomd.xml format. In the susetags format that we use for installation the patterns are arch specific. You still need to have one copy of the pattern for each arch (coolo uses the C preprocessor && ifdefs to generate them). The pattern parser in repomd.xml is the same as the other solvables one, so try adding <pattern arch="foo">, that will make the pattern architecture specific. -- Duncan Mac-Vicar P. - Novell® Making IT Work As One™ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Mon, Mar 14, 2011 at 02:15:02PM +0000, Anas Nashif wrote:
Trying to have common patterns used by the different architectures, we are running into issues with packages which is available in one arch but not the other... Is there a way to specify that a certain package should only be installed for a specific architecture?
If "should be installed" is ok for you, why not use a Recommends? 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: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 18 Mar 2011, at 10:10, Michael Schroeder wrote:
On Mon, Mar 14, 2011 at 02:15:02PM +0000, Anas Nashif wrote:
Trying to have common patterns used by the different architectures, we are running into issues with packages which is available in one arch but not the other... Is there a way to specify that a certain package should only be installed for a specific architecture?
If "should be installed" is ok for you, why not use a Recommends?
We do not support those :( Anas
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: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (3)
-
Anas Nashif
-
Duncan Mac-Vicar P.
-
Michael Schroeder