cronie: fix out of tree build
(From OE-Core rev: fd9e591f266e1a6c183e77f24e50d31e0d52bdd5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2a48e9007c
commit
6382979cca
|
@ -0,0 +1,31 @@
|
||||||
|
For an out of tree build, the cronie-common.h file was not being
|
||||||
|
found correctly, so point it to the top_srcdir
|
||||||
|
|
||||||
|
Upstream-Status: Submitted
|
||||||
|
|
||||||
|
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
||||||
|
|
||||||
|
Index: cronie-1.4.11/anacron/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- cronie-1.4.11.orig/anacron/Makefile.am
|
||||||
|
+++ cronie-1.4.11/anacron/Makefile.am
|
||||||
|
@@ -9,6 +9,7 @@ common_nodist = anacron-paths.h
|
||||||
|
nodist_anacron_SOURCES = $(common_nodist)
|
||||||
|
BUILT_SOURCES = $(common_nodist)
|
||||||
|
|
||||||
|
+AM_CFLAGS = -I$(top_srcdir)
|
||||||
|
|
||||||
|
LDADD = $(LIBSELINUX) $(LIBPAM) $(LIBAUDIT)
|
||||||
|
|
||||||
|
Index: cronie-1.4.11/src/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- cronie-1.4.11.orig/src/Makefile.am
|
||||||
|
+++ cronie-1.4.11/src/Makefile.am
|
||||||
|
@@ -15,6 +15,7 @@ nodist_crond_SOURCES = $(common_nodist)
|
||||||
|
nodist_crontab_SOURCES = $(common_nodist)
|
||||||
|
BUILT_SOURCES = $(common_nodist)
|
||||||
|
|
||||||
|
+AM_CFLAGS = -I$(top_srcdir)
|
||||||
|
|
||||||
|
LDADD = $(LIBSELINUX) $(LIBPAM) $(LIBAUDIT)
|
||||||
|
|
|
@ -19,6 +19,7 @@ RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '',
|
||||||
PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
|
PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
|
||||||
|
|
||||||
SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
|
SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
|
||||||
|
file://fix-out-of-tree-build.patch \
|
||||||
file://crond.init \
|
file://crond.init \
|
||||||
file://crontab \
|
file://crontab \
|
||||||
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
|
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
|
||||||
|
|
Loading…
Reference in New Issue