mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
DESCRIPTION = "modutils configuration files"
|
DESCRIPTION = "modutils configuration files"
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
|
|
||||||
SRC_URI = "file://modules \
|
SRC_URI = "file://modules \
|
||||||
@@ -12,5 +12,10 @@ do_compile () {
|
|||||||
do_install () {
|
do_install () {
|
||||||
install -d ${D}${sysconfdir}
|
install -d ${D}${sysconfdir}
|
||||||
install -m 0644 ${WORKDIR}/modules ${D}${sysconfdir}/modules
|
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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user