code.fastix.org

Dateiansicht:

Datei:Projekte -> Linux:ubuntu-for-raspberry-installer -> rpi2-settings.sh
md5:4bc8acdf258fdbec7efa2657b4dfdc3f
sha1:a7c5ff6052ee05e12ac59f62ad08b727db660da1
  1. # To edit:
  2.  
  3. set -x
  4. RELEASE='trusty' # Only trusty (Ubuntu 14.04) will work at this time.
  5. UBUNTU_FIRST_USER='ubuntu'
  6. set +x #Do not show the password
  7. UBUNTU_FIRST_USER_PASS='#EDIT THIS#'
  8. set -x
  9. BUILD_HOSTNAME='ubuntu'
  10. EXTRA_SOFTWARE='htop mc openssh-server vim language-pack-de'
  11. #REMOVE_SOFTWARE='manpages'
  12. REMOVE_SOFTWARE='';
  13.  
  14. #WriteTo='mmcblk0'
  15. WriteTo='image'
  16. #WriteTo='nothing'
  17. # if you want to create a Harddisk (and a mmc as "BIOS", then show extra_files.sh
  18.  
  19. # The workdir:
  20. WORKDIR='/tmp'
  21. #http_proxy='http://x60:3142'
  22.  
  23. # the card-device to write
  24. INSTALL_DEVICE='/dev/mmcblk0';
  25.  
  26. # avtivate to install the firmware
  27. UPDATE_FIRMWARE='true'
  28. #UPDATE_FIRMWARE=''
  29. # The newest firmware has errors with a few of usb-devices, Yo can use a older Version
  30. # You have to activate UPDATE_FIRMWARE if you want to do this.
  31. #UPDATE_FIRMWARE_USB_SAVE='true'
  32. UPDATE_FIRMWARE_USB_SAVE=''
  33.  
  34. # Activate for USB-Devices mit higher power.consumption than 600mA.
  35. # In this case you must have minimum 2.1A ...
  36. Activate1_2AmpPowerOverUSB='true'
  37.  
  38.  
  39. #============================================================#
  40. #                                                            #
  41. #                     DO NOT(!) EDIT                         #
  42. #                                                            #
  43. #============================================================#
  44. set +x
  45. export WriteTo
  46. export RELEASE
  47. export WORKDIR
  48. export BASEDIR=`echo "${WORKDIR}/${RELEASE}" | sed  's#//#/#g'`
  49. export BUILDDIR="${BASEDIR}/build"
  50. export R=${BUILDDIR}/chroot
  51. export EXTRA_SOFTWARE
  52. export REMOVE_SOFTWARE
  53. export HTTP_PROXY=$http_proxy
  54. export UBUNTU_FIRST_USER
  55. export UBUNTU_FIRST_USER_PASS
  56. export BUILD_HOSTNAME
  57. export INSTALL_DEVICE
  58. set -x