summaryrefslogtreecommitdiff
path: root/packages/modutils/modutils-collateral.bb
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-03-07 02:48:30 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-03-07 02:48:30 +0000
commit82f522e25a15d4a3bb992e25cf2d72524e00aee3 (patch)
tree6df1d9b7cf94cb5192ea66fb8eceaecf43058280 /packages/modutils/modutils-collateral.bb
parent95ab40dfc8bbb89f1579b5b5e2167459c97fcf8f (diff)
parenta4f387cd021a1609192a230ac88147bdd9cd7011 (diff)
merge of '8641efcbdf45be9e288119393a9b475e46f9c515'
and 'b0f962e1665b2f7f0c836386fa0e1e6e3bf6c376'
Diffstat (limited to 'packages/modutils/modutils-collateral.bb')
-rw-r--r--packages/modutils/modutils-collateral.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/modutils/modutils-collateral.bb b/packages/modutils/modutils-collateral.bb
index 5c502021f9..6d010a5754 100644
--- a/packages/modutils/modutils-collateral.bb
+++ b/packages/modutils/modutils-collateral.bb
@@ -1,6 +1,6 @@
SECTION = "base"
DESCRIPTION = "modutils configuration files"
-PR = "r2"
+PR = "r3"
LICENSE = "MIT"
SRC_URI = "file://modules \
@@ -12,5 +12,10 @@ do_compile () {
do_install () {
install -d ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/modules ${D}${sysconfdir}/modules
- install -m 0644 ${WORKDIR}/modules.conf ${D}${sysconfdir}/modules.conf
+ if [ ${MAJOR_KERNEL_VERSION}=2.6 ]; then
+ install -d ${D}${sysconfdir}/modprobe.d
+ else
+ install -m 0644 ${WORKDIR}/modules.conf ${D}${sysconfdir}/modules.conf
+ fi
+
}