Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Fixes for multilib
@ 2015-06-10  7:32 Robert Yang
  2015-06-10  7:32 ` [PATCH 1/2] update-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS Robert Yang
  2015-06-10  7:32 ` [PATCH 2/2] multilib.bbclass: use package_qa_handle_error Robert Yang
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Yang @ 2015-06-10  7:32 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit de6a26b95a7f7bd8f9dc47ab35d8b07ba671f4eb:

  x264: use x86 over-ride instead of i586 (2015-06-08 17:32:46 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/multilib
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/multilib

Robert Yang (2):
  update-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS
  multilib.bbclass: use package_qa_handle_error

 meta/classes/insane.bbclass      |    2 +-
 meta/classes/multilib.bbclass    |    5 +++--
 meta/classes/update-rc.d.bbclass |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

-- 
1.7.9.5



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

* [PATCH 1/2] update-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS
  2015-06-10  7:32 [PATCH 0/2] Fixes for multilib Robert Yang
@ 2015-06-10  7:32 ` Robert Yang
  2015-06-10  7:32 ` [PATCH 2/2] multilib.bbclass: use package_qa_handle_error Robert Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2015-06-10  7:32 UTC (permalink / raw)
  To: openembedded-core

Fixed when build with multilib:
WARNING: Multilib QA Issue: lib32-alsa-state package lib32-alsa-state - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-modutils-initscripts package lib32-modutils-initscripts - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-init-ifupdown package lib32-init-ifupdown - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-xserver-nodm-init package lib32-xserver-nodm-init - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-sysklogd package lib32-sysklogd - suspicious values 'update-rc.d' in RRECOMMENDS

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/update-rc.d.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index c385635..4d62c2f 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -118,7 +118,7 @@ python populate_packages_updatercd () {
         postrm += localdata.getVar('updatercd_postrm', True)
         d.setVar('pkg_postrm_%s' % pkg, postrm)
 
-        d.appendVar('RRECOMMENDS_' + pkg, " ${UPDATERCD}")
+        d.appendVar('RRECOMMENDS_' + pkg, " ${MLPREFIX}${UPDATERCD}")
 
     # Check that this class isn't being inhibited (generally, by
     # systemd.bbclass) before doing any work.
-- 
1.7.9.5



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

* [PATCH 2/2] multilib.bbclass: use package_qa_handle_error
  2015-06-10  7:32 [PATCH 0/2] Fixes for multilib Robert Yang
  2015-06-10  7:32 ` [PATCH 1/2] update-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS Robert Yang
@ 2015-06-10  7:32 ` Robert Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2015-06-10  7:32 UTC (permalink / raw)
  To: openembedded-core

Use package_qa_handle_error to handle the QA issue.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/insane.bbclass   |    2 +-
 meta/classes/multilib.bbclass |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 14d4a3c..c1afde5 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -30,7 +30,7 @@ WARN_QA ?= "ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \
             textrel already-stripped incompatible-license files-invalid \
             installed-vs-shipped compile-host-path install-host-path \
             pn-overrides infodir build-deps file-rdeps \
-            unknown-configure-option symlink-to-sysroot \
+            unknown-configure-option symlink-to-sysroot multilib \
             "
 ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 2b5d356..8f61d8d 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -132,8 +132,9 @@ python do_package_qa_multilib() {
                 (not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')):
                 candidates.append(i)
         if len(candidates) > 0:
-            bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s" 
-                   % (d.getVar('PN', True), pkg, ' '.join(candidates), var))
+            msg = "%s package %s - suspicious values '%s' in %s" \
+                   % (d.getVar('PN', True), pkg, ' '.join(candidates), var)
+            package_qa_handle_error("multilib", msg, d)
 
     ml = d.getVar('MLPREFIX', True)
     if not ml:
-- 
1.7.9.5



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

end of thread, other threads:[~2015-06-10  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10  7:32 [PATCH 0/2] Fixes for multilib Robert Yang
2015-06-10  7:32 ` [PATCH 1/2] update-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS Robert Yang
2015-06-10  7:32 ` [PATCH 2/2] multilib.bbclass: use package_qa_handle_error Robert Yang

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