From 6ab37b3286a224e6f3672a08e2b5e0062f332c24 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 13 Apr 2023 08:34:38 -0400 Subject: [PATCH] +libudev-dev to linux pre-reqs --- README.md | 2 +- install-pre-reqs.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7508f005..a625646a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ * [`install.sh`](./install.sh) is delivered when you `curl tea.xyz`. * This repository also provides the `tea` GitHub Action. -# GitHub Action 0.15.3 +# GitHub Action 0.16.0 ```yaml - uses: teaxyz/setup@v0 diff --git a/install-pre-reqs.sh b/install-pre-reqs.sh index 2364dd3b..4d414953 100755 --- a/install-pre-reqs.sh +++ b/install-pre-reqs.sh @@ -9,6 +9,9 @@ if test -f /etc/debian_version; then # https://packages.debian.org/buster/all/netbase/filelist COMMON="netbase" + # difficult to pkg in our opinion + COMMON="libudev-dev $COMMON" + case $(cat /etc/debian_version) in jessie/sid|8.*|stretch/sid|9.*) apt-get --yes install libc-dev libstdc++-4.8-dev libgcc-4.7-dev $COMMON;; @@ -17,7 +20,7 @@ if test -f /etc/debian_version; then bullseye/sid|11.*) apt-get --yes install libc-dev libstdc++-10-dev libgcc-9-dev $COMMON;; bookworm/sid|12.*|*) - apt-get --yes install libc-dev libstdc++-11-dev libgcc-10-dev $COMMON;; + apt-get --yes install libc-dev libstdc++-11-dev libgcc-11-dev $COMMON;; esac elif test -f /etc/fedora-release; then yum --assumeyes install libatomic