systemd: set the location of the kill binary
PATCH 1/1 systemd: set the location of the kill binary
Otherwise systemd uses AC_PROG_PATH and finds it in the sysroot, which won't work on the target.
--- meta/recipes-core/systemd/systemd_197.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/systemd/systemd_197.bb +2 -0
@@ -48,6 +48,8 @@ PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" # Compress the journal PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz" +export ac_cv_path_KILL="/bin/kill" + # The gtk+ tools should get built as a separate recipe e.g. systemd-tools EXTRA_OECONF = " --with-rootprefix=${base_prefix} \ --with-rootlibdir=${base_libdir} \
Signature · 1 line
1.7.10.4
Quoted 13 lines · Ross Burton
Otherwise systemd uses
AC_PROG_PATHand finds it in the sysroot, which won't work on the target.Signed-off-by Ross Burton <[email protected]>--- meta/recipes-core/systemd/systemd_197.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-core/systemd/systemd_197.bb +0
-0
meta/recipes-core/systemd/systemd_197.bb PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" · line 51
Quoted 4 lines
meta/recipes-core/systemd/systemd_197.bb +1
-0@@ -48,6 +48,8 @@ PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" # Compress the journal PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz" +export ac_cv_path_KILL="/bin/kill"
This can be given in EXTRA_OECONF IIRC. Did you try it?
Quoted 11 lines
meta/recipes-core/systemd/systemd_197.bb +0
-1# The gtk+ tools should get built as a separate recipe e.g. systemd-tools EXTRA_OECONF = " --with-rootprefix=${base_prefix} \ --with-rootlibdir=${base_libdir} \ --1.7.10.4
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Quoted 3 lines · Otavio Salvador
Quoted 1 line
+export ac_cv_path_KILL="/bin/kill"
This can be given in
EXTRA_OECONFIIRC. Did you try it?
That would also work, yes. Is that the preferred style?
Ross
Quoted 6 lines · Ross
Quoted 3 lines · Otavio Salvador
Quoted 1 line
+export ac_cv_path_KILL="/bin/kill"
This can be given in
EXTRA_OECONFIIRC. Did you try it?That would also work, yes. Is that the preferred style?
At least for me it makes more sense as it is being passed to change configure behavior so makes sense to be there.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Quoted 13 lines · Ross Burton
Otherwise systemd uses
AC_PROG_PATHand finds it in the sysroot, which won't work on the target.Signed-off-by Ross Burton <[email protected]>--- meta/recipes-core/systemd/systemd_197.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-core/systemd/systemd_197.bb +0
-0
meta/recipes-core/systemd/systemd_197.bb PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" · line 51
Quoted 4 lines
meta/recipes-core/systemd/systemd_197.bb +1
-0@@ -48,6 +48,8 @@ PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" # Compress the journal PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz" +export ac_cv_path_KILL="/bin/kill"
may be ac_cv_path_KILL="/usr/bin/env kill"