diff options
Diffstat (limited to 'recipes-devtools/opkg/opkg_%.bbappend')
-rw-r--r-- | recipes-devtools/opkg/opkg_%.bbappend | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-devtools/opkg/opkg_%.bbappend b/recipes-devtools/opkg/opkg_%.bbappend index 7db3ade..99a3f3c 100644 --- a/recipes-devtools/opkg/opkg_%.bbappend +++ b/recipes-devtools/opkg/opkg_%.bbappend @@ -2,7 +2,14 @@ PR .= ".mlinux2" SRC_URI += " file://0003-opkg_conf-create-opkg.lock-in-run-lock-instead-of-run.patch \ file://0004-opkg-symlink.patch \ + file://modprobe \ " FILESEXTRAPATHS_prepend := "${THISDIR}/files:" - +# Modprobe fix +PACKAGES =+ "${PN}-modprobe" +FILES_${PN}-modprobe = "${datadir}/${PN}/intercept/modprobe" +do_install_append() { + install -d ${D}${datadir}/${PN}/intercept + install -m 0755 ${WORKDIR}/modprobe ${D}${datadir}/${PN}/intercept +} |