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

svn at pcbsd.org svn at pcbsd.org
Mon Mar 18 07:28:39 PDT 2013


Author: kenmoore
Date: 2013-03-18 14:28:38 +0000 (Mon, 18 Mar 2013)
New Revision: 21893

Modified:
   pbi/modules/devel/arduino/pbi.conf
   pbi/modules/devel/arduino/scripts/pre-pbicreate.sh
Log:
Fix up the devel/arduino script to copy the uarduno kernel module into the PBI



Modified: pbi/modules/devel/arduino/pbi.conf
===================================================================
--- pbi/modules/devel/arduino/pbi.conf	2013-03-18 09:22:21 UTC (rev 21892)
+++ pbi/modules/devel/arduino/pbi.conf	2013-03-18 14:28:38 UTC (rev 21893)
@@ -16,7 +16,7 @@
 # -- Require Root Permissions to Install PBI --
 PBI_REQUIRESROOT="YES"
 # -- Auto-build Configuration Options --
-PBI_BUILDKEY="06"
+PBI_BUILDKEY="07"
 PBI_AB_PRIORITY="00"
 PBI_AB_NOTMPFS="NO"
 

Modified: pbi/modules/devel/arduino/scripts/pre-pbicreate.sh
===================================================================
--- pbi/modules/devel/arduino/scripts/pre-pbicreate.sh	2013-03-18 09:22:21 UTC (rev 21892)
+++ pbi/modules/devel/arduino/scripts/pre-pbicreate.sh	2013-03-18 14:28:38 UTC (rev 21893)
@@ -12,4 +12,6 @@
 
 #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
+KMOD=`find /boot | grep -v kernel | grep uarduno.ko`
+echo "Found uarduno.ko: ${KMOD}"
+cp ${KMOD} ${PBI_PROGDIRPATH}/kmod/uarduno.ko



More information about the Commits mailing list