summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-24 06:51:47 +0000
committerKhem Raj <raj.khem@gmail.com>2018-08-24 08:58:13 -0700
commit6782e58cd66b80b980105be542097b2a1faf86b3 (patch)
tree3e2a0636face312048b1271b399f42083b7972f8 /meta-networking
parent8b021f35e343d5ea3b44ed9f9da8c9db6998bf3b (diff)
downloadmeta-openembedded-6782e58cd66b80b980105be542097b2a1faf86b3.tar.gz
autofs: Do not use pkg.m4 from build host
When build host does not have this macro file the build fails, we therefore make sure that the file is used from native sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs/0001-Do-not-hardcode-path-for-pkg.m4.patch28
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb2
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs/0001-Do-not-hardcode-path-for-pkg.m4.patch b/meta-networking/recipes-daemons/autofs/autofs/0001-Do-not-hardcode-path-for-pkg.m4.patch
new file mode 100644
index 000000000..f3f25f461
--- /dev/null
+++ b/meta-networking/recipes-daemons/autofs/autofs/0001-Do-not-hardcode-path-for-pkg.m4.patch
@@ -0,0 +1,28 @@
1From 6d24365f0828185fd1bb4d199209ca07eb95c41d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 24 Aug 2018 06:24:36 +0000
4Subject: [PATCH] Do not hardcode path for pkg.m4
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 configure.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/configure.in b/configure.in
14index 50aed15..f81767c 100644
15--- a/configure.in
16+++ b/configure.in
17@@ -12,7 +12,7 @@ define([AC_CACHE_SAVE], )dnl
18 AC_INIT(.autofs-5.1.4)
19
20 # for pkg-config macros
21-m4_include([/usr/share/aclocal/pkg.m4])
22+m4_include([pkg.m4])
23
24 #
25 # autofs installs by default in /usr
26--
271.9.1
28
diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb
index e4ef5bb08..8a1bcad28 100644
--- a/meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb
+++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb
@@ -25,6 +25,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \
25 file://0002-Replace-__S_IEXEC-with-S_IEXEC.patch \ 25 file://0002-Replace-__S_IEXEC-with-S_IEXEC.patch \
26 file://pkgconfig-libnsl.patch \ 26 file://pkgconfig-libnsl.patch \
27 file://0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch \ 27 file://0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch \
28 file://0001-Do-not-hardcode-path-for-pkg.m4.patch \
28 " 29 "
29SRC_URI[md5sum] = "17bc9d371cf39d99f400ebadfc2289bb" 30SRC_URI[md5sum] = "17bc9d371cf39d99f400ebadfc2289bb"
30SRC_URI[sha256sum] = "8d1c9964c8286ccb08262ad47c60bb6343492902def5399fd36d79a0ccb0e718" 31SRC_URI[sha256sum] = "8d1c9964c8286ccb08262ad47c60bb6343492902def5399fd36d79a0ccb0e718"
@@ -57,6 +58,7 @@ do_configure_prepend () {
57 if [ ! -e ${S}/acinclude.m4 ]; then 58 if [ ! -e ${S}/acinclude.m4 ]; then
58 cp ${S}/aclocal.m4 ${S}/acinclude.m4 59 cp ${S}/aclocal.m4 ${S}/acinclude.m4
59 fi 60 fi
61 cp ${STAGING_DATADIR_NATIVE}/aclocal/pkg.m4 .
60} 62}
61 63
62do_install_append () { 64do_install_append () {