Skip to content

Commit 400cf02

Browse files
committed
Fix Debian support in scripts
This updates the `scripts/coreboot-sdk.sh` dependency-install branch for Ubuntu to also work for Debian, which it does. Also, now that Debian Stable (Trixie) includes a `rustup` package, this adds that to the `scripts/install-deps.sh` branch for Debian, in line with other supported distros.
1 parent 17fd26c commit 400cf02

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/coreboot-sdk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ elif [ "$ID" = "fedora" ] || [[ "$ID_LIKE" =~ "fedora" ]]; then
3939
tar \
4040
xz \
4141
zlib-devel
42-
elif [ "$ID" = "ubuntu" ] || [[ "$ID_LIKE" =~ "debian" ]]; then
42+
elif [ "$ID" = "debian" ] || [ "$ID" = "ubuntu" ] || [[ "$ID_LIKE" =~ "debian" ]]; then
4343
sudo apt-get --quiet update
4444
sudo apt-get --quiet install --no-install-recommends --assume-yes \
4545
bison \

scripts/install-deps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ if [[ "${ID}" =~ "debian" ]] || [[ "${ID_LIKE}" =~ "debian" ]]; then
3333
patch \
3434
pkgconf \
3535
python-is-python3 \
36+
rustup \
3637
tar \
3738
uuid-dev \
3839
xz-utils \

0 commit comments

Comments
 (0)