summaryrefslogtreecommitdiff
path: root/base-files/base-files_3.0.14.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-17 10:24:21 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-17 10:24:21 +0000
commit448eeff855343ad4bb29c6c3b0d614f2386db5ac (patch)
tree6a6efc441fb8ad824d118dbe6e83d6cfe6ca74dc /base-files/base-files_3.0.14.oe
parent512c24b0274699025b12a9de09e4dd750d4e256c (diff)
remove some references and don't install etc/* for base-files
BKrev: 40a892d5-R6JpBvfUKyNGtZihT6WiA
Diffstat (limited to 'base-files/base-files_3.0.14.oe')
-rw-r--r--base-files/base-files_3.0.14.oe17
1 files changed, 10 insertions, 7 deletions
diff --git a/base-files/base-files_3.0.14.oe b/base-files/base-files_3.0.14.oe
index 04aaad9c21..6e2ced44d7 100644
--- a/base-files/base-files_3.0.14.oe
+++ b/base-files/base-files_3.0.14.oe
@@ -1,4 +1,4 @@
-DESCRIPTION = "Base system miscellaneous files."
+xDESCRIPTION = "Base system miscellaneous files."
SECTION = "base"
PRIORITY = "required"
PR = "r4"
@@ -77,9 +77,7 @@ do_install () {
install -p -m 644 licenses/* ${D}${datadir}/common-licenses
ln -s LGPL-2.1 ${D}${datadir}/common-licenses/LGPL
ln -s GPL-2 ${D}${datadir}/common-licenses/GPL
- for i in `ls etc/|grep -v debian`; do install -p -m 644 etc/$i ${D}/etc; done
- rm -f ${D}/etc/motd
- cat etc/motd | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}${datadir}/base-files/motd
+
cat share/info.dir | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}${datadir}/base-files/info.dir
gzip -9 ${D}/${docdir}/changelog
# chown -R root:root ${D}
@@ -91,11 +89,16 @@ do_install () {
cd ${D} && chmod 2775 `cat ${S}/debian/2775-dirs`
install -d ${D}/${sysconfdir}
- oe_machinstall -m 0644 ${FILESDIR}/fstab ${D}/${sysconfdir}/fstab
- oe_machinstall -m 0644 ${FILESDIR}/hostname ${D}/${sysconfdir}/hostname
- oe_machinstall -m 0644 ${FILESDIR}/profile ${D}/${sysconfdir}/profile
+ oe_machinstall -m 0644 ${WORKDIR}/fstab ${D}/${sysconfdir}/fstab
+ oe_machinstall -m 0644 ${WORKDIR}/hostname ${D}/${sysconfdir}/hostname
+ oe_machinstall -m 0644 ${WORKDIR}/profile ${D}/${sysconfdir}/profile
install -m 0644 ${FILESDIR}/etc/issue-${DISTRO} ${D}/${sysconfdir}/issue
install -m 0644 ${FILESDIR}/etc/issue.net-${DISTRO} ${D}/${sysconfdir}/issue.net
+ cat ${WORKDIR}/etc/motd | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}${datadir}/base-files/motd
+ for f in debian_version inputrc nsswitch.conf host.conf profile
+ do
+ install -m 0644 ${WORKDIR}/etc/$f ${D}/${sysconfdir}/
+ done
install -m 0755 ${D}/usr/share/base-files/dot.profile ${D}/root/.profile