summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/base-files')
-rw-r--r--meta/recipes-core/base-files/base-files_3.0.14.bb24
1 files changed, 12 insertions, 12 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 9fab53ce63..42a8026e63 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
@@ -113,23 +113,23 @@ do_install () {
113 ln -snf ../run ${D}${localstatedir}/run 113 ln -snf ../run ${D}${localstatedir}/run
114 ln -snf ../run/lock ${D}${localstatedir}/lock 114 ln -snf ../run/lock ${D}${localstatedir}/lock
115 115
116 install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts 116 install -m 0644 ${S}/hosts ${D}${sysconfdir}/hosts
117 ${BASEFILESISSUEINSTALL} 117 ${BASEFILESISSUEINSTALL}
118 118
119 rotation=`cat ${WORKDIR}/rotation` 119 rotation=`cat ${S}/rotation`
120 if [ "$rotation" != "0" ]; then 120 if [ "$rotation" != "0" ]; then
121 install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation 121 install -m 0644 ${S}/rotation ${D}${sysconfdir}/rotation
122 fi 122 fi
123 123
124 install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab 124 install -m 0644 ${S}/fstab ${D}${sysconfdir}/fstab
125 install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/profile 125 install -m 0644 ${S}/profile ${D}${sysconfdir}/profile
126 sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}${sysconfdir}/profile 126 sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}${sysconfdir}/profile
127 sed -i 's#@BINDIR@#${bindir}#g' ${D}${sysconfdir}/profile 127 sed -i 's#@BINDIR@#${bindir}#g' ${D}${sysconfdir}/profile
128 install -m 0644 ${WORKDIR}/shells ${D}${sysconfdir}/shells 128 install -m 0644 ${S}/shells ${D}${sysconfdir}/shells
129 install -m 0755 ${WORKDIR}/share/dot.profile ${D}${sysconfdir}/skel/.profile 129 install -m 0755 ${S}/share/dot.profile ${D}${sysconfdir}/skel/.profile
130 install -m 0755 ${WORKDIR}/share/dot.bashrc ${D}${sysconfdir}/skel/.bashrc 130 install -m 0755 ${S}/share/dot.bashrc ${D}${sysconfdir}/skel/.bashrc
131 install -m 0644 ${WORKDIR}/host.conf ${D}${sysconfdir}/host.conf 131 install -m 0644 ${S}/host.conf ${D}${sysconfdir}/host.conf
132 install -m 0644 ${WORKDIR}/motd ${D}${sysconfdir}/motd 132 install -m 0644 ${S}/motd ${D}${sysconfdir}/motd
133 133
134 ln -sf /proc/mounts ${D}${sysconfdir}/mtab 134 ln -sf /proc/mounts ${D}${sysconfdir}/mtab
135 135
@@ -145,12 +145,12 @@ do_install () {
145} 145}
146 146
147do_install:append:libc-glibc () { 147do_install:append:libc-glibc () {
148 install -m 0644 ${WORKDIR}/nsswitch.conf ${D}${sysconfdir}/nsswitch.conf 148 install -m 0644 ${S}/nsswitch.conf ${D}${sysconfdir}/nsswitch.conf
149} 149}
150 150
151DISTRO_VERSION[vardepsexclude] += "DATE" 151DISTRO_VERSION[vardepsexclude] += "DATE"
152do_install_basefilesissue () { 152do_install_basefilesissue () {
153 install -m 644 ${WORKDIR}/issue* ${D}${sysconfdir} 153 install -m 644 ${S}/issue* ${D}${sysconfdir}
154 if [ -n "${DISTRO_NAME}" ]; then 154 if [ -n "${DISTRO_NAME}" ]; then
155 printf "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue 155 printf "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue
156 printf "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue.net 156 printf "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue.net