Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] multilib.conf: Workaround opkg multilib issues
@ 2013-04-12 16:46 Richard Purdie
  2013-04-12 17:43 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2013-04-12 16:46 UTC (permalink / raw)
  To: openembedded-core

Multilib with opkg hasn't worked since the --force-overwrite option was dropped in
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=88a9f6db3482623c9cb54fb03db1045051cec9f6

Since we merged the libexecdir changes, we also need the --force-maintainer flag
to avoid conf file conflicts.

Both these changes are suboptimal however the alternative is completely broken and
these changes only affect people who have multilibs enabled and use opkg.

[YOCTO #3453]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
index 9a129f1..9ff06cc 100644
--- a/meta/conf/multilib.conf
+++ b/meta/conf/multilib.conf
@@ -14,3 +14,5 @@ INHERIT += "multilib_global"
 BBCLASSEXTEND_append = " ${MULTILIBS}"
 
 MULTILIB_GLOBAL_VARIANTS  = "lib32 lib64 libx32"
+
+OPKG_ARGS_append = " --force-maintainer --force-overwrite"





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] multilib.conf: Workaround opkg multilib issues
  2013-04-12 16:46 [PATCH] multilib.conf: Workaround opkg multilib issues Richard Purdie
@ 2013-04-12 17:43 ` Martin Jansa
  2013-04-12 21:36   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2013-04-12 17:43 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

On Fri, Apr 12, 2013 at 05:46:30PM +0100, Richard Purdie wrote:
> Multilib with opkg hasn't worked since the --force-overwrite option was dropped in
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=88a9f6db3482623c9cb54fb03db1045051cec9f6
> 
> Since we merged the libexecdir changes, we also need the --force-maintainer flag
> to avoid conf file conflicts.
> 
> Both these changes are suboptimal however the alternative is completely broken and
> these changes only affect people who have multilibs enabled and use opkg.

Can we add --force-overwrite only when MULTILIB is enabled?
 
> [YOCTO #3453]
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
> index 9a129f1..9ff06cc 100644
> --- a/meta/conf/multilib.conf
> +++ b/meta/conf/multilib.conf
> @@ -14,3 +14,5 @@ INHERIT += "multilib_global"
>  BBCLASSEXTEND_append = " ${MULTILIBS}"
>  
>  MULTILIB_GLOBAL_VARIANTS  = "lib32 lib64 libx32"
> +
> +OPKG_ARGS_append = " --force-maintainer --force-overwrite"
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] multilib.conf: Workaround opkg multilib issues
  2013-04-12 17:43 ` Martin Jansa
@ 2013-04-12 21:36   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2013-04-12 21:36 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On Fri, 2013-04-12 at 19:43 +0200, Martin Jansa wrote:
> On Fri, Apr 12, 2013 at 05:46:30PM +0100, Richard Purdie wrote:
> > Multilib with opkg hasn't worked since the --force-overwrite option was dropped in
> > http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=88a9f6db3482623c9cb54fb03db1045051cec9f6
> > 
> > Since we merged the libexecdir changes, we also need the --force-maintainer flag
> > to avoid conf file conflicts.
> > 
> > Both these changes are suboptimal however the alternative is completely broken and
> > these changes only affect people who have multilibs enabled and use opkg.
> 
> Can we add --force-overwrite only when MULTILIB is enabled?

This is why I'd put it in multilib.conf since that isn't included by
default and only used by people using multilibs.

Cheers,

Richard

> > [YOCTO #3453]
> > 
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> > diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
> > index 9a129f1..9ff06cc 100644
> > --- a/meta/conf/multilib.conf
> > +++ b/meta/conf/multilib.conf
> > @@ -14,3 +14,5 @@ INHERIT += "multilib_global"
> >  BBCLASSEXTEND_append = " ${MULTILIBS}"
> >  
> >  MULTILIB_GLOBAL_VARIANTS  = "lib32 lib64 libx32"
> > +
> > +OPKG_ARGS_append = " --force-maintainer --force-overwrite"
> > 
> > 
> > 
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-12 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 16:46 [PATCH] multilib.conf: Workaround opkg multilib issues Richard Purdie
2013-04-12 17:43 ` Martin Jansa
2013-04-12 21:36   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox