summaryrefslogtreecommitdiff
path: root/packages/base-files/base-files_3.0.14.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base-files/base-files_3.0.14.bb')
-rw-r--r--packages/base-files/base-files_3.0.14.bb19
1 files changed, 12 insertions, 7 deletions
diff --git a/packages/base-files/base-files_3.0.14.bb b/packages/base-files/base-files_3.0.14.bb
index 1e80f4c7f3..37068780fd 100644
--- a/packages/base-files/base-files_3.0.14.bb
+++ b/packages/base-files/base-files_3.0.14.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Miscellaneous files for the base system."
SECTION = "base"
PRIORITY = "required"
-PR = "r65"
+PR = "r66"
LICENSE = "GPL"
SRC_URI = " \
@@ -25,7 +25,7 @@ SRC_URI = " \
S = "${WORKDIR}"
docdir_append = "/${P}"
-dirs1777 = "/tmp ${localstatedir}/lock ${localstatedir}/tmp"
+dirs1777 = "/tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp"
dirs2775 = "/home ${prefix}/src ${localstatedir}/local"
dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
${sysconfdir}/skel /lib /mnt /proc /home/root /sbin \
@@ -33,13 +33,16 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
${libdir} ${sbindir} ${datadir} \
${datadir}/common-licenses ${datadir}/dict ${infodir} \
${mandir} ${datadir}/misc ${localstatedir} \
- ${localstatedir}/backups ${localstatedir}/cache \
- ${localstatedir}/lib /sys ${localstatedir}/lib/misc \
- ${localstatedir}/lock/subsys ${localstatedir}/log \
- ${localstatedir}/run ${localstatedir}/spool \
+ ${localstatedir}/backups ${localstatedir}/lib \
+ /sys ${localstatedir}/lib/misc ${localstatedir}/spool \
+ ${localstatedir}/volatile ${localstatedir}/volatile/cache \
+ ${localstatedir}/volatile/lock/subsys \
+ ${localstatedir}/volatile/log \
+ ${localstatedir}/volatile/run \
/mnt /media /media/card /media/cf /media/net /media/ram \
/media/union /media/realroot /media/hdd \
/media/mmc1"
+volatiles = "cache run log lock tmp"
conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \
${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \
@@ -64,6 +67,9 @@ do_install () {
for d in ${dirs2775}; do
install -m 2755 -d ${D}$d
done
+ for d in ${volatiles}; do
+ ln -sf volatile/$d ${D}/${localstatedir}/$d
+ done
for d in card cf net ram; do
ln -sf /media/$d ${D}/mnt/$d
done
@@ -111,7 +117,6 @@ do_install () {
do_install_append_mnci () {
rmdir ${D}/tmp
- mkdir -p ${D}${localstatedir}/tmp
ln -s var/tmp ${D}/tmp
}