[PC-BSD Commits] r21674 - in pbi/modules/devel/arduino: . scripts
svn at pcbsd.org
svn at pcbsd.org
Thu Feb 28 05:51:09 PST 2013
Author: kenmoore
Date: 2013-02-28 13:51:08 +0000 (Thu, 28 Feb 2013)
New Revision: 21674
Modified:
pbi/modules/devel/arduino/pbi.conf
pbi/modules/devel/arduino/scripts/post-install.sh
pbi/modules/devel/arduino/scripts/pre-pbicreate.sh
Log:
Fix the devel/arduino scripts to fix loading/unloading the uarduno kernel module and rebuild
Modified: pbi/modules/devel/arduino/pbi.conf
===================================================================
--- pbi/modules/devel/arduino/pbi.conf 2013-02-28 10:33:56 UTC (rev 21673)
+++ pbi/modules/devel/arduino/pbi.conf 2013-02-28 13:51:08 UTC (rev 21674)
@@ -16,7 +16,7 @@
# -- Require Root Permissions to Install PBI --
PBI_REQUIRESROOT="YES"
# -- Auto-build Configuration Options --
-PBI_BUILDKEY="05"
+PBI_BUILDKEY="06"
PBI_AB_PRIORITY="00"
PBI_AB_NOTMPFS="NO"
Modified: pbi/modules/devel/arduino/scripts/post-install.sh
===================================================================
--- pbi/modules/devel/arduino/scripts/post-install.sh 2013-02-28 10:33:56 UTC (rev 21673)
+++ pbi/modules/devel/arduino/scripts/post-install.sh 2013-02-28 13:51:08 UTC (rev 21674)
@@ -1,7 +1,7 @@
#!/bin/sh
#load the additional driver for arduino devices
-ln -s ${PBI_PROGDIRPATH}/modules/uarduno.ko /boot/modules/uarduno.ko
+ln -s ${PBI_PROGDIRPATH}/kmod/uarduno.ko /boot/modules/uarduno.ko
echo "Loading the uarduno kernel module"
kldload uarduno
Modified: pbi/modules/devel/arduino/scripts/pre-pbicreate.sh
===================================================================
--- pbi/modules/devel/arduino/scripts/pre-pbicreate.sh 2013-02-28 10:33:56 UTC (rev 21673)
+++ pbi/modules/devel/arduino/scripts/pre-pbicreate.sh 2013-02-28 13:51:08 UTC (rev 21674)
@@ -10,3 +10,6 @@
#setup the web-browser launcher
echo "launcher=/usr/local/bin/openwith" >> ${PREFS_FILE}
+#Now make sure the uarduno kernel module is copied into the PBI
+mkdir ${PBI_PROGDIRPATH}/kmod
+cp /boot/modules/uarduno.ko ${PBI_PROGDIRPATH}/kmod/uarduno.ko
More information about the Commits
mailing list