summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2015-08-16 12:23:27 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-16 12:23:27 (EDT)
commit20614bf4f94f6d6e63d2a43e948e59a7720dc83e (patch)
tree76307cddee828544bd2d6d5cc7eb2ab505989127 /resources/scripts/helpers
parent09697c3a0b079e4bbdbd518e4933c97dbeb6e8ec (diff)
downloadlibreboot-20614bf4f94f6d6e63d2a43e948e59a7720dc83e.zip
libreboot-20614bf4f94f6d6e63d2a43e948e59a7720dc83e.tar.gz
libreboot-20614bf4f94f6d6e63d2a43e948e59a7720dc83e.tar.bz2
build/dependencies/parabola: skip already installed packages
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/build/dependencies/parabola26
1 files changed, 13 insertions, 13 deletions
diff --git a/resources/scripts/helpers/build/dependencies/parabola b/resources/scripts/helpers/build/dependencies/parabola
index 63629b7..692fdf7 100755
--- a/resources/scripts/helpers/build/dependencies/parabola
+++ b/resources/scripts/helpers/build/dependencies/parabola
@@ -34,36 +34,36 @@ fi
# This is so that they can moved to separate scripts.
#
-pacman -S wget
+pacman -S --needed wget
# For downloading source code
# ------------------------------------------------------------
printf "Source Code: In order to download the it, subversion and git is needed\n"
-pacman -S subversion git
+pacman -S --needed subversion git
# For building source code:
# ------------------------------------------------------------
printf "Building Source Code: development packages\n"
-pacman -S base-devel libstdc++5
+pacman -S --needed base-devel libstdc++5
pacman -S arm-none-eabi-gcc
-pacman -S libpciaccess
+pacman -S --needed libpciaccess
# For cross-compiling i686 target on x86_64 host.
if [ $(uname -i) = "x86_64" ] || [ $(uname -m) = "x86_64" ]
then
printf "Cross-Compiling: You are running on 64-bit architecture, however 32-bit libraries are needed\n"
- pacman -Sl multilib 1&>/dev/null || (printf "You must enable the multilib repository in /etc/pacman.conf first\n"; exit 1)
+ pacman -Sl --needed multilib 1&>/dev/null || (printf "You must enable the multilib repository in /etc/pacman.conf first\n"; exit 1)
pacman -S --needed gcc{,-libs}-multilib lib32-{lib{ltdl,pciaccess,stdc++5},glibc,fakeroot}
fi
# Memtest86+ build dependencies
# ------------------------------------------------------------
-# pacman -S base-devel
+# pacman -S --needed base-devel
# i945-pwm build dependencies
# ------------------------------------------------------------
@@ -81,29 +81,29 @@ pacman -S ncurses doxygen iasl gdb flex bison
if [ $(uname -i) = "x86_64" ] || [ $(uname -m) = "x86_64" ]
then
printf "Cross-Compiling: You are running on 64-bit architecture, however 32-bit libraries are needed\n"
- pacman -S lib32-ncurses
+ pacman -S --needed lib32-ncurses
fi
# GRUB build dependencies (also requires build-essential, bison and flex)
# ------------------------------------------------------------
-# pacman -S base-devel bison flex
+# pacman -S --needed base-devel bison flex
printf "GRUB: Fonts, (crypto) filesystem support, automake, etc.\n"
-pacman -S autogen m4 autoconf help2man freetype2 automake fuse fuse-exfat xz gawk device-mapper libtool python
-pacman -S bdf-unifont # trying this, otherwise there was an error. I'll try AUR if this won't work.
+pacman -S --needed autogen m4 autoconf help2man freetype2 automake fuse fuse-exfat xz gawk device-mapper libtool python
+pacman -S --needed bdf-unifont # trying this, otherwise there was an error. I'll try AUR if this won't work.
# BucTS build dependencies (external script)
# ------------------------------------------------------------
-# pacman -S base-devel
+# pacman -S --needed base-devel
# Flashrom build dependencies (also requires build-essential and subversion)
# ------------------------------------------------------------
printf "Flashrom: Your external programmer will be most probably using PCI bus, FTDI chips need additional libraries\n"
-pacman -S pciutils zlib libftdi libftdi-compat
-# pacman -S base-devel subversion
+pacman -S --needed pciutils zlib libftdi libftdi-compat
+# pacman -S --needed base-devel subversion
# ------------------- DONE ----------------------