parabola 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #!/usr/bin/env sh
  2. # parabola script: installs build dependencies for Parabola GNU/Linux-libre
  3. # based on the arch script
  4. #
  5. # Copyright (C) 2021 Melissa Goad <mszoopers@protonmail.com>
  6. # Copyright (C) 2022 Caleb La Grange <thonkpeasant@protonmail.com>
  7. # Copyright (C) 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
  8. # Copyright (C) 2023 Andreas Hartmann <andreas@ohok.org>
  9. # Copyright (C) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
  10. #
  11. # This program is free software: you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation, either version 3 of the License, or
  14. # (at your option) any later version.
  15. #
  16. # This program is distributed in the hope that it will be useful,
  17. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. # GNU General Public License for more details.
  20. #
  21. # You should have received a copy of the GNU General Public License
  22. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  23. #
  24. if [ "$(id -u)" -ne 0 ]; then
  25. printf "This script must be run as root\n"
  26. exit 1
  27. fi
  28. # Duplications are intentional. Please do not re-factor.
  29. #
  30. # This is so that they can moved to separate scripts.
  31. #
  32. pacman -S --needed --noconfirm wget
  33. # For downloading source code
  34. # ------------------------------------------------------------
  35. pacman -S --needed --noconfirm git
  36. # For Tianocore and iPXE
  37. # TODO: check whether this is the full list
  38. pacman -S --needed --noconfirm nasm perl-libwww python subversion
  39. # For building source code:
  40. # ------------------------------------------------------------
  41. pacman -S --needed --noconfirm base-devel
  42. # for running the crostool script (to get mrc.bin file for t440p)
  43. pacman -S --needed --noconfirm sharutils curl parted e2fsprogs unzip
  44. # for cross-compiling ARM binaries
  45. pacman -S --needed --noconfirm arm-none-eabi-gcc
  46. # Memtest86+ build dependencies
  47. # ------------------------------------------------------------
  48. pacman -S --needed --noconfirm base-devel python
  49. # i945-pwm build dependencies
  50. # ------------------------------------------------------------
  51. pacman -S --needed --noconfirm base-devel perl
  52. # Coreboot build dependencies (also requires build-essential and git)
  53. # ------------------------------------------------------------
  54. pacman -S --needed --noconfirm ncurses doxygen acpica gdb flex bison base-devel git openssl gcc-ada
  55. # GRUB build dependencies (also requires build-essential, bison and flex)
  56. # ------------------------------------------------------------
  57. pacman -S --needed --noconfirm autogen help2man base-devel bison flex ttf-dejavu texinfo rsync python libusb xz gawk device-mapper fuse2 gettext freetype2
  58. # BucTS build dependencies (external script)
  59. # ------------------------------------------------------------
  60. pacman -S --needed --noconfirm base-devel
  61. # Flashrom build dependencies (also requires build-essential)
  62. # ------------------------------------------------------------
  63. pacman -S --needed --noconfirm libpciaccess pciutils zlib libftdi base-devel libusb
  64. # Management engine extraction dependencies
  65. #
  66. # ------------------------------------------------------------
  67. pacman -S --needed --noconfirm innoextract p7zip
  68. # U-Boot build dependencies
  69. # ------------------------------------------------------------
  70. pacman -S --needed --noconfirm swig dtc
  71. # Unifont, for GRUB
  72. # ------------------------------------------------------------
  73. pacman -S --needed --noconfirm unifont-utils bdf-unifont