2024-12-27 14:01:07 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
lib.sh dependencies: support --reinstall argument
./mk dependencies debian --reinstall
Add --reinstall and it'll do:
apt-get install --reinstall
This can be useful when updating from a stable release
to a testing release. The variable, "reinstall" can be
configured for other distros, but it's currently only
configured for Debian-based distros.
Also, it can be anything. For example, you could add -y;
however, a 4th argument will not be accepted. For example,
you cannot do:
./mk dependencies debian --reinstall -y
If you do this, it'll only see --reinstall; similarly, if
you did this command:
./mk dependencies debian -y --reinstall
then -y would be passed, but not --reinstall. This is an
intentional design decision, in case you accidentally pasted
or subshelled something that outputted something undesirable,
to prevent possible abuse.
Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-12-30 21:53:55 +00:00
|
|
|
pkg_add="apt-get install $reinstall"
|
2023-08-20 20:17:02 +00:00
|
|
|
pkglist=" \
|
2023-10-19 15:03:11 +00:00
|
|
|
acpica-tools autoconf autogen automake autopoint autotools-dev bc \
|
|
|
|
binutils-arm-none-eabi bison build-essential cmake curl device-tree-compiler \
|
|
|
|
doxygen e2fsprogs efitools flex fonts-unifont gawk gcc-arm-linux-gnueabi \
|
|
|
|
gcc-arm-none-eabi gdb gettext git gnat help2man innoextract libdevmapper-dev \
|
2024-01-27 21:47:30 +00:00
|
|
|
libfdt-dev libfont-freetype-perl libfreetype-dev libftdi-dev libftdi1-dev libfuse-dev \
|
|
|
|
libjaylink-dev libgnutls28-dev libgpiod-dev liblz4-tool liblzma-dev libncurses5-dev
|
|
|
|
libncurses-dev libnewlib-arm-none-eabi libopts25 libopts25-dev libpci-dev libpython3-dev \
|
2023-10-19 15:03:11 +00:00
|
|
|
libsdl2-dev libselinux1-dev libssl-dev libtool libusb-1.0 libusb-1.0-0-dev \
|
|
|
|
libusb-dev lz4 lzma lzma-alone m4 nasm openssl p7zip p7zip-full parted pciutils \
|
2024-12-27 13:58:29 +00:00
|
|
|
perl pkg-config python3 python3-distutils-extra python3-pkg-resources python3-pycryptodome \
|
2023-10-19 15:03:11 +00:00
|
|
|
python3-pyelftools python3-setuptools python-is-python3 sharutils swig unar \
|
2024-07-21 06:39:47 +00:00
|
|
|
unifont unifont-bin unzip uuid-dev wget xfonts-unifont zlib1g-dev ccache \
|
2024-12-01 05:45:06 +00:00
|
|
|
g++-mipsel-linux-gnu make genisoimage mtools \
|
2023-08-20 20:17:02 +00:00
|
|
|
"
|