summaryrefslogtreecommitdiffstats
path: root/meta/packages/base-files/base-files_3.0.14.bb
diff options
context:
space:
mode:
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 @@
1DESCRIPTION = "Miscellaneous files for the base system." 1DESCRIPTION = "Miscellaneous files for the base system."
2SECTION = "base" 2SECTION = "base"
3PRIORITY = "required" 3PRIORITY = "required"
4PR = "r59" 4PR = "r60"
5LICENSE = "GPL" 5LICENSE = "GPL"
6 6
7SRC_URI = " \ 7SRC_URI = " \
@@ -12,7 +12,7 @@ SRC_URI = " \
12 file://host.conf \ 12 file://host.conf \
13 file://profile \ 13 file://profile \
14 file://fstab \ 14 file://fstab \
15 file://filesystems \ 15 file://filesystems \
16 file://issue.net \ 16 file://issue.net \
17 file://issue \ 17 file://issue \
18 file://usbd \ 18 file://usbd \
@@ -29,7 +29,7 @@ SRC_URI = " \
29S = "${WORKDIR}" 29S = "${WORKDIR}"
30 30
31docdir_append = "/${P}" 31docdir_append = "/${P}"
32dirs1777 = "/tmp ${localstatedir}/lock ${localstatedir}/tmp" 32dirs1777 = "/tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp"
33dirs2775 = "/home ${prefix}/src ${localstatedir}/local" 33dirs2775 = "/home ${prefix}/src ${localstatedir}/local"
34dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \ 34dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
35 ${sysconfdir}/skel /lib /mnt /proc /home/root /sbin \ 35 ${sysconfdir}/skel /lib /mnt /proc /home/root /sbin \
@@ -37,13 +37,16 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
37 ${libdir} ${sbindir} ${datadir} \ 37 ${libdir} ${sbindir} ${datadir} \
38 ${datadir}/common-licenses ${datadir}/dict ${infodir} \ 38 ${datadir}/common-licenses ${datadir}/dict ${infodir} \
39 ${mandir} ${datadir}/misc ${localstatedir} \ 39 ${mandir} ${datadir}/misc ${localstatedir} \
40 ${localstatedir}/backups ${localstatedir}/cache \ 40 ${localstatedir}/backups ${localstatedir}/lib \
41 ${localstatedir}/lib /sys ${localstatedir}/lib/misc \ 41 /sys ${localstatedir}/lib/misc ${localstatedir}/spool \
42 ${localstatedir}/lock/subsys ${localstatedir}/log \ 42 ${localstatedir}/volatile ${localstatedir}/volatile/cache \
43 ${localstatedir}/run ${localstatedir}/spool \ 43 ${localstatedir}/volatile/lock/subsys \
44 ${localstatedir}/volatile/log \
45 ${localstatedir}/volatile/run \
44 /mnt /media /media/card /media/cf /media/net /media/ram \ 46 /mnt /media /media/card /media/cf /media/net /media/ram \
45 /media/union /media/realroot /media/hdd \ 47 /media/union /media/realroot /media/hdd \
46 /media/mmc1" 48 /media/mmc1"
49volatiles = "cache run log lock tmp"
47conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ 50conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
48 ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \ 51 ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \
49 ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \ 52 ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \
@@ -68,6 +71,9 @@ do_install () {
68 for d in ${dirs2775}; do 71 for d in ${dirs2775}; do
69 install -m 2755 -d ${D}$d 72 install -m 2755 -d ${D}$d
70 done 73 done
74 for d in ${volatiles}; do
75 ln -sf volatile/$d ${D}/${localstatedir}/$d
76 done
71 for d in card cf net ram; do 77 for d in card cf net ram; do
72 ln -sf /media/$d ${D}/mnt/$d 78 ln -sf /media/$d ${D}/mnt/$d
73 done 79 done
@@ -120,7 +126,6 @@ do_install () {
120 126
121do_install_append_mnci () { 127do_install_append_mnci () {
122 rmdir ${D}/tmp 128 rmdir ${D}/tmp
123 mkdir -p ${D}${localstatedir}/tmp
124 ln -s var/tmp ${D}/tmp 129 ln -s var/tmp ${D}/tmp
125} 130}
126 131
@@ -149,10 +154,11 @@ FILES_${PN} = "/"
149FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" 154FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
150 155
151# M&N specific packaging 156# M&N specific packaging
152PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
153PACKAGE_ARCH_mnci = "mnci" 157PACKAGE_ARCH_mnci = "mnci"
154PACKAGE_ARCH_rt3000 = "rt3000" 158PACKAGE_ARCH_rt3000 = "rt3000"
155 159
160PACKAGE_ARCH = "${MACHINE_ARCH}"
161
156# Unslung distribution specific packaging 162# Unslung distribution specific packaging
157 163
158PACKAGES_unslung = "${PN}-unslung" 164PACKAGES_unslung = "${PN}-unslung"