mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
Get md5sum of COPYING.MIT file which under the meta directory, because this recipe is a local recipe, so we need to find the license file under the meta.
Import a new varible "L" to record the license file path. [sgw@linux.intel.com: removed]
[sgw@linux.intel.com]: remove changes to insane.bbclass and bitbake.conf, use the ${POKYBASE} variable instead.
Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
22 lines
567 B
BlitzBasic
22 lines
567 B
BlitzBasic
SECTION = "base"
|
|
DESCRIPTION = "modutils configuration files"
|
|
PR = "r3"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${POKYBASE}/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
|
|
|
|
}
|