aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/base-files/base-files_3.0.14.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-10-27 10:48:51 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-10-27 23:12:19 +0200
commitcf31c6671891d30cfd6fe4a2068692e33c130bf9 (patch)
tree833a9e18fafd1820afc18af63d3a5bf33c8cb7fa /recipes/base-files/base-files_3.0.14.bb
parentef13e630b11535b1aaab2db8f660e14f1f931dbf (diff)
downloadopenembedded-cf31c6671891d30cfd6fe4a2068692e33c130bf9.tar.gz
base-files: add empty /etc/profile.d which can be filled by distro/machine profile scripts
* used for gtk_im_module.sh in SHR * would be better to be able to fill it from more sources (maybe put profile.d.machine, profile.d.distro, profile.d directories and install all files to target profile.d), is it worth it? * /etc/profile.d/empty is used to prevent install call not failing because /profile.d/* not found Acked-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/base-files/base-files_3.0.14.bb')
-rw-r--r--recipes/base-files/base-files_3.0.14.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/base-files/base-files_3.0.14.bb b/recipes/base-files/base-files_3.0.14.bb
index f8d07781ba..3ebed70103 100644
--- a/recipes/base-files/base-files_3.0.14.bb
+++ b/recipes/base-files/base-files_3.0.14.bb
@@ -10,6 +10,7 @@ SRC_URI = " \
file://inputrc \
file://host.conf \
file://profile \
+ file://profile.d \
file://fstab \
file://filesystems \
file://issue.net \
@@ -116,6 +117,8 @@ do_install () {
install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/profile
+ install -d 0755 ${D}${sysconfdir}/profile.d
+ install -m 0755 ${WORKDIR}/profile.d/* ${D}${sysconfdir}/profile.d/
install -m 0755 ${WORKDIR}/share/dot.profile ${D}${sysconfdir}/skel/.profile
install -m 0755 ${WORKDIR}/share/dot.bashrc ${D}${sysconfdir}/skel/.bashrc
install -m 0644 ${WORKDIR}/inputrc ${D}${sysconfdir}/inputrc