summaryrefslogtreecommitdiff
path: root/meta/packages/base-files/base-files_3.0.14.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-20 13:54:14 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-20 13:54:14 +0000
commit76df5abe0b9d1e3a9125e51e12cbd1cf3b18366e (patch)
tree79f66adf00efda428af51d35d7dcd59c6a1d0fdf /meta/packages/base-files/base-files_3.0.14.bb
parent1cc5d12080404d17693e84a4b8537e3b0c1772e7 (diff)
downloadopenembedded-core-76df5abe0b9d1e3a9125e51e12cbd1cf3b18366e.tar.gz
openembedded-core-76df5abe0b9d1e3a9125e51e12cbd1cf3b18366e.tar.bz2
openembedded-core-76df5abe0b9d1e3a9125e51e12cbd1cf3b18366e.zip
base-files/initscripts: Switch to using /var/volatile for volatiles in common with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4510 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/base-files/base-files_3.0.14.bb')
-rw-r--r--meta/packages/base-files/base-files_3.0.14.bb26
1 files changed, 16 insertions, 10 deletions
diff --git a/meta/packages/base-files/base-files_3.0.14.bb b/meta/packages/base-files/base-files_3.0.14.bb
index 289d2bbfd9..42cd031573 100644
--- a/meta/packages/base-files/base-files_3.0.14.bb
+++ b/meta/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 = "r59"
+PR = "r60"
LICENSE = "GPL"
SRC_URI = " \
@@ -12,7 +12,7 @@ SRC_URI = " \
file://host.conf \
file://profile \
file://fstab \
- file://filesystems \
+ file://filesystems \
file://issue.net \
file://issue \
file://usbd \
@@ -29,7 +29,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 \
@@ -37,13 +37,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"
+ /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 \
@@ -68,6 +71,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
@@ -120,7 +126,6 @@ do_install () {
do_install_append_mnci () {
rmdir ${D}/tmp
- mkdir -p ${D}${localstatedir}/tmp
ln -s var/tmp ${D}/tmp
}
@@ -149,10 +154,11 @@ FILES_${PN} = "/"
FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
# M&N specific packaging
-PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
PACKAGE_ARCH_mnci = "mnci"
PACKAGE_ARCH_rt3000 = "rt3000"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
# Unslung distribution specific packaging
PACKAGES_unslung = "${PN}-unslung"