mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 14:49:50 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1979d9162a
commit
b8473eb822
@@ -20,6 +20,7 @@ if [ -n "$D" ] ; then
|
||||
$INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} \
|
||||
'bindir="${bindir}"' \
|
||||
'libdir="${libdir}"' \
|
||||
'libexecdir="${libexecdir}"' \
|
||||
'base_libdir="${base_libdir}"' \
|
||||
'fontconfigcachedir="${FONTCONFIG_CACHE_DIR}"' \
|
||||
'fontconfigcacheparams="${FONTCONFIG_CACHE_PARAMS}"' \
|
||||
|
||||
@@ -42,6 +42,12 @@ do_install_append_class-target() {
|
||||
ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache
|
||||
}
|
||||
|
||||
do_install_append_class-nativesdk() {
|
||||
# duplicate fc-cache for postinstall script
|
||||
mkdir -p ${D}${libexecdir}
|
||||
ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache
|
||||
}
|
||||
|
||||
PACKAGES =+ "fontconfig-utils"
|
||||
FILES_${PN} =+ "${datadir}/xml/*"
|
||||
FILES_fontconfig-utils = "${bindir}/* ${libexecdir}/*"
|
||||
|
||||
Reference in New Issue
Block a user