diff options
author | Jingdong Lu <jingdong.lu@windriver.com> | 2011-01-21 17:27:03 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:25:46 +0000 |
commit | b0df35f47fb79dc149504bd66d1186b3276f9510 (patch) | |
tree | a90ab5811d677fc6dc920a6cb158d91746f931ed /meta/recipes-core | |
parent | 562789455df668e20e87b008ea4a080ee42bd9f4 (diff) | |
download | poky-b0df35f47fb79dc149504bd66d1186b3276f9510.tar.gz |
base-files: Add to make some directories needed by LSB.
LSB will check some directories,eg, "/usr/local/" and need to make them for LSB test.
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/base-files/base-files_3.0.14.bb | 18 |
1 files changed, 17 insertions, 1 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 055769695e..2363feb6ba 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 | |||
@@ -2,7 +2,7 @@ SUMMARY = "Miscellaneous files for the base system." | |||
2 | DESCRIPTION = "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system." | 2 | DESCRIPTION = "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system." |
3 | SECTION = "base" | 3 | SECTION = "base" |
4 | PRIORITY = "required" | 4 | PRIORITY = "required" |
5 | PR = "r65" | 5 | PR = "r66" |
6 | LICENSE = "GPLv2" | 6 | LICENSE = "GPLv2" |
7 | LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f" | 7 | LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f" |
8 | SRC_URI = "file://rotation \ | 8 | SRC_URI = "file://rotation \ |
@@ -48,6 +48,12 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \ | |||
48 | /mnt /media /media/card /media/cf /media/net /media/ram \ | 48 | /mnt /media /media/card /media/cf /media/net /media/ram \ |
49 | /media/union /media/realroot /media/hdd \ | 49 | /media/union /media/realroot /media/hdd \ |
50 | /media/mmc1" | 50 | /media/mmc1" |
51 | dirs3755 = "/srv \ | ||
52 | ${prefix}/local ${prefix}/local/bin ${prefix}/local/games \ | ||
53 | ${prefix}/local/include ${prefix}/local/lib ${prefix}/local/sbin \ | ||
54 | ${prefix}/local/share ${prefix}/local/src" | ||
55 | dirs4775 = "/var/mail" | ||
56 | |||
51 | volatiles = "cache run log lock tmp" | 57 | volatiles = "cache run log lock tmp" |
52 | conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ | 58 | conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ |
53 | ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \ | 59 | ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \ |
@@ -156,6 +162,16 @@ do_install_append_netbook-pro () { | |||
156 | mkdir -p ${D}/initrd | 162 | mkdir -p ${D}/initrd |
157 | } | 163 | } |
158 | 164 | ||
165 | do_install_append_poky-lsb() { | ||
166 | for d in ${dirs3755}; do | ||
167 | install -m 0755 -d ${D}$d | ||
168 | done | ||
169 | |||
170 | for d in ${dirs4775}; do | ||
171 | install -m 2755 -d ${D}$d | ||
172 | done | ||
173 | } | ||
174 | |||
159 | PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" | 175 | PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" |
160 | FILES_${PN} = "/" | 176 | FILES_${PN} = "/" |
161 | FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" | 177 | FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" |