[PC-BSD Commits] r19638 - in pbi/modules/emulators/virtualbox-ose: . scripts

svn at pcbsd.org svn at pcbsd.org
Wed Oct 10 13:50:04 PDT 2012


Author: kris
Date: 2012-10-10 20:50:04 +0000 (Wed, 10 Oct 2012)
New Revision: 19638

Modified:
   pbi/modules/emulators/virtualbox-ose/pbi.conf
   pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh
Log:

Fix bug with VB PBI



Modified: pbi/modules/emulators/virtualbox-ose/pbi.conf
===================================================================
--- pbi/modules/emulators/virtualbox-ose/pbi.conf	2012-10-10 19:18:59 UTC (rev 19637)
+++ pbi/modules/emulators/virtualbox-ose/pbi.conf	2012-10-10 20:50:04 UTC (rev 19638)
@@ -31,7 +31,7 @@
 PBI_MKPORTAFTER="devel/qt4"
 
 # Set the build key
-PBI_BUILDKEY="22"
+PBI_BUILDKEY="23"
 
 # This app needs to install as root
 PBI_REQUIRESROOT="YES"

Modified: pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh
===================================================================
--- pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh	2012-10-10 19:18:59 UTC (rev 19637)
+++ pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh	2012-10-10 20:50:04 UTC (rev 19638)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
-FBSDVER=`uname -r | cut -d '-' -f 1`
+# Better detection in case host isn't same as chroot
+FBSDVER=`file /bin/sh | cut -d "," -f 5 | awk '{print $3}'`
+#FBSDVER=`uname -r | cut -d '-' -f 1`
 
 # Copy over the virtualbox X.0 modules we need
 cp -R /boot/modules ${PBI_PROGDIRPATH}/modules$FBSDVER



More information about the Commits mailing list