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
>
> oci-runtime-tools-0.1.0+gitAUTOINC+6e7da8148f-r0 do_package_qa: QA Issue:
> ELF binary 'work/aarch64-poky-linux/oci-runtime-tools/0.1.0+gitAUTOINC+6e7
> da8148f-r0/packages-split/oci-runtime-tools/usr/sbin/oci-runtime-tool'
> 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-oci-runtime-tools = "${SECURITY_NOPIE_CFLAGS}"
>       SECURITY_LDFLAGS_pn-oci-runtime-tools = ""
>
> Signed-off-by: Changqing Li <[email protected]>
> ---
>  recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb 
> b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
> index 61b68b5..adbfc1e 100644
> --- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
> +++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
> @@ -11,7 +11,7 @@ SRCREV = "6e7da8148f4de2c9e9c9d3b345576898d4f412cb"
>  PV = "0.1.0+git${SRCPV}"
>  GO_IMPORT = "import"
>
> -INSANE_SKIP_${PN} += "ldflags"
> +INSANE_SKIP_${PN} += "ldflags textrel"
>
>  inherit goarch
>  inherit go
> --
> 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

Reply via email to