From e478550c8cd889f12e336e268e9e3b30827bf840 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 8 Feb 2017 16:10:50 +0000 Subject: openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a new class) Absolute path symlinks are a bit of a pain for sstate and the native versions of these recipes currently contain broken symlinks as a result. There are only a small number of problematic recipes, at least in OE-Core, namely the three here. Rather than trying to make sstate handle this magically, which turns out to be a harder problem than you'd first realise, simply make the symlinks relative early in the process and avoid all the problems. The alternative is adding new complexity to sstate which we could really do without as without the complexity, you can't always tell where the absolute symlink is relative to (due to prefixes used for native sstate). Signed-off-by: Richard Purdie --- meta/recipes-graphics/fontconfig/fontconfig_2.12.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.12.1.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.12.1.bb index 8616154c61..95b066ce46 100644 --- a/meta/recipes-graphics/fontconfig/fontconfig_2.12.1.bb +++ b/meta/recipes-graphics/fontconfig/fontconfig_2.12.1.bb @@ -37,7 +37,7 @@ RREPLACES_fontconfig-utils = "libfontconfig-utils" RCONFLICTS_fontconfig-utils = "libfontconfig-utils" DEBIAN_NOAUTONAME_fontconfig-utils = "1" -inherit autotools pkgconfig +inherit autotools pkgconfig relative_symlinks FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig" -- cgit v1.2.3