git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2589 311d38ba-8fff-0310-9ca6-ca027cbcb966
21 lines
441 B
BlitzBasic
21 lines
441 B
BlitzBasic
SECTION = "base"
|
|
DESCRIPTION = "Script to manage module configuration files"
|
|
LICENSE = "GPLv2"
|
|
PACKAGE_ARCH = "all"
|
|
RDEPENDS = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} "
|
|
PR = "r5"
|
|
|
|
SRC_URI = "file://update-modules"
|
|
|
|
pkg_postinst() {
|
|
if [ "x$D" != "x" ]; then
|
|
exit 1
|
|
fi
|
|
update-modules
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${sbindir}
|
|
install ${WORKDIR}/update-modules ${D}${sbindir}
|
|
}
|