looks good.

On Wed, Mar 30, 2016 at 2:39 PM, Armin Kuster <akuster...@gmail.com> wrote:
> use CC from build not host via EXTRA_OEMAKE
>
> thanks khem
>
> this fixes the below error.
> WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: /sbin/paxctl contained in 
> package paxctl requires libc.so.6(GLIBC_2.3.4)(64bit), but no providers found 
> in RDEPENDS_paxctl? [file-rdeps]
>
> minor recipe cleanup
>
> Signed-off-by: Armin Kuster <akuster...@gmail.com>
> ---
>  recipes-security/paxctl/paxctl_0.9.bb | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/recipes-security/paxctl/paxctl_0.9.bb 
> b/recipes-security/paxctl/paxctl_0.9.bb
> index 8eadad1..d69219f 100644
> --- a/recipes-security/paxctl/paxctl_0.9.bb
> +++ b/recipes-security/paxctl/paxctl_0.9.bb
> @@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = 
> "file://paxctl.c;beginline=1;endline=5;md5=0ddd065c61020dda79
>                      
> file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813
>  \
>                    "
>
> -SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz";
> +SRC_URI = "http://pax.grsecurity.net/${BP}.tar.gz";
> +
>  SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
>  SRC_URI[sha256sum] = 
> "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
>
> +EXTRA_OEMAKE = "CC='${CC}' DESTDIR='${D}'"
> +
>  do_install() {
> -       oe_runmake 'DESTDIR=${D}' install
> +       oe_runmake install
>  }
> -
> -FILES_${PN} = "${base_sbindir}/paxctl"
> -FILES_${PN}-doc = "${mandir}/man1/paxctl.1"
> --
> 2.3.5
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to