Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] bitbake.conf: Change systemd_unitdir definition
@ 2012-10-26  7:03 Khem Raj
  2012-10-28  1:14 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2012-10-26  7:03 UTC (permalink / raw)
  To: openembedded-core

systemd_unitdir indicates the arch independent
files which are basically scripts and unit files
and systemd wants then to be in /lib always even
when base_libdir is  /lib64, hence we have to reflect
that and not use base_libdir to define it. Otherwise
on architectures where base_libdir is lib64 e.g. ppc64
or multilibbed x86_64 this wont work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/bitbake.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 5cb5b13..e7fa731 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -31,6 +31,7 @@ export localstatedir = "${base_prefix}/var"
 export infodir = "${datadir}/info"
 export mandir = "${datadir}/man"
 export docdir = "${datadir}/doc"
+export systemd_unitdir = "/lib/systemd"
 
 # Architecture dependent paths
 export bindir = "${exec_prefix}/bin"
@@ -39,7 +40,6 @@ 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"
 localedir = "${libdir}/locale"
 
 # Linkage between native/cross/nativesdk layouts
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bitbake.conf: Change systemd_unitdir definition
  2012-10-26  7:03 [PATCH] bitbake.conf: Change systemd_unitdir definition Khem Raj
@ 2012-10-28  1:14 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-10-28  1:14 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 10/26/2012 12:03 AM, Khem Raj wrote:
> systemd_unitdir indicates the arch independent
> files which are basically scripts and unit files
> and systemd wants then to be in /lib always even
> when base_libdir is  /lib64, hence we have to reflect
> that and not use base_libdir to define it. Otherwise
> on architectures where base_libdir is lib64 e.g. ppc64
> or multilibbed x86_64 this wont work
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/conf/bitbake.conf |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 5cb5b13..e7fa731 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -31,6 +31,7 @@ export localstatedir = "${base_prefix}/var"
>   export infodir = "${datadir}/info"
>   export mandir = "${datadir}/man"
>   export docdir = "${datadir}/doc"
> +export systemd_unitdir = "/lib/systemd"
>
>   # Architecture dependent paths
>   export bindir = "${exec_prefix}/bin"
> @@ -39,7 +40,6 @@ 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"
>   localedir = "${libdir}/locale"
>
>   # Linkage between native/cross/nativesdk layouts
>
Merged into OE-Core

Thanks
	Sau!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-28  1:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26  7:03 [PATCH] bitbake.conf: Change systemd_unitdir definition Khem Raj
2012-10-28  1:14 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox