diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-01-23 17:17:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-26 13:39:37 +0000 |
commit | b8473eb82201d8646fb6aadadc18796856b6523f (patch) | |
tree | acae7f224c49350523240ba90369e377e25e21f0 /meta/recipes-graphics/fontconfig | |
parent | 1979d9162a335b7d4718a6697ca57bfa16237f0e (diff) | |
download | poky-b8473eb82201d8646fb6aadadc18796856b6523f.tar.gz |
fontcache: fix postinst for nativesdk case
Both installing the binary into the correct place, and passing that place
to postinst_intercept were missing.
(From OE-Core rev: 9ac7415464b7817aa5cc0c2167ff61f4344660dd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/fontconfig')
-rw-r--r-- | meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb index beeae7fb10..8fa739de24 100644 --- a/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb +++ b/meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb | |||
@@ -42,6 +42,12 @@ do_install_append_class-target() { | |||
42 | ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache | 42 | ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache |
43 | } | 43 | } |
44 | 44 | ||
45 | do_install_append_class-nativesdk() { | ||
46 | # duplicate fc-cache for postinstall script | ||
47 | mkdir -p ${D}${libexecdir} | ||
48 | ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache | ||
49 | } | ||
50 | |||
45 | PACKAGES =+ "fontconfig-utils" | 51 | PACKAGES =+ "fontconfig-utils" |
46 | FILES_${PN} =+ "${datadir}/xml/*" | 52 | FILES_${PN} =+ "${datadir}/xml/*" |
47 | FILES_fontconfig-utils = "${bindir}/* ${libexecdir}/*" | 53 | FILES_fontconfig-utils = "${bindir}/* ${libexecdir}/*" |