Diff of /sdcard/setup.sh [3f61fa] .. [05165e] Maximize Restore

  Switch to side-by-side view

--- a/sdcard/setup.sh
+++ b/sdcard/setup.sh
@@ -10,6 +10,9 @@
 mkdir lejosfs/home/lejos/programs 2> /dev/null
 mkdir $LJHOME/lib 2> /dev/null
 mkdir $LJHOME/libjna 2> /dev/null
+mkdir $LJHOME/libjna/usr 2> /dev/null
+mkdir $LJHOME/libjna/usr/share 2> /dev/null
+mkdir $LJHOME/libjna/usr/share/java 2> /dev/null
 mkdir $LJHOME/mod 2> /dev/null
 mkdir $LJHOME/btcache 2> /dev/null
 mkdir $LJHOME/samples 2> /dev/null
@@ -27,7 +30,7 @@
 mkdir $img/mod
 cp ../modules/lms2012/bin/* $img/mod
 cp external/wpa_supplicant $img/$LJHOME/bin
-dpkg-deb -x external/libjna* $img/libjna
+#dpkg-deb -x external/libjna* $img/libjna
 dpkg-deb -x external/libffi* $img/libjna
 dpkg-deb -x external/firmware-brcm80211* $img/firmware
 dpkg-deb -x external/firmware-libertas* $img/firmware
@@ -36,6 +39,7 @@
 cd $img/lejosfs
 dpkg-deb --fsys-tarfile ../../external/bridge-utils* | tar x ./usr/sbin/brctl
 cd ../..
+cp ${LJGIT}/jna*/jnalib/build/jna.jar $img
 cp ${LJGIT}/ev3classes/ev3classes.jar $img
 cp ${LJGIT}/DBusJava/dbusjava.jar $img
 cp ${LJGIT}/EV3Menu/dist/EV3Menu.jar $img/$LJHOME/bin/utils