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 > > WARNING: docker-18.03.0+git708b068d3095c6a6be939eb2da78c921d2e945e2-r0 > do_package_qa: QA Issue: ELF binary 'work/aarch64-poky-linux/docker/ > 18.03.0+git708b068d3095c6a6be939eb2da78c921d2e945e2-r0/packages-split/ > docker/usr/bin/docker' 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 = "${SECURITY_NOPIE_CFLAGS}" > SECURITY_LDFLAGS_pn-docker = "" > > Signed-off-by: Changqing Li <[email protected]> > --- > recipes-containers/docker/docker_git.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/recipes-containers/docker/docker_git.bb > b/recipes-containers/docker/docker_git.bb > index 73e0120..b3673d4 100644 > --- a/recipes-containers/docker/docker_git.bb > +++ b/recipes-containers/docker/docker_git.bb > @@ -172,4 +172,4 @@ RDEPENDS_${PN}-contrib += "bash" > > # DO NOT STRIP docker > INHIBIT_PACKAGE_STRIP = "1" > -INSANE_SKIP_${PN} += "ldflags" > +INSANE_SKIP_${PN} += "ldflags textrel" > -- > 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
