All of lore.kernel.org
 help / color / mirror / Atom feed
From: <changqing.li@windriver.com>
To: <meta-virtualization@yoctoproject.org>
Subject: [PATCH] docker-distribution: fix do package qa warning[ldflags]
Date: Wed, 10 Oct 2018 14:59:10 +0800	[thread overview]
Message-ID: <1539154754-137572-2-git-send-email-changqing.li@windriver.com> (raw)
In-Reply-To: <1539154754-137572-1-git-send-email-changqing.li@windriver.com>

From: Changqing Li <changqing.li@windriver.com>

when bitbake lib32-docker-distribution, we might met below
warning:

lib32-docker-distribution-v2.6.2-r0 do_package_qa: QA Issue: No GNU_HASH
in the elf binary: 'work/core2-32-wrsmllib32-linux/lib32-docker-distribution
/v2.6.2-r0/packages-split/lib32-docker-registry/usr/sbin/registry' [ldflags]

which caused by "INSANE_SKIP_docker-registry += "ldflags already-stripped"
don't cover case for multilib, so add multilib prefix MLPREFIX
to fix it.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 recipes-containers/docker-distribution/docker-distribution_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index add5ce1..d4f8098 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -57,7 +57,7 @@ do_install() {
 }
 
 INSANE_SKIP_${PN} += "ldflags already-stripped"
-INSANE_SKIP_docker-registry += "ldflags already-stripped"
+INSANE_SKIP_${MLPREFIX}docker-registry += "ldflags already-stripped"
 
 FILES_docker-registry = "${sbindir}/*"
 FILES_docker-registry += "${systemd_unitdir}/system/docker-registry.service"
-- 
2.7.4



  reply	other threads:[~2018-10-10  6:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-10  6:59 [PATCH][meta-cloud-services] consul: add INSANE_SKIP for textrel changqing.li
2018-10-10  6:59 ` changqing.li [this message]
2018-10-11 18:37   ` [PATCH] docker-distribution: fix do package qa warning[ldflags] Bruce Ashfield
2018-10-10  6:59 ` [PATCH] docker-distribution: fix do package qa warning [textrel] changqing.li
2018-10-11 18:37   ` Bruce Ashfield
2018-10-10  6:59 ` [PATCH] docker: fix do package qa warning changqing.li
2018-10-11 18:38   ` Bruce Ashfield
2018-10-10  6:59 ` [PATCH] oci-image-tools: " changqing.li
2018-10-11 18:38   ` Bruce Ashfield
2018-10-10  6:59 ` [PATCH] oci-runtime-tools: " changqing.li
2018-10-11 18:35   ` Bruce Ashfield
2018-10-11 18:34 ` [PATCH][meta-cloud-services] consul: add INSANE_SKIP for textrel Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2018-09-30  3:17 [PATCH] docker-distribution: fix do package qa warning[ldflags] changqing.li
2018-10-01  1:15 ` Bruce Ashfield
2018-10-09  5:08   ` Changqing Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1539154754-137572-2-git-send-email-changqing.li@windriver.com \
    --to=changqing.li@windriver.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.