merged Bruce On Wed, Oct 10, 2018 at 3:00 AM <[email protected]> wrote: > > From: Changqing Li <[email protected]> > > 1. After security flag PIE is enabled by default, we might met > below QA warning on some arch, like aarch64, fix it by skip > textrel QA check refer commit b689c72a of oe-core > > docker-distribution-v2.6.2-r0 do_package_qa: QA Issue: ELF binary > 'work/aarch64-poky-linux/docker-distribution/v2.6.2-r0/packages-split/ > docker-registry/usr/sbin/registry' has relocations in .text [textrel] > > 2. This problem is caused since security_flags.inc is used by default. > so alternative work around is: > SECURITY_CFLAGS_pn-docker-distribution = "${SECURITY_NOPIE_CFLAGS}" > SECURITY_LDFLAGS_pn-docker-distribution = "" > > Signed-off-by: Changqing Li <[email protected]> > --- > 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 d4f8098..2892556 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_${MLPREFIX}docker-registry += "ldflags already-stripped" > +INSANE_SKIP_${MLPREFIX}docker-registry += "ldflags already-stripped textrel" > > FILES_docker-registry = "${sbindir}/*" > FILES_docker-registry += "${systemd_unitdir}/system/docker-registry.service" > -- > 2.7.4 > > -- > _______________________________________________ > meta-virtualization mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-virtualization
-- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
