25 lines
577 B
BlitzBasic
25 lines
577 B
BlitzBasic
DESCRIPTION = "script to manage module configuration files."
|
|
SECTION = "base"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
PACKAGE_ARCH = "all"
|
|
RDEPENDS_${PN} = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} "
|
|
PR = "r9"
|
|
|
|
SRC_URI = "file://update-modules \
|
|
file://COPYING.GPL"
|
|
|
|
pkg_postinst_${PN} () {
|
|
if [ "x$D" != "x" ]; then
|
|
exit 1
|
|
fi
|
|
update-modules
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${sbindir}
|
|
install ${WORKDIR}/update-modules ${D}${sbindir}
|
|
}
|
|
|