mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 01:06:37 +01:00
* show warning for old /etc/modutils/* files without .conf extension * v2: keep adding modules also from old /etc/modutils/* after showing warning, this way update-modules will be backward compatible also on images without kernel upgrade (From OE-Core rev: 38302a1353cf072b7c6c54f7f90936e4c2180102) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
500 B
BlitzBasic
27 lines
500 B
BlitzBasic
DESCRIPTION = "script to manage module configuration files."
|
|
SECTION = "base"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
RDEPENDS_${PN} = "module-init-tools-depmod"
|
|
|
|
PR = "r13"
|
|
|
|
SRC_URI = "file://update-modules \
|
|
file://COPYING.GPL"
|
|
|
|
inherit allarch
|
|
|
|
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}
|
|
}
|
|
|