diff options
author | Rob Bradford <rob@linux.intel.com> | 2008-10-31 12:17:40 +0000 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2008-10-31 13:35:29 +0000 |
commit | 1f833df9f471754b7ec290aeb6213b30f26de181 (patch) | |
tree | 237566e2b90c1cd4e4bf6637f49ddee3a3cafe6e /meta/packages | |
parent | 57fbc64c5907f4f0a28308eb59a47a67fd9c00cd (diff) | |
download | openembedded-core-1f833df9f471754b7ec290aeb6213b30f26de181.tar.gz openembedded-core-1f833df9f471754b7ec290aeb6213b30f26de181.tar.bz2 openembedded-core-1f833df9f471754b7ec290aeb6213b30f26de181.tar.xz openembedded-core-1f833df9f471754b7ec290aeb6213b30f26de181.zip |
fontconfig: Use volatiles for managing /var/cache/fontconfig
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig | 1 | ||||
-rw-r--r-- | meta/packages/fontconfig/fontconfig_2.6.0.bb | 15 |
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig b/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig new file mode 100644 index 000000000..2993959db --- /dev/null +++ b/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig @@ -0,0 +1 @@ +d root root 0755 /var/cache/fontconfig none diff --git a/meta/packages/fontconfig/fontconfig_2.6.0.bb b/meta/packages/fontconfig/fontconfig_2.6.0.bb index 3f7eca4b4..4a4c31fbe 100644 --- a/meta/packages/fontconfig/fontconfig_2.6.0.bb +++ b/meta/packages/fontconfig/fontconfig_2.6.0.bb @@ -3,8 +3,11 @@ LICENSE = "BSD" DESCRIPTION = "A library for configuring and customizing font access." DEPENDS = "expat freetype zlib" +PR = "r1" + SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ - file://fix-pkgconfig.patch;patch=1" + file://fix-pkgconfig.patch;patch=1 \ + file://97_fontconfig" PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils " FILES_fontconfig-utils-dbg = "${bindir}/*.dbg" @@ -74,3 +77,13 @@ do_install () { autotools_do_install } +do_install_append() { + install -d ${D}/etc/default/volatiles + install -m 0644 ${WORKDIR}/97_fontconfig ${D}/etc/default/volatiles + rmdir ${D}/var/cache/fontconfig + rmdir ${D}/var/cache/ +} + +pkg_postinst_hal () { + /etc/init.d/populate-volatile.sh update +} |