M7350/oe-core/meta-msm/recipes/update-modules/update-modules_1.0.bb

23 lines
575 B
BlitzBasic
Raw Normal View History

2024-09-09 08:52:07 +00:00
SECTION = "base"
DESCRIPTION = "Script to manage module configuration files"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM="file://update-modules;startline=3;endline=5;md5=a907c58943cce6a1032aaec56181d6d6"
PACKAGE_ARCH = "all"
INHIBIT_DEFAULT_DEPS = "1"
RDEPENDS_${PN} = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} "
2024-09-09 08:57:42 +00:00
PR = "r12"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
SRC_URI = "file://update-modules"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
pkg_postinst_${PN}() {
2024-09-09 08:52:07 +00:00
if [ "x$D" != "x" ]; then
exit 1
fi
update-modules
}
do_install() {
install -d ${D}${sbindir}
install ${S}/update-modules ${D}${sbindir}
}