summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/yum/files/98_yum1
-rw-r--r--meta/packages/yum/yum_3.2.18.bb10
2 files changed, 10 insertions, 1 deletions
diff --git a/meta/packages/yum/files/98_yum b/meta/packages/yum/files/98_yum
new file mode 100644
index 000000000..cb4047ad2
--- /dev/null
+++ b/meta/packages/yum/files/98_yum
@@ -0,0 +1 @@
+d root root 0755 /var/cache/yum none
diff --git a/meta/packages/yum/yum_3.2.18.bb b/meta/packages/yum/yum_3.2.18.bb
index 3a60cc2f7..a487a3c26 100644
--- a/meta/packages/yum/yum_3.2.18.bb
+++ b/meta/packages/yum/yum_3.2.18.bb
@@ -1,5 +1,5 @@
HOMEPAGE = "http://linux.duke.edu/projects/yum/"
-PR = "r5"
+PR = "r6"
SRC_URI = "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz \
file://paths.patch;patch=1 \
@@ -27,6 +27,14 @@ do_install_append () {
install -d ${D}${bindir}/
install ${WORKDIR}/extract-postinst.awk ${D}${bindir}/
install ${WORKDIR}/yum-install-recommends.py ${D}${bindir}/
+ rmdir ${D}${localstatedir}/cache/yum
+ rmdir ${D}${localstatedir}/cache
+ install -d ${D}/etc/default/volatiles
+ install -m 0644 ${WORKDIR}/98_yum ${D}/etc/default/volatiles
+}
+
+pkg_postinst_yum () {
+ /etc/init.d/populate-volatile.sh update
}
FILES_${PN} += "${libdir}/python* ${datadir}/yum-cli"