[yocto] [meta-security][PATCH] Fix a trousers build on when not in use systemd: unparsed line: 'inherit'

Khem Raj raj.khem at gmail.com
Thu Jul 21 06:38:33 PDT 2016


On Thu, Jul 21, 2016 at 1:48 AM, Thomas Perrot <thomas.perrot at tupi.fr> wrote:
> Signed-off-by: Thomas Perrot <thomas.perrot at tupi.fr>
> ---
>  recipes-tpm/trousers/trousers_0.3.13.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/recipes-tpm/trousers/trousers_0.3.13.bb b/recipes-tpm/trousers/trousers_0.3.13.bb
> index e274972..6853f18 100644
> --- a/recipes-tpm/trousers/trousers_0.3.13.bb
> +++ b/recipes-tpm/trousers/trousers_0.3.13.bb
> @@ -16,8 +16,7 @@ SRC_URI = "http://sourceforge.net/projects/trousers/files/${BPN}/${PV}/${BPN}-${
>  SRC_URI[md5sum] = "ad508f97b406f6e48cd90e85d78e7ca8"
>  SRC_URI[sha256sum] = "bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3"
>
> -inherit autotools pkgconfig useradd update-rc.d
> -inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)}
> +inherit autotools pkgconfig useradd update-rc.d ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)}

while this is ok. For consistency may be check for systemd in
DISTRO_FEATURES check is better since thats what is used in other
places.

>
>  PACKAGECONFIG ?= "gmp "
>  PACKAGECONFIG[gmp] = "--with-gmp, --with-gmp=no, gmp"
> --
> 2.1.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list