multilib.conf: Workaround opkg multilib issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Apr 2013 16:46:30 +0000 (17:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Apr 2013 22:49:28 +0000 (23:49 +0100)
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]

(From OE-Core rev: 6310e66cd62aab6109027a8dce9c56bf721bea92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/multilib.conf

index 9a129f1..9ff06cc 100644 (file)
@@ -14,3 +14,5 @@ INHERIT += "multilib_global"
 BBCLASSEXTEND_append = " ${MULTILIBS}"
 
 MULTILIB_GLOBAL_VARIANTS  = "lib32 lib64 libx32"
+
+OPKG_ARGS_append = " --force-maintainer --force-overwrite"