summaryrefslogtreecommitdiff
path: root/base-files
diff options
context:
space:
mode:
authorTim Hurman <kano@kano.org.uk>2003-10-30 18:38:29 +0000
committerTim Hurman <kano@kano.org.uk>2003-10-30 18:38:29 +0000
commit35594096ff999b5ba6a265f9c437d103b378918d (patch)
tree72a517fd03fa2d8cfe5892d19d52b813b6f48fc8 /base-files
parentb1504511bb50ce755f8f9d90b9103f91d5251fe5 (diff)
updated version number of the base-files download
BKrev: 3fa15aa5Eh-49ymtyfDTawAcPJBUIQ
Diffstat (limited to 'base-files')
-rw-r--r--base-files/base-files_3.0.12.oe35
1 files changed, 35 insertions, 0 deletions
diff --git a/base-files/base-files_3.0.12.oe b/base-files/base-files_3.0.12.oe
index e69de29bb2..98b001a38b 100644
--- a/base-files/base-files_3.0.12.oe
+++ b/base-files/base-files_3.0.12.oe
@@ -0,0 +1,35 @@
+SRC_URI := ${DEBIAN_MIRROR}/main/b/base-files/base-files_3.0.12.tar.gz
+S := ${WORKDIR}/${P}
+
+docdir_append=/${P}
+do_install () {
+ install -d ${D}/${docdir}
+ install -d ${D}/usr/share/${PN}
+ install -p -m 644 debian/changelog debian/FAQ \
+ debian/README.FHS debian/README.base ${D}/${docdir}/
+ cat debian/copyright.in | sed -e "s&#OSNAME#&${TARGET_OS}&g" \
+ > ${docdir}/copyright
+ install -m 755 debian/remove-base ${docdir}
+# cd debian && install -m 755 preinst postinst ${D}/DEBIAN
+# cd debian && install -m 644 conffiles ${D}/DEBIAN
+ ( cd ${D} && install -d `cat ${S}/debian/directory-list` )
+ install -p -m 644 share/* ${D}/usr/share/base-files
+ install -p -m 644 licenses/* ${D}/usr/share/common-licenses
+ ln -s LGPL-2.1 ${D}/usr/share/common-licenses/LGPL
+ ln -s GPL-2 ${D}/usr/share/common-licenses/GPL
+ install -p -m 644 `ls etc/|grep -v debian` ${D}/etc
+ rm -f ${D}/etc/motd
+ cat etc/motd | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}/usr/share/base-files/motd
+ cat share/info.dir | sed -e "s&#OSNAME#&${TARGET_OS}&g" > ${D}/usr/share/base-files/info.dir
+ gzip -9 ${docdir}/changelog
+# chown -R root:root ${D}
+# cd ${D} && chown root:src usr/src
+# cd ${D} && chown root:staff var/local
+# cd ${D} && chown root:staff home
+ cd ${D} && chmod 755 `find . -type d`
+ cd ${D} && chmod 1777 `cat ${S}/debian/1777-dirs`
+ cd ${D} && chmod 2775 `cat ${S}/debian/2775-dirs`
+}
+
+PACKAGES=base-files
+FILES_${PN}:=*