summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-21 20:03:39 +0000
committerChris Larson <clarson@kergoth.com>2003-10-21 20:03:39 +0000
commitf178dfaf5998d06a56be3420eba77a238043b237 (patch)
tree6157025c50332b5d8234a752791404e0df2d76bd /modutils
parent15f6c7e16fcedf3e04de315ee147a279e431ff02 (diff)
Add deviceism and postinst bits to modutils and sysvinit.
BKrev: 3f95911bU9FiQEg-FS3llW4Xi-9Upw
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modutils-2.4.25-r0/modules_collie0
-rw-r--r--modutils/modutils-2.4.25-r0/modules_corgi0
-rw-r--r--modutils/modutils-2.4.25-r0/modules_husky0
-rw-r--r--modutils/modutils-2.4.25-r0/modules_poodle0
-rw-r--r--modutils/modutils-2.4.25-r0/modules_shepherd0
-rw-r--r--modutils/modutils_2.4.25.oe18
6 files changed, 18 insertions, 0 deletions
diff --git a/modutils/modutils-2.4.25-r0/modules_collie b/modutils/modutils-2.4.25-r0/modules_collie
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/modutils/modutils-2.4.25-r0/modules_collie
diff --git a/modutils/modutils-2.4.25-r0/modules_corgi b/modutils/modutils-2.4.25-r0/modules_corgi
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/modutils/modutils-2.4.25-r0/modules_corgi
diff --git a/modutils/modutils-2.4.25-r0/modules_husky b/modutils/modutils-2.4.25-r0/modules_husky
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/modutils/modutils-2.4.25-r0/modules_husky
diff --git a/modutils/modutils-2.4.25-r0/modules_poodle b/modutils/modutils-2.4.25-r0/modules_poodle
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/modutils/modutils-2.4.25-r0/modules_poodle
diff --git a/modutils/modutils-2.4.25-r0/modules_shepherd b/modutils/modutils-2.4.25-r0/modules_shepherd
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/modutils/modutils-2.4.25-r0/modules_shepherd
diff --git a/modutils/modutils_2.4.25.oe b/modutils/modutils_2.4.25.oe
index cfee450fab..b9077b5a27 100644
--- a/modutils/modutils_2.4.25.oe
+++ b/modutils/modutils_2.4.25.oe
@@ -7,3 +7,21 @@ inherit autotools
EXTRA_OECONF = --disable-strip
export BUILDCC = ${BUILD_CC}
+
+do_install_prepend () {
+ oe_runmake 'DESTDIR=${D}' install
+}
+
+do_install () {
+ install -d ${D}/${sysconfdir}
+ if [ -e ${FILESDIR}/modules_${MACHINE} ]; then
+ install -m 0644 ${FILESDIR}/modules_${MACHINE} ${D}/${sysconfdir}/modules
+ else
+ touch ${D}/${sysconfdir}/modules
+ fi
+ if [ -e ${FILESDIR}/modules.conf_${MACHINE} ]; then
+ install -m 0644 ${FILESDIR}/modules.conf_${MACHINE} ${D}/${sysconfdir}/modules.conf
+ else
+ touch ${D}/${sysconfdir}/modules.conf
+ fi
+}