aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/modutils/modutils-collateral.bb
blob: 919b86f95d6c0728e62814ec022422cebde687db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SECTION = "base"
DESCRIPTION = "modutils configuration files"
PR = "r3"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://modules \
	   file://modules.conf" 

do_compile () {
}

do_install () {
	install -d ${D}${sysconfdir}
	install -m 0644 ${WORKDIR}/modules ${D}${sysconfdir}/modules
        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

}