seabios 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #!/bin/bash
  2. #
  3. # Copyright (C) 2015, 2016 Leah Rowe <info@minifree.org>
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. #
  18. # This script assumes that the working directory is the
  19. # root of libreboot_src or libreboot git.
  20. [ "x${DEBUG+set}" = 'xset' ] && set -v
  21. set -u -e
  22. # Get SeaBIOS, revert to commit last used and apply patches.
  23. # Remove the old version that may still exist
  24. # ------------------------------------------------------------------------------
  25. printf "Downloading SeaBIOS\n"
  26. rm -rf "seabios/"
  27. # Get latest SeaBIOS
  28. # ------------------------------------------------------------------------------
  29. # download it using git
  30. git clone git://git.seabios.org/seabios.git seabios
  31. (
  32. # modifications are required
  33. cd "seabios/"
  34. # Reset to the last commit that was tested (we use stable releases for seabios)
  35. # ------------------------------------------------------------------------------
  36. git reset --hard 19fdcca467ad3436d68ef88899b4dcd78154a9c6
  37. )