summaryrefslogtreecommitdiffstats
path: root/meta/packages/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/modutils')
-rw-r--r--meta/packages/modutils/modutils-collateral.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/packages/modutils/modutils-collateral.bb b/meta/packages/modutils/modutils-collateral.bb
index 5c502021f9..6d010a5754 100644
--- a/meta/packages/modutils/modutils-collateral.bb
+++ b/meta/packages/modutils/modutils-collateral.bb
@@ -1,6 +1,6 @@
1SECTION = "base" 1SECTION = "base"
2DESCRIPTION = "modutils configuration files" 2DESCRIPTION = "modutils configuration files"
3PR = "r2" 3PR = "r3"
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
6SRC_URI = "file://modules \ 6SRC_URI = "file://modules \
@@ -12,5 +12,10 @@ do_compile () {
12do_install () { 12do_install () {
13 install -d ${D}${sysconfdir} 13 install -d ${D}${sysconfdir}
14 install -m 0644 ${WORKDIR}/modules ${D}${sysconfdir}/modules 14 install -m 0644 ${WORKDIR}/modules ${D}${sysconfdir}/modules
15 install -m 0644 ${WORKDIR}/modules.conf ${D}${sysconfdir}/modules.conf 15 if [ ${MAJOR_KERNEL_VERSION}=2.6 ]; then
16 install -d ${D}${sysconfdir}/modprobe.d
17 else
18 install -m 0644 ${WORKDIR}/modules.conf ${D}${sysconfdir}/modules.conf
19 fi
20
16} 21}