diff options
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.bb | 26 |
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 @@ | |||
1 | DESCRIPTION = "Miscellaneous files for the base system." | 1 | DESCRIPTION = "Miscellaneous files for the base system." |
2 | SECTION = "base" | 2 | SECTION = "base" |
3 | PRIORITY = "required" | 3 | PRIORITY = "required" |
4 | PR = "r59" | 4 | PR = "r60" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | 6 | ||
7 | SRC_URI = " \ | 7 | SRC_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 = " \ | |||
29 | S = "${WORKDIR}" | 29 | S = "${WORKDIR}" |
30 | 30 | ||
31 | docdir_append = "/${P}" | 31 | docdir_append = "/${P}" |
32 | dirs1777 = "/tmp ${localstatedir}/lock ${localstatedir}/tmp" | 32 | dirs1777 = "/tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp" |
33 | dirs2775 = "/home ${prefix}/src ${localstatedir}/local" | 33 | dirs2775 = "/home ${prefix}/src ${localstatedir}/local" |
34 | dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \ | 34 | dirs755 = "/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" |
49 | volatiles = "cache run log lock tmp" | ||
47 | conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ | 50 | conffiles = "${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 | ||
121 | do_install_append_mnci () { | 127 | do_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} = "/" | |||
149 | FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" | 154 | FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" |
150 | 155 | ||
151 | # M&N specific packaging | 156 | # M&N specific packaging |
152 | PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}" | ||
153 | PACKAGE_ARCH_mnci = "mnci" | 157 | PACKAGE_ARCH_mnci = "mnci" |
154 | PACKAGE_ARCH_rt3000 = "rt3000" | 158 | PACKAGE_ARCH_rt3000 = "rt3000" |
155 | 159 | ||
160 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
161 | |||
156 | # Unslung distribution specific packaging | 162 | # Unslung distribution specific packaging |
157 | 163 | ||
158 | PACKAGES_unslung = "${PN}-unslung" | 164 | PACKAGES_unslung = "${PN}-unslung" |