scripts: Install deps without confirmation
This makes `dep.sh` usable from CI. Also update the package lists before installing on debian/ubuntu. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
@@ -8,6 +8,7 @@ date followed by an underscore and a short git revision.
|
|||||||
|
|
||||||
- Updated CSME for TGL-H to 15.0.41.2158
|
- Updated CSME for TGL-H to 15.0.41.2158
|
||||||
- Updated CSME for TGL-U to 15.0.41.2158
|
- Updated CSME for TGL-U to 15.0.41.2158
|
||||||
|
- Changed build to use coreboot toolchain for edk2
|
||||||
|
|
||||||
## 2022-08-03
|
## 2022-08-03
|
||||||
|
|
||||||
|
@@ -13,7 +13,10 @@ source /etc/os-release
|
|||||||
|
|
||||||
msg "Installing system build dependencies"
|
msg "Installing system build dependencies"
|
||||||
if [[ "${ID}" =~ "debian" ]] || [[ "${ID_LIKE}" =~ "debian" ]]; then
|
if [[ "${ID}" =~ "debian" ]] || [[ "${ID_LIKE}" =~ "debian" ]]; then
|
||||||
sudo apt-get install \
|
sudo apt-get --quiet update
|
||||||
|
sudo apt-get --quiet install \
|
||||||
|
--no-install-recommends \
|
||||||
|
--assume-yes \
|
||||||
bison \
|
bison \
|
||||||
build-essential \
|
build-essential \
|
||||||
ccache \
|
ccache \
|
||||||
@@ -37,6 +40,7 @@ if [[ "${ID}" =~ "debian" ]] || [[ "${ID_LIKE}" =~ "debian" ]]; then
|
|||||||
elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then
|
elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then
|
||||||
sudo dnf group install c-development
|
sudo dnf group install c-development
|
||||||
sudo dnf install \
|
sudo dnf install \
|
||||||
|
--assumeyes \
|
||||||
ccache \
|
ccache \
|
||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
@@ -56,6 +60,7 @@ elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then
|
|||||||
zlib-devel
|
zlib-devel
|
||||||
elif [[ "${ID}" =~ "arch" ]] || [[ "${ID_LIKE}" =~ "arch" ]]; then
|
elif [[ "${ID}" =~ "arch" ]] || [[ "${ID_LIKE}" =~ "arch" ]]; then
|
||||||
sudo pacman -S \
|
sudo pacman -S \
|
||||||
|
--no-confirm \
|
||||||
bison \
|
bison \
|
||||||
ccache \
|
ccache \
|
||||||
cmake \
|
cmake \
|
||||||
|
Reference in New Issue
Block a user