Author: Paul_R
Date: 2008-09-22 10:39:58 +0200 (Mon, 22 Sep 2008)
New Revision: 1947
Added:
software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/udev-rules/
software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/udev-rules/45-tuxdroid.rules
Modified:
software_suite_v2/tuxware/installers/unix/trunk/build.sh
software_suite_v2/tuxware/installers/unix/trunk/build_deps/deb/postinst
Log:
* Added the udev rules
Modified: software_suite_v2/tuxware/installers/unix/trunk/build.sh
===================================================================
--- software_suite_v2/tuxware/installers/unix/trunk/build.sh 2008-09-22
08:27:29 UTC (rev 1946)
+++ software_suite_v2/tuxware/installers/unix/trunk/build.sh 2008-09-22
08:39:58 UTC (rev 1947)
@@ -15,6 +15,12 @@
createEtcDir () {
echo Creating /etc directory
mkdir build/etc
+ mkdir build/etc/udev
+ mkdir build/etc/udev/rules.d
+ cp build_deps/common/udev-rules/45-* build/etc/udev/rules.d
+}
+
+packDebInitScript () {
mkdir build/etc/init.d
cp build_deps/deb/init/tuxhttpserver build/etc/init.d
}
@@ -47,7 +53,7 @@
rm filelist
rm temp/tuxhttpserver/*.bat
rm temp/tuxhttpserver/*.exe
- rm temp/installer.*
+ rm temp/tuxhttpserver/installer.*
cp -r temp/tuxhttpserver/* build/opt/tuxdroid/tuxhttpserver/
}
@@ -254,8 +260,8 @@
mv build/opt/tuxdroid/python_api tuxsetup-$VERSION
mv build/opt tuxsetup-$VERSION/mirror/
mv build/usr tuxsetup-$VERSION/mirror/
+ mv build/etc tuxsetup-$VERSION/mirror/
mv build/* tuxsetup-$VERSION/
- rm -rf tuxsetup-$VERSION/etc
rmSVN
tar -cf tuxsetup-$VERSION.tar.gz tuxsetup-$VERSION
rm -rf build temp tuxsetup-$VERSION
@@ -275,6 +281,7 @@
}
makeDEB () {
+ packDebInitScript
createDebianDir
createPostInstFileDeb
createPreInstFileDeb
Added:
software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/udev-rules/45-tuxdroid.rules
===================================================================
---
software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/udev-rules/45-tuxdroid.rules
(rev 0)
+++
software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/udev-rules/45-tuxdroid.rules
2008-09-22 08:39:58 UTC (rev 1947)
@@ -0,0 +1,3 @@
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="ff07", MODE:="0666"
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03eb",
ATTRS{idProduct}=="2ffd", MODE:="0666"
+KERNEL=="hiddev*", MODE="0666"
Modified:
software_suite_v2/tuxware/installers/unix/trunk/build_deps/deb/postinst
===================================================================
--- software_suite_v2/tuxware/installers/unix/trunk/build_deps/deb/postinst
2008-09-22 08:27:29 UTC (rev 1946)
+++ software_suite_v2/tuxware/installers/unix/trunk/build_deps/deb/postinst
2008-09-22 08:39:58 UTC (rev 1947)
@@ -6,7 +6,7 @@
chmod +x /opt/tuxdroid/bin/*
update-rc.d tuxhttpserver defaults >/dev/null
/etc/init.d/tuxhttpserver start
-chmod 777 /opt/tuxdroid/controlcenter
+chmod 1777 /opt/tuxdroid/controlcenter
if [ $USER == "root" ]; then
echo ""
echo
"================================================================================"
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn