[PC-BSD Commits] r21962 - in pbi/modules/devel/arduino: . scripts

svn at pcbsd.org svn at pcbsd.org
Mon Mar 25 09:21:51 PDT 2013


Author: kenmoore
Date: 2013-03-25 16:21:50 +0000 (Mon, 25 Mar 2013)
New Revision: 21962

Modified:
   pbi/modules/devel/arduino/pbi.conf
   pbi/modules/devel/arduino/scripts/pre-remove.sh
Log:
Adjust the devel/arduino scripts to clean up properly and rebuild



Modified: pbi/modules/devel/arduino/pbi.conf
===================================================================
--- pbi/modules/devel/arduino/pbi.conf	2013-03-25 15:42:33 UTC (rev 21961)
+++ pbi/modules/devel/arduino/pbi.conf	2013-03-25 16:21:50 UTC (rev 21962)
@@ -16,7 +16,7 @@
 # -- Require Root Permissions to Install PBI --
 PBI_REQUIRESROOT="YES"
 # -- Auto-build Configuration Options --
-PBI_BUILDKEY="07"
+PBI_BUILDKEY="08"
 PBI_AB_PRIORITY="00"
 PBI_AB_NOTMPFS="NO"
 

Modified: pbi/modules/devel/arduino/scripts/pre-remove.sh
===================================================================
--- pbi/modules/devel/arduino/scripts/pre-remove.sh	2013-03-25 15:42:33 UTC (rev 21961)
+++ pbi/modules/devel/arduino/scripts/pre-remove.sh	2013-03-25 16:21:50 UTC (rev 21962)
@@ -3,3 +3,9 @@
 #unload the additional arduino driver
 echo "Unloading the uarduno kernel module..."
 kldunload uarduno
+rm /boot/modules/uarduno.ko
+
+#Now remove this driver from loader.conf
+cp /boot/loader.conf /boot/loader.conf.orig
+cat /boot/loader.conf | grep -v "uarduno_load" > /tmp/loader.conf
+mv /tmp/loader.conf /boot/loader.conf



More information about the Commits mailing list