Patchwork [1/1] coreutils: make coreutils work with long TMPDIR

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Dec. 14, 2012, 2:28 a.m.
Message ID <d54fe3b035981ded17df1ed72236822d3cee0b6a.1355388935.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/40967/
State New
Headers show

Comments

Qi.Chen@windriver.com - Dec. 14, 2012, 2:28 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

Make coreutils work with long TMPDIR by explicitly specifying its
acpaths with relative paths.

[YOCTO #2766]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/coreutils/coreutils_8.14.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb b/meta/recipes-core/coreutils/coreutils_8.14.bb
index 3f58cfd..cc8db8f 100644
--- a/meta/recipes-core/coreutils/coreutils_8.14.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
@@ -7,7 +7,7 @@  BUGTRACKER = "http://debbugs.gnu.org/coreutils"
 LICENSE = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
                     file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad"
-PR = "r5"
+PR = "r6"
 DEPENDS = "gmp libcap"
 DEPENDS_class-native = ""
 
@@ -37,6 +37,9 @@  base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill ln ls mkdi
 
 sbindir_progs= "chroot"
 
+# use relative acpath for coreutils, otherwise it may fail to configure with long tmpdir
+acpaths = "-I ./m4"
+
 do_install_append() {
 	for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done