[oe-commits] Laurentiu Palcu : base-files: remove /var/cache from volatiles

git at git.openembedded.org git at git.openembedded.org
Tue Feb 5 21:38:18 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: b13534c8c1efc55c9f698d401c33d4396e29da76
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b13534c8c1efc55c9f698d401c33d4396e29da76

Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date:   Mon Feb  4 11:26:05 2013 +0200

base-files: remove /var/cache from volatiles

Having the cache in tmpfs implies cache regeneration after every reboot.
For an embedded device this might not be very efficient. So, it is
better for the cache to be persistent between reboots.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/base-files/base-files_3.0.14.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index a90e995..6a3db50 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -42,7 +42,7 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
            ${mandir} ${datadir}/misc ${localstatedir} \
            ${localstatedir}/backups ${localstatedir}/lib \
            /sys ${localstatedir}/lib/misc ${localstatedir}/spool \
-           ${localstatedir}/volatile ${localstatedir}/volatile/cache \
+           ${localstatedir}/volatile \
            ${localstatedir}/volatile/lock/subsys \
            ${localstatedir}/volatile/log \
            ${localstatedir}/volatile/run \
@@ -55,7 +55,7 @@ dirs3755 = "/srv  \
             ${prefix}/local/share ${prefix}/local/src"
 dirs4775 = "/var/mail"
 
-volatiles = "cache run log lock tmp"
+volatiles = "run log lock tmp"
 conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
              ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \
              ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \





More information about the Openembedded-commits mailing list