summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-09-23 16:30:16 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-23 16:30:16 +0000
commitb5aeb71ac6d6b2b57b027edd27f089e7134508d4 (patch)
tree2bea9ef9878513f5227b1aff6e4c7dc3bc1816e2 /packages
parent263245113de8634d43a649e72ab1d8a0f817304d (diff)
ezxd: work around bug in makedevs (doesn't do subdirs) and make the devnod in do_install
Diffstat (limited to 'packages')
-rw-r--r--packages/ezx/ezxd_svn.bb11
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/ezx/ezxd_svn.bb b/packages/ezx/ezxd_svn.bb
index 56bc1c05bf..8b3390cea9 100644
--- a/packages/ezx/ezxd_svn.bb
+++ b/packages/ezx/ezxd_svn.bb
@@ -4,7 +4,7 @@ SECTION = "devel"
AUTHOR = "Daniel Ribeiro"
PV = "0.0+svnr${SRCREV}"
-PR = "r0"
+PR = "r1"
SRC_URI = "svn://svn.openezx.org/trunk/src/userspace/;module=ezxd;proto=http \
file://ezxd.init \
@@ -21,8 +21,11 @@ do_configure() {
sed -i -e s:CROSS:CC:g Makefile
}
-do_install() {
- install -d ${D}${bindir}
+fakeroot do_install() {
+ install -d ${D}/dev/input
+ mknod ${D}/dev/input/uinput c 10 223
+
+ install -d ${D}${bindir}
install -m 755 ezxd ${D}${bindir}
install -d ${D}${libdir}/ezxd
@@ -33,3 +36,5 @@ do_install() {
install -m 0755 ${WORKDIR}/ezxd.init ${D}${sysconfdir}/init.d/ezxd
}
+FILES_${PN} += "/dev"
+