[oe] [meta-networking][PATCH] autofs: Fix build breakage with systemd in DISTRO_FEATURE

Joe MacDonald Joe.MacDonald at windriver.com
Tue Mar 19 00:55:40 UTC 2013


[[oe] [meta-networking][PATCH] autofs: Fix build breakage with systemd in DISTRO_FEATURE] On 13.03.18 (Mon 14:18) Khem Raj wrote:

> When systemd is in distro features we need to translate it
> into the appropriate PACKAGECONFIG flag

Aw poo.  Thanks, Khem.  Merged.

-J.

> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  .../recipes-daemons/autofs/autofs_5.0.7.bb         |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
> index 6cc3b25..7d8cf17 100644
> --- a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
> +++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
> @@ -51,6 +51,8 @@ CFLAGS += "${LDFLAGS}"
>  
>  PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
>  
> +PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
> +
>  EXTRA_OEMAKE = "DONTSTRIP=1"
>  EXTRA_OECONF += "--disable-mount-locking \
>                  --enable-ignore-busy --with-openldap=no \
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130318/23e377f0/attachment-0002.sig>


More information about the Openembedded-devel mailing list