SECTION = "base" DESCRIPTION = "Script to manage module configuration files" PACKAGE_ARCH = "all" PR = "r3" SRC_URI = "file://update-modules" pkg_postinst() { if [ "x$D" != "x" ]; then exit 1 fi update-modules /etc/init.d/modutils.sh } do_install() { install -d ${D}${sbindir} install ${WORKDIR}/update-modules ${D}${sbindir} }