diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-26 11:25:09 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-26 11:25:09 +0000 |
commit | 2fe7cc5f9fdacc4321bddcbf132e32ddea21f59b (patch) | |
tree | d404fc85e11ffb191167d694a47182df6d3ee51b /meta/packages/modutils | |
parent | 52e92fdd15b5c6a04d8afeb36f843218ceda8bf8 (diff) | |
download | poky-2fe7cc5f9fdacc4321bddcbf132e32ddea21f59b.tar.gz |
packages/modutils/modutils-collateral.bb: Modprobe has changed between 2.4 and 2.6 kernels. (sync with OE)
The information in /etc/modutils and /etc/modules.conf is not read under 2.6.
2.6 uses a /etc/modprobe.d directory, and it does not need a
"/etc/modprobe.conf" file; it reads all the appropriate *.conf files and
compiles the information at boot time.
This commit closes bug #808
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2993 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/modutils')
-rw-r--r-- | meta/packages/modutils/modutils-collateral.bb | 9 |
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 @@ | |||
1 | SECTION = "base" | 1 | SECTION = "base" |
2 | DESCRIPTION = "modutils configuration files" | 2 | DESCRIPTION = "modutils configuration files" |
3 | PR = "r2" | 3 | PR = "r3" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | 5 | ||
6 | SRC_URI = "file://modules \ | 6 | SRC_URI = "file://modules \ |
@@ -12,5 +12,10 @@ do_compile () { | |||
12 | do_install () { | 12 | do_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 | } |