Skip to contentSkip to conversation

multilib.conf: Workaround opkg multilib issues

PATCH In review Richard Purdie 2 participants 3 messages Apr 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multilib.conf: Workaround opkg multilib issues

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]

---

meta/conf/multilib.conf +2 -0
index 9a129f1..9ff06cc 100644
@@ -14,3 +14,5 @@ INHERIT += "multilib_global"
 BBCLASSEXTEND_append = " ${MULTILIBS}"
 
 MULTILIB_GLOBAL_VARIANTS  = "lib32 lib64 libx32"
+
+OPKG_ARGS_append = " --force-maintainer --force-overwrite"
#1 lore raw
Quoted 8 lines · Richard Purdie

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?

Quoted 21 lines

[YOCTO #3453]

---

meta/conf/multilib.conf +2 -0
index 9a129f1..9ff06cc 100644
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 11 lines · Martin Jansa
Quoted 8 lines · Richard Purdie

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

Quoted 22 lines
Quoted 21 lines

[YOCTO #3453]

---

meta/conf/multilib.conf +2 -0
index 9a129f1..9ff06cc 100644
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core