summaryrefslogtreecommitdiff
path: root/recipes/apt/apt-package.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/apt/apt-package.inc')
-rw-r--r--recipes/apt/apt-package.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/apt/apt-package.inc b/recipes/apt/apt-package.inc
index 2b4f6d54a8..350bebd7f6 100644
--- a/recipes/apt/apt-package.inc
+++ b/recipes/apt/apt-package.inc
@@ -99,4 +99,11 @@ do_install () {
install -d ${D}${localstatedir}/cache/apt/archives/partial
install -d ${D}${docdir}/apt/examples
install -m 0644 doc/examples/* ${D}${docdir}/apt/examples/
+
+ install -d ${D}${sysconfdir}/default/volatiles
+ install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_apt
+}
+
+pkg_postinst_${PN} () {
+ /etc/init.d/populate-volatile.sh update
}