summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-06-26 14:24:27 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-26 14:24:27 +0000
commite9e6594dd9f2724d2819111657593b53d47184c1 (patch)
treeeae07f86bf241493a0207340f4465d3d62e74755 /packages
parent9d94852806f30b4393be3cba6e0b7f0d795db48b (diff)
pvrusb2-mci: added hotplug scripts
Diffstat (limited to 'packages')
-rw-r--r--packages/pvrusb2-mci/pvrusb2-mci_20060626.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/pvrusb2-mci/pvrusb2-mci_20060626.bb b/packages/pvrusb2-mci/pvrusb2-mci_20060626.bb
index 22823d43c4..ab22c521f3 100644
--- a/packages/pvrusb2-mci/pvrusb2-mci_20060626.bb
+++ b/packages/pvrusb2-mci/pvrusb2-mci_20060626.bb
@@ -4,7 +4,7 @@ PRIORITY = "optional"
SECTION = "kernel/modules"
MAINTAINER = "eFfeM <fransmeulenbroeks at yahoo dot com>"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
RRECOMMENDS = "kernel-module-tveeprom \
kernel-module-firmware-class \
kernel-module-tuner \
@@ -16,6 +16,8 @@ RRECOMMENDS = "kernel-module-tveeprom \
kernel-module-videodev"
SRC_URI = "http://www.isely.net/downloads/pvrusb2-mci-${PV}.tar.bz2 \
+ file://hotplug.functions \
+ file://firmware.hotplug \
file://Makefile.patch;patch=1"
S = "${WORKDIR}/pvrusb2-mci-${PV}/driver"
@@ -40,4 +42,7 @@ export TARGET_LDFLAGS = "-L${STAGING_DIR}/${TARGET_SYS}/lib \
do_install() {
install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media
install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media
+ mkdir -p ${D}/etc/hotplug.d/firmware
+ cp ${WORKDIR}/hotplug.functions ${D}/etc/hotplug.d/firmware
+ cp ${WORKDIR}/firmware.hotplug ${D}/etc/hotplug.d/firmware
}