Patchwork [1/7] bitbake.conf: add systemd_unitdir

login
register
mail settings
Submitter Andreas Müller
Date March 22, 2012, 11:05 a.m.
Message ID <1332414362-6406-1-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/24119/
State Accepted
Commit bac4871105bc6bfa820955f28b4657740ea41961
Headers show

Comments

Andreas Müller - March 22, 2012, 11:05 a.m.
Some of oe-core's recipes need to know where systemd units are. Since the
directory might change in the future [1], we set the location once globally to
reduce maintenance efforts

[1] http://www.gossamer-threads.com/lists/gentoo/dev/245758

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Martin Jansa - March 22, 2012, 2:22 p.m.
On Thu, Mar 22, 2012 at 12:05:56PM +0100, Andreas Müller wrote:
> Some of oe-core's recipes need to know where systemd units are. Since the
> directory might change in the future [1], we set the location once globally to
> reduce maintenance efforts
> 
> [1] http://www.gossamer-threads.com/lists/gentoo/dev/245758

Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

for whole patchset, just lazy to reply on all :)

> 
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  meta/conf/bitbake.conf |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 07982d7..52802f6 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -39,6 +39,7 @@ export libexecdir = "${exec_prefix}/libexec"
>  export libdir = "${exec_prefix}/${baselib}"
>  export includedir = "${exec_prefix}/include"
>  export oldincludedir = "${exec_prefix}/include"
> +export systemd_unitdir = "${base_libdir}/systemd"
>  
>  # Linkage between native/cross/nativesdk layouts
>  base_bindir_native = "/bin"
> -- 
> 1.7.4.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Saul Wold - March 22, 2012, 5:57 p.m.
On 03/22/2012 04:05 AM, Andreas Müller wrote:
> Some of oe-core's recipes need to know where systemd units are. Since the
> directory might change in the future [1], we set the location once globally to
> reduce maintenance efforts
>
> [1] http://www.gossamer-threads.com/lists/gentoo/dev/245758
>
> Signed-off-by: Andreas Müller<schnitzeltony@googlemail.com>
> ---
>   meta/conf/bitbake.conf |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 07982d7..52802f6 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -39,6 +39,7 @@ export libexecdir = "${exec_prefix}/libexec"
>   export libdir = "${exec_prefix}/${baselib}"
>   export includedir = "${exec_prefix}/include"
>   export oldincludedir = "${exec_prefix}/include"
> +export systemd_unitdir = "${base_libdir}/systemd"
>
>   # Linkage between native/cross/nativesdk layouts
>   base_bindir_native = "/bin"

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 07982d7..52802f6 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -39,6 +39,7 @@  export libexecdir = "${exec_prefix}/libexec"
 export libdir = "${exec_prefix}/${baselib}"
 export includedir = "${exec_prefix}/include"
 export oldincludedir = "${exec_prefix}/include"
+export systemd_unitdir = "${base_libdir}/systemd"
 
 # Linkage between native/cross/nativesdk layouts
 base_bindir_native = "/bin"